Index: branches/src/ProcessManagement/ProcessManagement/Common/CommonMotions.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Common/CommonMotions.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Common/CommonMotions.cs	(revision 355)
@@ -3291,7 +3291,7 @@
         /// <summary>
         /// é�¸æŠžè¡Œã�®è‰²ã‚’å¤‰æ›´ã�™ã‚‹
         /// </summary>
-        public static void ChangeGridRow(DataGridView dgv
+        public static void ChangeGridRow(DataGridViewEX dgv
                                         , DataGridViewRow CurRow
                                         , ref GridCellStyleMember[] BackUpStyle
                                         , bool bSelect = true)
@@ -3512,7 +3512,7 @@
                 strSQL.AppendFormat(" AND(DATE('{0}') <= DATE(B.CompDate)", dtDefaultStart.ToShortDateString());
                 strSQL.AppendFormat(" OR DATE('{0}') = DATE(B.CompDate)))", DateTime.MinValue.ToShortDateString());
 
-                if (nDepCode != 0) strSQL.AppendFormat(" AND (B.DEPARTMENTCODE = {0})", nDepCode);
+                if (nDepCode > 0) strSQL.AppendFormat(" AND (B.DEPARTMENTCODE = {0})", nDepCode);
 
                 if (nLEDGERFLG == -1) strSQL.AppendFormat(" AND A.LEDGERFLG = {0}", (int)PersonInChargeMaster.LedgerDivNoDef.CalcTarget);
                 else if (nLEDGERFLG > -1) strSQL.AppendFormat(" AND A.LEDGERFLG = {0}", nLEDGERFLG);
Index: branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs	(revision 355)
@@ -14,7 +14,7 @@
         /// <summary>
         /// æœ¬ä½“ãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³
         /// </summary>
-        public static int s_SystemVersion = 206;
+        public static int s_SystemVersion = 208;
 
         /// <summary>
         /// ã‚³ãƒ”ãƒ¼ãƒ»ç’°å¢ƒãƒ�ãƒ¼ã‚¸ãƒ§ãƒ³
Index: branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsExcute.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsExcute.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsExcute.cs	(revision 355)
@@ -90,6 +90,7 @@
             SafetyPatrol = 43,                  // 43:å®‰å…¨ãƒ‘ãƒˆãƒ­ãƒ¼ãƒ«ç”³è«‹
             ReqSumTotalList = 44,               // 44:æ‰‹é–“ãƒ»é€šå¸¸æ¥­è€…ä¸€è¦§
             RequestPrintList = 45,              // 45:è«‹æ±‚æ›¸å�°åˆ·ä¸€è¦§
+            DepartmentCost = 46,                // 46:éƒ¨ç½²å‡ºç´�å¸³
         }
         #endregion
 
@@ -203,6 +204,7 @@
                                                                                 { (int)ProcessExecuteNo.SafetyPatrol,           "å®‰å…¨ãƒ‘ãƒˆãƒ­ãƒ¼ãƒ«ç”³è«‹"},
                                                                                 { (int)ProcessExecuteNo.ReqSumTotalList,        "æ‰‹é–“ãƒ»é€šå¸¸æ¥­è€…ä¸€è¦§ï¼�è¡¨ç¤º"},
                                                                                 { (int)ProcessExecuteNo.RequestPrintList,       "è«‹æ±‚æ›¸å�°åˆ·ä¸€è¦§ï¼�è¡¨ç¤º"},
+                                                                                { (int)ProcessExecuteNo.DepartmentCost,         "éƒ¨ç½²å‡ºç´�å¸³" },
         };
 
         #endregion
@@ -686,6 +688,9 @@
                             ProcessExecuteNo_RequestPrintList(m_ProcControlPara[NowPoint]);
                             break;
 
+                        case (int)ProcessExecuteNo.DepartmentCost:                      // 46:éƒ¨ç½²å‡ºç´�å¸³
+                            ProcessExecuteNo_DepartmentCost(m_ProcControlPara[NowPoint]);
+                            break;
                             #endregion
 
                         #region ãƒžã‚¹ã‚¿ãƒ¡ãƒ³ãƒ†
@@ -1238,10 +1243,15 @@
                     }
                 }
 
-                // ç›´æŽ¥è¡¨ç¤ºãƒ•ãƒ©ã‚°ã�®ã‚»ãƒƒãƒˆ
                 if (CurrentPara.BoolExecParameter.Count > 0)
                 {
+                    // ç›´æŽ¥è¡¨ç¤ºãƒ•ãƒ©ã‚°ã�®ã‚»ãƒƒãƒˆ
                     frm.DirectFlg = CurrentPara.BoolExecParameter[0];
+                    if (CurrentPara.BoolExecParameter.Count > 1)
+                    {
+                        /// æ–°è¦�ç”³è«‹ãƒ•ãƒ©ã‚°
+                        frm.NewApprovalFlg = CurrentPara.BoolExecParameter[1];
+                    }
                 }
 
                 // ãƒ•ã‚©ãƒ¼ãƒ è¡¨ç¤º
@@ -2731,7 +2741,34 @@
             }
         }
         #endregion
+
+        #region éƒ¨ç½²å‡ºç´�å¸³
+        /// <summary>
+        /// éƒ¨ç½²å‡ºç´�å¸³
+        /// </summary>
+        /// <returns></returns>
+        public static void ProcessExecuteNo_DepartmentCost(ProcessParameter CurrentPara)
+        {
+            //ã€€éƒ¨ç½²å‡ºç´�å¸³ä¸€è¦§
+            FrmDepCost frm = new FrmDepCost();
+            try
+            {
+                // ãƒ•ã‚©ãƒ¼ãƒ è¡¨ç¤º
+                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/Common/Process/ClsSecurityPermission.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsSecurityPermission.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsSecurityPermission.cs	(revision 355)
@@ -716,12 +716,11 @@
                 {
                     foreach (ProcessExcute CurRec in CommonMotions.LoginUserProcExe)
                     {
-                        if (ExecCode == CurRec.ExecCode)
-                        {
-                            bRet = true;
-                            Editflg = CurRec.EditFlg;
-                            break;
-                        }
+                        if (ExecCode != CurRec.ExecCode) continue;
+
+                        bRet = true;
+                        Editflg = CurRec.EditFlg;
+                        break;
                     }
                 }
                 else
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOCostDataOfDepartment.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOCostDataOfDepartment.cs	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOCostDataOfDepartment.cs	(revision 355)
@@ -0,0 +1,460 @@
+ï»¿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Collections;
+
+using log4net;
+using MySql.Data.MySqlClient;           // Data Provider for MySql
+
+using ProcessManagement.DB.MySql;
+using ProcessManagement.DB.Core;
+using ProcessManagement.DataModel;
+using ProcessManagement.Common;
+
+namespace ProcessManagement.DB.IOAccess
+{
+    /// <summary>
+    /// éƒ¨ç½²æ¯ŽçµŒè²»ãƒ‡ãƒ¼ã‚¿ï¼¤ï¼¢ã‚¢ã‚¯ã‚»ã‚¹
+    /// </summary>
+    public class IOCostDataOfDepartment : MySqlProcess
+    {
+        #region å®šç¾©éƒ¨
+        /// <summary>
+        /// log4netãƒ­ã‚°ã‚’ä½¿ç”¨ã�™ã‚‹
+        /// </summary>
+        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region å®šæ•°
+        /// <summary>
+        /// éƒ¨ç½²æ¯ŽçµŒè²»ãƒ‡ãƒ¼ã‚¿ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ä¸¦ã�³
+        /// </summary>
+        public enum TableColumn
+        {
+            DepartmentCode = 0, // éƒ¨ç½²ã‚³ãƒ¼ãƒ‰
+            ConstrYear,         // å·¥äº‹æœŸæ•°ãƒ»å¹´æ•°
+            SeqNo,              // ãƒ‡ãƒ¼ã‚¿ç•ªå�·
+            CostDate,           // å¯¾è±¡æ—¥ä»˜
+            DepartmentName,     // éƒ¨ç½²å��
+            SuppliersCode,      // å‡ºç´�å…ˆã‚³ãƒ¼ãƒ‰
+            SuppliersName,      // å‡ºç´�å…ˆå��ç§°
+            PaymentContent,     // å‡ºç´�å†…å®¹
+            SendReceiveFlg,     // å‡ºç´�ãƒ•ãƒ©ã‚°
+            EntryPrice,	        // é‡‘é¡�ï¼ˆç¨ŽæŠœï¼‰
+            EntryTax,           // é‡‘é¡�ï¼ˆç¨Žè¾¼ï¼‰
+            Coment,             // å‚™è€ƒ
+
+            EntryDate,
+            UpdateDate,
+        }
+        #endregion
+
+        #region ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
+        /// <summary>
+        /// ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
+        /// </summary>
+        /// <param name="ConnectionString"></param>
+        public IOCostDataOfDepartment()
+            : base(DBCommon.Instance.DBConnectString)
+        {
+        }
+
+        #endregion
+
+        #region SQLä½œæˆ�
+        /// <summary>
+        /// SQLä½œæˆ�
+        /// </summary>
+        private string CreateSelectSQL()
+        {
+            // SQLä½œæˆ�
+            StringBuilder strcmd = new StringBuilder();
+            strcmd.Append("SELECT");
+
+            bool bColFirst = true;
+            string strWork = string.Empty;
+            foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+            {
+                strWork = gender.ToString();
+                if (!bColFirst) strcmd.Append(",");
+                if (strWork.Equals("EntryDate") || strWork.Equals("UpdateDate"))
+                {
+                    strcmd.AppendFormat(" DATE_FORMAT({0}, '%Y/%m/%d %H:%i:%s')", strWork);
+                }
+                else if (strWork.Equals("CostDate"))
+                {
+                    strcmd.AppendFormat(" DATE_FORMAT({0}, '%Y/%m/%d')", strWork);
+                }
+                else
+                {
+                    strcmd.AppendFormat(" {0}", strWork);
+                }
+                bColFirst = false;
+            }
+
+            strcmd.Append(" FROM CostDataOfDepartment");
+
+            return strcmd.ToString();
+        }
+        #endregion
+
+        #region è¤‡æ•°èª­è¾¼ã�¿å‡¦ç�†
+        public bool SelectAction(string AddSQLString, ref List<CostDataOfDepartment> data, bool bConnect = true)
+        {
+            // ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ãƒ¼ã‚¹
+            StringBuilder strcmd = new StringBuilder();
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                // SQLä½œæˆ�
+                strcmd.Append(CreateSelectSQL());
+                strcmd.Append(AddSQLString);
+
+                // SQLå®Ÿè¡Œ
+                if (!ExecuteReader(strcmd.ToString(), ref arData, bConnect)) return false;
+
+                // ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
+                foreach (object[] objwrk in arData)
+                {
+                    CostDataOfDepartment work = new CostDataOfDepartment();
+                    Reader2Struct(objwrk, ref work);
+                    data.Add(work);
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1ä»¶èª­è¾¼ã�¿å‡¦ç�†
+        public bool SelectAction(string AddSQLString, ref CostDataOfDepartment data, bool bConnect = true)
+        {
+            // ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ãƒ¼ã‚¹
+            StringBuilder strcmd = new StringBuilder();
+            ArrayList arData = new ArrayList();
+
+            try
+            {
+                strcmd.Append(CreateSelectSQL());
+                strcmd.Append(AddSQLString);
+
+                // SQLå®Ÿè¡Œ
+                if (!ExecuteReader(strcmd.ToString(), ref arData, bConnect)) return false;
+                if (arData.Count == 0) return false;
+
+                // ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
+                foreach (object[] objwrk in arData)
+                {
+                    Reader2Struct(objwrk, ref data);
+                    break;
+                }
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
+                return false;
+            }
+        }
+        #endregion
+
+        #region 1ä»¶è¿½åŠ å‡¦ç�†
+        /// <summary>
+        /// éƒ¨ç½²æ¯ŽçµŒè²»ãƒ‡ãƒ¼ã‚¿è¿½åŠ 
+        /// </summary>
+        /// <param name="data">éƒ¨ç½²æ¯ŽçµŒè²»ãƒ‡ãƒ¼ã‚¿ãƒ‡ãƒ¼ã‚¿</param>
+        /// <returns>trueï¼šæˆ�åŠŸ falseï¼šå¤±æ•—</returns>
+        public bool InsertAction(CostDataOfDepartment work, bool bConnect = true)
+        {
+            StringBuilder strcmd = new StringBuilder();
+            try
+            {
+                bool bColFirst = true;
+                strcmd.Append("INSERT INTO CostDataOfDepartment");
+                strcmd.Append(" (");
+                foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                {
+                    if (!bColFirst) strcmd.Append(", ");
+                    strcmd.Append(gender.ToString());
+                    bColFirst = false;
+                }
+                strcmd.Append(") VALUES (");
+
+                strcmd.AppendFormat("  {0}", work.DepartmentCode);                  // éƒ¨ç½²ã‚³ãƒ¼ãƒ‰
+                strcmd.AppendFormat(", {0}", work.ConstrYear);                      // å·¥äº‹æœŸæ•°ãƒ»å¹´æ•°
+                strcmd.AppendFormat(", {0}", work.SeqNo);                           // ãƒ‡ãƒ¼ã‚¿ç•ªå�·
+                strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                            , work.CostDate.ToShortDateString());   // å¯¾è±¡æ—¥ä»˜
+                strcmd.AppendFormat(",'{0}'", work.DepartmentName);                 // éƒ¨ç½²å��ç§°
+
+                strcmd.AppendFormat(", {0}", work.SuppliersCode);                   // å‡ºç´�å…ˆã‚³ãƒ¼ãƒ‰
+                strcmd.AppendFormat(",'{0}'", work.SuppliersName);                  // å‡ºç´�å…ˆå��ç§°
+                strcmd.AppendFormat(",'{0}'", work.PaymentContent);                 // å‡ºç´�å†…å®¹
+                strcmd.AppendFormat(", {0}", work.SendReceiveFlg);                  // å‡ºç´�ãƒ•ãƒ©ã‚°
+                strcmd.AppendFormat(", {0}", work.EntryPrice);	                    // é‡‘é¡�ï¼ˆç¨ŽæŠœï¼‰
+                strcmd.AppendFormat(", {0}", work.EntryTax);	                    // é‡‘é¡�ï¼ˆç¨Žè¾¼ï¼‰
+                strcmd.AppendFormat(",'{0}'", work.Coment);	                        // å‚™è€ƒ
+
+                strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.EntryDate);
+                strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.UpdateDate);
+                strcmd.Append(")");
+
+                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
+                return false;
+            }
+        }
+        #endregion
+
+        #region è¤‡æ•°è¿½åŠ å‡¦ç�†
+        public bool InsertAction(List<CostDataOfDepartment> data, bool bConnect = true)
+        {
+            StringBuilder strcmd = new StringBuilder();
+            try
+            {
+                bool bColFirst = true;
+                strcmd.Append("INSERT INTO CostDataOfDepartment");
+                strcmd.Append(" (");
+                foreach (var gender in Enum.GetValues(typeof(TableColumn)))
+                {
+                    if (!bColFirst) strcmd.Append(", ");
+                    strcmd.Append(gender.ToString());
+                    bColFirst = false;
+                }
+                strcmd.Append(") VALUES");
+
+                bool bDataFirst = true;
+                foreach (CostDataOfDepartment work in data)
+                {
+                    if (bDataFirst) strcmd.Append(" (");
+                    else strcmd.Append(", (");
+
+                    strcmd.AppendFormat("  {0}", work.DepartmentCode);                  // éƒ¨ç½²ã‚³ãƒ¼ãƒ‰
+                    strcmd.AppendFormat(", {0}", work.ConstrYear);                      // å·¥äº‹æœŸæ•°ãƒ»å¹´æ•°
+                    strcmd.AppendFormat(", {0}", work.SeqNo);                           // ãƒ‡ãƒ¼ã‚¿ç•ªå�·
+                    strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d')"
+                                                , work.CostDate.ToShortDateString());   // å¯¾è±¡æ—¥ä»˜
+                    strcmd.AppendFormat(",'{0}'", work.DepartmentName);                 // éƒ¨ç½²å��ç§°
+                    strcmd.AppendFormat(", {0}", work.SuppliersCode);                   // å‡ºç´�å…ˆã‚³ãƒ¼ãƒ‰
+                    strcmd.AppendFormat(",'{0}'", work.SuppliersName);                  // å‡ºç´�å…ˆå��ç§°
+                    strcmd.AppendFormat(",'{0}'", work.PaymentContent);                 // å‡ºç´�å†…å®¹
+                    strcmd.AppendFormat(", {0}", work.SendReceiveFlg);                  // å‡ºç´�ãƒ•ãƒ©ã‚°
+                    strcmd.AppendFormat(", {0}", work.EntryPrice);	                    // é‡‘é¡�ï¼ˆç¨ŽæŠœï¼‰
+                    strcmd.AppendFormat(", {0}", work.EntryTax);	                    // é‡‘é¡�ï¼ˆç¨Žè¾¼ï¼‰
+                    strcmd.AppendFormat(",'{0}'", work.Coment);                         // å‚™è€ƒ
+
+                    strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.EntryDate);
+                    strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.UpdateDate);
+                    strcmd.Append(")");
+
+                    bDataFirst = false;
+                }
+
+                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
+                return false;
+            }
+        }
+        #endregion
+
+        #region æ›´æ–°å‡¦ç�†
+        /// <summary>
+        /// éƒ¨ç½²æ¯ŽçµŒè²»ãƒ‡ãƒ¼ã‚¿æ›´æ–°
+        /// </summary>
+        /// <param name="AddSQLString">æ›´æ–°æ�¡ä»¶SQLæ–‡å­—åˆ—</param>
+        /// <param name="data">éƒ¨ç½²æ¯ŽçµŒè²»ãƒ‡ãƒ¼ã‚¿ãƒ‡ãƒ¼ã‚¿</param>
+        /// <returns>trueï¼šæˆ�åŠŸ falseï¼šå¤±æ•—</returns>
+        public bool UpdateAction(string AddSQLString, CostDataOfDepartment data, bool bConnect = true)
+        {
+            StringBuilder strcmd = new StringBuilder();
+            try
+            {
+
+                strcmd.Append("UPDATE CostDataOfDepartment");
+
+                strcmd.Append(" SET");
+
+                strcmd.AppendFormat(" DepartmentCode = {0}", data.DepartmentCode);          // éƒ¨ç½²ã‚³ãƒ¼ãƒ‰
+                strcmd.AppendFormat(",ConstrYear = {0}", data.ConstrYear);                  // å·¥äº‹æœŸæ•°ãƒ»å¹´æ•°
+                strcmd.AppendFormat(",SeqNo = {0}", data.SeqNo);                            // ãƒ‡ãƒ¼ã‚¿ç•ªå�·
+                strcmd.AppendFormat(",CostDate = STR_TO_DATE('{0}','%Y/%m/%d')"
+                                        , data.CostDate.ToShortDateString());               // å¯¾è±¡æ—¥ä»˜
+                strcmd.AppendFormat(",DepartmentName = '{0}'", data.DepartmentName);        // éƒ¨ç½²å��ç§°
+                strcmd.AppendFormat(",SuppliersCode = {0}", data.SuppliersCode);            // å‡ºç´�å…ˆã‚³ãƒ¼ãƒ‰
+                strcmd.AppendFormat(",SuppliersName = '{0}'", data.SuppliersName);          // å‡ºç´�å…ˆå��ç§°
+                strcmd.AppendFormat(",PaymentContent = '{0}'", data.PaymentContent);        // å‡ºç´�å†…å®¹
+                strcmd.AppendFormat(",SendReceiveFlg = {0}", data.SendReceiveFlg);          // å‡ºç´�ãƒ•ãƒ©ã‚°
+                strcmd.AppendFormat(",EntryPrice = {0}", data.EntryPrice);                  // é‡‘é¡�ï¼ˆç¨ŽæŠœï¼‰
+                strcmd.AppendFormat(",EntryTax = {0}", data.EntryTax);                      // é‡‘é¡�ï¼ˆç¨Žè¾¼ï¼‰
+                strcmd.AppendFormat(",Coment = '{0}'", data.Coment);                        // å‚™è€ƒ
+
+                strcmd.Append(", UpdateDate = NOW()");
+                strcmd.Append(AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
+                return false;
+            }
+        }
+        #endregion
+
+        #region å‰Šé™¤å‡¦ç�†
+        /// <summary>
+        /// éƒ¨ç½²æ¯ŽçµŒè²»ãƒ‡ãƒ¼ã‚¿å‰Šé™¤
+        /// </summary>
+        /// <param name="AddSQLString">å‰Šé™¤æ�¡ä»¶SQLæ–‡å­—åˆ—</param>
+        /// <param name="data">éƒ¨ç½²æ¯ŽçµŒè²»ãƒ‡ãƒ¼ã‚¿ãƒ‡ãƒ¼ã‚¿</param>
+        /// <returns>trueï¼šæˆ�åŠŸ falseï¼šå¤±æ•—</returns>
+        public bool DeleteAction(string AddSQLString, bool bConnect = true)
+        {
+            // ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ãƒ¼ã‚¹
+            StringBuilder strcmd = new StringBuilder();
+            try
+            {
+                strcmd.AppendFormat("{0}{1}", "DELETE FROM CostDataOfDepartment", AddSQLString);
+
+                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
+
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
+                return false;
+            }
+        }
+        #endregion
+
+        #region ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆå‡¦ç�†
+        /// <summary>
+        /// MySQLDataReaderã‚ˆã‚Šæ§‹é€ ä½“ã�¸ã‚»ãƒƒãƒˆã�™ã‚‹
+        /// </summary>
+        /// <param name="reader">MySQLDataReader</param>
+        /// <param name="wrk">æ§‹é€ ä½“</param>
+        public void Reader2Struct(object[] objwrk, ref CostDataOfDepartment wrk)
+        {
+            try
+            {
+                // ãƒ‡ãƒ¼ã‚¿å�–å¾—
+                wrk.DepartmentCode = int.Parse(objwrk[(int)TableColumn.DepartmentCode].ToString());         // éƒ¨ç½²ã‚³ãƒ¼ãƒ‰
+                wrk.ConstrYear = int.Parse(objwrk[(int)TableColumn.ConstrYear].ToString());                 // å·¥äº‹æœŸæ•°ãƒ»å¹´æ•°
+                wrk.SeqNo = int.Parse(objwrk[(int)TableColumn.SeqNo].ToString());                           // ãƒ‡ãƒ¼ã‚¿ç•ªå�·
+                wrk.CostDate = DateTime.Parse(objwrk[(int)TableColumn.CostDate].ToString());                // å¯¾è±¡æ—¥ä»˜
+                wrk.DepartmentName = objwrk[(int)TableColumn.DepartmentName].ToString();                    // éƒ¨ç½²å��ç§°
+
+                wrk.SuppliersCode = int.Parse(objwrk[(int)TableColumn.SuppliersCode].ToString());           // å‡ºç´�å…ˆã‚³ãƒ¼ãƒ‰
+                wrk.SuppliersName = objwrk[(int)TableColumn.SuppliersName].ToString();                      // å‡ºç´�å…ˆå��ç§°
+                wrk.PaymentContent = objwrk[(int)TableColumn.PaymentContent].ToString();                    // å‡ºç´�å†…å®¹
+
+                wrk.SendReceiveFlg = int.Parse(objwrk[(int)TableColumn.SendReceiveFlg].ToString());         // å‡ºç´�ãƒ•ãƒ©ã‚°
+                wrk.EntryPrice = CommonMotions.cnvDouble(objwrk[(int)TableColumn.EntryPrice]);              // é‡‘é¡�ï¼ˆç¨ŽæŠœï¼‰
+                wrk.EntryTax = CommonMotions.cnvDouble(objwrk[(int)TableColumn.EntryTax]);                  // é‡‘é¡�ï¼ˆç¨Žè¾¼ï¼‰
+                wrk.Coment = objwrk[(int)TableColumn.Coment].ToString();                                    // å‚™è€ƒ
+
+                wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
+                wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
+            }
+            catch (MySqlException myex)
+            {
+                logger.ErrorFormat("ï¼­ï½™ï¼³ï¼±ï¼¬ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(2), myex.Message);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(2), ex.Message);
+            }
+        }
+        #endregion
+
+        #region æ¤œç´¢æ–‡å­—åˆ—ä½œæˆ�å‡¦ç�†
+        /// <summary>
+        /// ä¸»ã‚­ãƒ¼æ¤œç´¢ã�®æ–‡å­—åˆ—ã‚’è¿”ã�™
+        /// </summary>
+        /// <param name="DepartmentCode"></param>
+        /// <param name="CostDate"></param>
+        /// <param name="DataType"></param>
+        /// <param name="DataAddCount"></param>
+        /// <returns></returns>
+        public string CreatePrimarykeyString(int DepartmentCode, int ConstrYear = 0, int SeqNo = 0)
+        {
+            StringBuilder strWork = new StringBuilder();
+            try
+            {
+                strWork.AppendFormat(" WHERE DepartmentCode = {0}", DepartmentCode);
+                if (ConstrYear != 0)
+                    strWork.AppendFormat(" AND ConstrYear = {0}", ConstrYear);
+                if (SeqNo != 0)
+                    strWork.AppendFormat(" AND SeqNo = {0}", SeqNo);
+
+                return strWork.ToString();
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strWork.ToString());
+                return string.Empty;
+            }
+        }
+        #endregion
+
+        #region è¿½åŠ ç•ªå�·ã�®æœ€å¤§å€¤ã‚’å�–å¾—
+        /// <summary>
+        /// è¿½åŠ ç•ªå�·ã�®æœ€å¤§å€¤ã‚’å�–å¾—ã�™ã‚‹
+        /// </summary>
+        /// <param name="AddSQLString"></param>
+        /// <param name="bConnect"></param>
+        /// <returns></returns>
+        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
+        {
+            // ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ãƒ¼ã‚¹
+            StringBuilder strcmd = new StringBuilder();
+            ArrayList arData = new ArrayList();
+            int iRet = 0;
+            try
+            {
+                // SQLä½œæˆ�
+                strcmd.AppendFormat("SELECT IFNULL(MAX(SeqNo), 0) FROM CostDataOfDepartment{0}", AddSQLString);
+
+                // SQLå®Ÿè¡Œ
+                if (!ExecuteReader(strcmd.ToString(), ref arData, bConnect)) return iRet;
+
+                // ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
+                foreach (object[] objwrk in arData)
+                {
+                    if (objwrk[0].ToString().Equals("null"))
+                        iRet = 0;
+                    else
+                        iRet = int.Parse(objwrk[0].ToString());
+                }
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}ï¼š{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
+            }
+            return iRet;
+        }
+        #endregion
+    }
+}
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPurchaseOrderDetail.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPurchaseOrderDetail.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPurchaseOrderDetail.cs	(revision 355)
@@ -49,7 +49,7 @@
             SourceCode,             // å�°å¸³å·¥äº‹ç•ªå�·
             SourceDetailCnt,	    // å�°å¸³æ˜Žç´°ç•ªå�·
             DataTypeFlag,           // æ˜Žç´°è¡Œãƒ‡ãƒ¼ã‚¿ã‚¿ã‚¤ãƒ—ãƒ•ãƒ©ã‚°
-
+            StatutoryWelfareRate,   // æ³•å®šç¦�åˆ©è²»æ¯”çŽ‡
             EntryDate,
             UpdateDate,
         }
@@ -92,7 +92,7 @@
             strcmd.Append(", SourceCode");              // å�°å¸³å·¥äº‹ç•ªå�·
             strcmd.Append(", SourceDetailCnt");	        // å�°å¸³æ˜Žç´°ç•ªå�·
             strcmd.Append(", DataTypeFlag");            // æ˜Žç´°è¡Œãƒ‡ãƒ¼ã‚¿ã‚¿ã‚¤ãƒ—ãƒ•ãƒ©ã‚°
-
+            strcmd.Append(", StatutoryWelfareRate");    // æ³•å®šç¦�åˆ©è²»æ¯”çŽ‡
             strcmd.Append(", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')");
             strcmd.Append(", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')");
             strcmd.Append(" FROM PurchaseOrderDetail");
@@ -220,8 +220,8 @@
                 strcmd.AppendFormat(", {0}", work.SourceCode);              // å�°å¸³å·¥äº‹ç•ªå�·
                 strcmd.AppendFormat(", {0}", work.SourceDetailCnt);	        // å�°å¸³æ˜Žç´°ç•ªå�·
                 strcmd.AppendFormat(", {0}", work.DataTypeFlag);            // æ˜Žç´°è¡Œãƒ‡ãƒ¼ã‚¿ã‚¿ã‚¤ãƒ—ãƒ•ãƒ©ã‚°
+                strcmd.AppendFormat(", {0}", work.StatutoryWelfareRate);    // æ³•å®šç¦�åˆ©è²»æ¯”çŽ‡
 
-
                 strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.EntryDate);
                 strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.UpdateDate);
                 strcmd.Append(")");
@@ -282,6 +282,7 @@
                     strcmd.AppendFormat(", {0}", work.SourceCode);              // å�°å¸³å·¥äº‹ç•ªå�·
                     strcmd.AppendFormat(", {0}", work.SourceDetailCnt);	        // å�°å¸³æ˜Žç´°ç•ªå�·
                     strcmd.AppendFormat(", {0}", work.DataTypeFlag);            // æ˜Žç´°è¡Œãƒ‡ãƒ¼ã‚¿ã‚¿ã‚¤ãƒ—ãƒ•ãƒ©ã‚°
+                    strcmd.AppendFormat(", {0}", work.StatutoryWelfareRate);    // æ³•å®šç¦�åˆ©è²»æ¯”çŽ‡
 
                     strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.EntryDate);
                     strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d %H:%i:%s')", work.UpdateDate);
@@ -335,6 +336,7 @@
                 strcmd.AppendFormat(", SourceCode = {0}", data.SourceCode);                     // å�°å¸³å·¥äº‹ç•ªå�·
                 strcmd.AppendFormat(", SourceDetailCnt = {0}", data.SourceDetailCnt);	        // å�°å¸³æ˜Žç´°ç•ªå�·
                 strcmd.AppendFormat(", DataTypeFlag = {0}", data.DataTypeFlag);                 // æ˜Žç´°è¡Œãƒ‡ãƒ¼ã‚¿ã‚¿ã‚¤ãƒ—ãƒ•ãƒ©ã‚°
+                strcmd.AppendFormat(", StatutoryWelfareRate = {0}", data.StatutoryWelfareRate); // æ³•å®šç¦�åˆ©è²»æ¯”çŽ‡
 
                 strcmd.Append(", UpdateDate = NOW()");
                 strcmd.Append(AddSQLString);
@@ -438,6 +440,9 @@
                     case (int)TableColumn.DataTypeFlag:     // æ˜Žç´°è¡Œãƒ‡ãƒ¼ã‚¿ã‚¿ã‚¤ãƒ—ãƒ•ãƒ©ã‚°
                         strcmd.AppendFormat(" DataTypeFlag = {0}", ((int)value).ToString());
                         break;
+                    case (int)TableColumn.StatutoryWelfareRate: // æ³•å®šç¦�åˆ©è²»æ¯”çŽ‡
+                        strcmd.AppendFormat(" StatutoryWelfareRate = {0}", ((double)value).ToString());
+                        break;
                 }
 
                 strcmd.Append(", UpdateDate = NOW()");
@@ -483,8 +488,8 @@
                 wrk.SourceCode = int.Parse(objwrk[(int)TableColumn.SourceCode].ToString());                     // å�°å¸³å·¥äº‹ç•ªå�·
                 wrk.SourceDetailCnt = int.Parse(objwrk[(int)TableColumn.SourceDetailCnt].ToString());	        // å�°å¸³æ˜Žç´°ç•ªå�·
                 wrk.DataTypeFlag = int.Parse(objwrk[(int)TableColumn.DataTypeFlag].ToString());                 // æ˜Žç´°è¡Œãƒ‡ãƒ¼ã‚¿ã‚¿ã‚¤ãƒ—ãƒ•ãƒ©ã‚°
+                wrk.StatutoryWelfareRate = double.Parse(objwrk[(int)TableColumn.StatutoryWelfareRate].ToString());  // æ³•å®šç¦�åˆ©è²»æ¯”çŽ‡
 
-
                 wrk.EntryDate = DateTime.Parse(objwrk[(int)TableColumn.EntryDate].ToString());
                 wrk.UpdateDate = DateTime.Parse(objwrk[(int)TableColumn.UpdateDate].ToString());
             }
Index: branches/src/ProcessManagement/ProcessManagement/DataModel/CostDataOfDepartment.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DataModel/CostDataOfDepartment.cs	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/DataModel/CostDataOfDepartment.cs	(revision 355)
@@ -0,0 +1,216 @@
+ï»¿using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ProcessManagement.DataModel
+{
+    /// <summary>
+    /// éƒ¨ç½²æ¯ŽçµŒè²»ãƒ‡ãƒ¼ã‚¿
+    /// </summary>
+    public class CostDataOfDepartment
+    {
+        #region å®šæ•°
+
+        #region å‡ºç´�ãƒ•ãƒ©ã‚°å®šç¾©
+        /// <summary>
+        /// å‡ºç´�ãƒ•ãƒ©ã‚°å®šç¾©
+        /// </summary>
+        public enum SendReceiveFlgDef
+        {
+            /// <summary>
+            /// æ”¯æ‰•ãƒ‡ãƒ¼ã‚¿
+            /// </summary>
+            Payment = -1,
+            /// <summary>
+            /// ãƒ‡ãƒ¼ã‚¿ç„¡ã�—
+            /// </summary>
+            NonData = 0,
+            /// <summary>
+            /// å�Žå…¥ãƒ‡ãƒ¼ã‚¿
+            /// </summary>
+            Revenue = 1,
+        }
+        #endregion
+
+        #endregion
+
+        #region ãƒ¡ãƒ³ãƒ�å¤‰æ•°
+        /// <summary>
+        /// éƒ¨ç½²ã‚³ãƒ¼ãƒ‰
+        /// </summary>
+        private int         m_DepartmentCode = 0;
+        /// <summary>
+        /// å·¥äº‹æœŸæ•°ãƒ»å¹´æ•°
+        /// </summary>
+        private int         m_ConstrYear = 0;
+        /// <summary>
+        /// ãƒ‡ãƒ¼ã‚¿ç•ªå�·
+        /// </summary>
+        private int         m_SeqNo = 0;
+        /// <summary>
+        /// å¯¾è±¡æ—¥ä»˜
+        /// </summary>
+        private DateTime    m_CostDate = DateTime.Now;
+        /// <summary>
+        /// å‡ºç´�å…ˆã‚³ãƒ¼ãƒ‰
+        /// </summary>
+        private int         m_SuppliersCode = 0;
+        /// <summary>
+        /// éƒ¨ç½²å��
+        /// </summary>
+        private string      m_DepartmentName = string.Empty;
+        /// <summary>
+        /// æ”¯æ‰•å…ˆå��ç§°
+        /// </summary>
+        private string      m_SuppliersName = string.Empty;
+        /// <summary>
+        /// æ”¯æ‰•å†…å®¹
+        /// </summary>
+        private string      m_PaymentContent = string.Empty;
+        /// <summary>
+        /// å‡ºç´�ãƒ•ãƒ©ã‚°
+        /// </summary>
+        private int         m_SendReceiveFlg = 0;
+        /// <summary>
+        /// é‡‘é¡�ï¼ˆç¨ŽæŠœï¼‰
+        /// </summary>
+        private double      m_EntryPrice = 0;
+        /// <summary>
+        /// é‡‘é¡�ï¼ˆç¨Žè¾¼ï¼‰
+        /// </summary>
+        private double      m_EntryTax = 0;
+        /// <summary>
+        /// å‚™è€ƒ
+        /// </summary>
+        private string      m_Coment = string.Empty;
+        /// <summary>
+        /// ç™»éŒ²æ—¥ä»˜
+        /// </summary>
+        private DateTime    m_EntryDate = DateTime.Now;
+        /// <summary>
+        /// æ›´æ–°æ—¥ä»˜
+        /// </summary>
+        private DateTime    m_UpdateDate = DateTime.Now;
+        #endregion
+
+        #region ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
+        #endregion
+
+        #region ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£
+        /// <summary>
+        /// æ‹…å½“è€…ã‚³ãƒ¼ãƒ‰
+        /// </summary>
+        public int DepartmentCode
+        {
+            get { return m_DepartmentCode; }
+            set { m_DepartmentCode = value; }
+        }
+        /// <summary>
+        /// å·¥äº‹æœŸæ•°ãƒ»å¹´æ•°
+        /// </summary>
+        public int ConstrYear
+        {
+            get { return m_ConstrYear; }
+            set { m_ConstrYear = value; }
+        }
+        /// <summary>
+        /// ãƒ‡ãƒ¼ã‚¿ç•ªå�·
+        /// </summary>
+        public int SeqNo
+        {
+            get { return m_SeqNo; }
+            set { m_SeqNo = value; }
+        }
+        /// <summary>
+        /// å¯¾è±¡æ—¥ä»˜
+        /// </summary>
+        public DateTime CostDate
+        {
+            get { return m_CostDate; }
+            set { m_CostDate = value; }
+        }
+        /// <summary>
+        /// å‡ºç´�å…ˆã‚³ãƒ¼ãƒ‰
+        /// </summary>
+        public int SuppliersCode
+        {
+            get { return m_SuppliersCode; }
+            set { m_SuppliersCode = value; }
+        }
+        /// <summary>
+        /// éƒ¨ç½²å��
+        /// </summary>
+        public string DepartmentName
+        {
+            get { return m_DepartmentName; }
+            set { m_DepartmentName = value; }
+        }
+        /// <summary>
+        /// æ”¯æ‰•å…ˆå��ç§°
+        /// </summary>
+        public string SuppliersName
+        {
+            get { return m_SuppliersName; }
+            set { m_SuppliersName = value; }
+        }
+        /// <summary>
+        /// æ”¯æ‰•å†…å®¹
+        /// </summary>
+        public string PaymentContent
+        {
+            get { return m_PaymentContent; }
+            set { m_PaymentContent = value; }
+        }
+        /// <summary>
+        /// å‡ºç´�ãƒ•ãƒ©ã‚°
+        /// </summary>
+        public int SendReceiveFlg
+        {
+            get { return m_SendReceiveFlg; }
+            set { m_SendReceiveFlg = value; }
+        }
+        /// <summary>
+        /// é‡‘é¡�ï¼ˆç¨ŽæŠœï¼‰
+        /// </summary>
+        public double EntryPrice
+        {
+            get { return m_EntryPrice; }
+            set { m_EntryPrice = value; }
+        }
+        /// <summary>
+        /// é‡‘é¡�ï¼ˆç¨Žè¾¼ï¼‰
+        /// </summary>
+        public double EntryTax
+        {
+            get { return m_EntryTax; }
+            set { m_EntryTax = value; }
+        }
+        /// <summary>
+        /// å‚™è€ƒ
+        /// </summary>
+        public string Coment
+        {
+            get { return m_Coment; }
+            set { m_Coment = value; }
+        }
+
+        /// <summary>
+        /// ç™»éŒ²æ—¥ä»˜
+        /// </summary>
+        public DateTime EntryDate
+        {
+            set { m_EntryDate = value; }
+            get { return m_EntryDate; }
+        }
+        /// <summary>
+        /// æ›´æ–°æ—¥ä»˜
+        /// </summary>
+        public DateTime UpdateDate
+        {
+            set { m_UpdateDate = value; }
+            get { return m_UpdateDate; }
+        }
+        #endregion
+    }
+}
Index: branches/src/ProcessManagement/ProcessManagement/DataModel/GridCellStyleMember.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DataModel/GridCellStyleMember.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/DataModel/GridCellStyleMember.cs	(revision 355)
@@ -9,7 +9,7 @@
 namespace ProcessManagement.DataModel
 {
     /// <summary>
-    /// DataGridView.Cell.styleãƒ¡ãƒ³ãƒ�ãƒ¼é€€é�¿ã‚¯ãƒ©ã‚¹
+    /// DataGridViewEX.Cell.styleãƒ¡ãƒ³ãƒ�ãƒ¼é€€é�¿ã‚¯ãƒ©ã‚¹
     /// </summary>
     public class GridCellStyleMember
     {
Index: branches/src/ProcessManagement/ProcessManagement/DataModel/PurchaseOrderDetail.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DataModel/PurchaseOrderDetail.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/DataModel/PurchaseOrderDetail.cs	(revision 355)
@@ -72,6 +72,7 @@
         private int     m_SourceDetailCnt = 0;              // å�°å¸³æ˜Žç´°ç•ªå�·
 
         private int     m_DataTypeFlag = 0;                 // æ˜Žç´°è¡Œãƒ‡ãƒ¼ã‚¿ã‚¿ã‚¤ãƒ—ãƒ•ãƒ©ã‚°
+        private double  m_StatutoryWelfareRate = 0.0;       // æ³•å®šç¦�åˆ©è²»æ¯”çŽ‡
 
         private DateTime m_EntryDate = DateTime.Now;        // ç™»éŒ²æ—¥ä»˜
         private DateTime m_UpdateDate = DateTime.Now;       // æ›´æ–°æ—¥ä»˜
@@ -203,8 +204,17 @@
             get { return m_DataTypeFlag; }
             set { m_DataTypeFlag = value; }
         }
-        
+
         /// <summary>
+        /// æ³•å®šç¦�åˆ©è²»æ¯”çŽ‡
+        /// </summary>
+        public double StatutoryWelfareRate
+        {
+            get { return m_StatutoryWelfareRate; }
+            set { m_StatutoryWelfareRate = value; }
+        }
+
+        /// <summary>
         /// ç™»éŒ²æ—¥ä»˜
         /// </summary>
         public DateTime EntryDate
Index: branches/src/ProcessManagement/ProcessManagement/Forms/ControlsAction/DataGridViewAction.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/ControlsAction/DataGridViewAction.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/ControlsAction/DataGridViewAction.cs	(nonexistent)
@@ -1,236 +0,0 @@
-ï»¿using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-
-using log4net;
-using log4net.Appender;
-using log4net.Repository.Hierarchy;
-
-using ProcessManagement.Common;
-using System.Collections;
-
-namespace ProcessManagement.Forms.ControlsAction
-{
-    /// <summary>
-    /// ãƒ‡ãƒ¼ã‚¿ã‚°ãƒªãƒƒãƒ‰ãƒ“ãƒ¥ãƒ¼æ±Žç”¨å‹•ä½œã‚¯ãƒ©ã‚¹
-    /// </summary>
-    public static class DataGridViewAction
-    {
-        #region ä½¿ç”¨å®šç¾©
-        //log4netãƒ­ã‚°ã‚’ä½¿ç”¨ã�™ã‚‹
-        private static readonly log4net.ILog logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
-        #endregion
-
-        #region å®šæ•°
-        #endregion
-
-        #region 1è¡Œãƒ‡ãƒ¼ã‚¿ã‚¢ãƒƒãƒ—
-        /// <summary>
-        /// ã‚¢ãƒƒãƒ—ã‚­ãƒ¼æŠ¼ä¸‹
-        /// </summary>
-        /// <param name="dgv">DataGridViewã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆ</param>
-        /// <param name="StartPoint">è¡Œå†…ç§»å‹•é–‹å§‹ã‚«ãƒ©ãƒ ä½�ç½®</param>
-        /// <param name="EndPoint">è¡Œå†…ç§»å‹•çµ‚äº†ã‚«ãƒ©ãƒ ä½�ç½®</param>
-        public static void GridRowUpAction(DataGridView dgv, int StartPoint, int EndPoint)
-        {
-            try
-            {
-                // ã‚«ãƒ¬ãƒ³ãƒˆè¡Œæ•°å�–å¾—
-                int curRow = dgv.CurrentCell.RowIndex;
-                int curCol = dgv.CurrentCell.ColumnIndex;
-
-                // ã‚«ãƒ¬ãƒ³ãƒˆè¡Œé€€é�¿
-                DataGridViewRow currentrow = dgv.CurrentRow;
-
-                // ï¼‘è¡Œå‰�ã‚’é€€é�¿
-                DataGridViewRow frontrow = dgv.Rows[dgv.CurrentRow.Index - 1];
-
-                // å…¥ã‚Œæ›¿ã�ˆ
-                // ã‚«ãƒ¬ãƒ³ãƒˆè¡Œâ†’é€€é�¿
-                DataGridViewRow SaveRow = (DataGridViewRow)currentrow.Clone();
-                for (int i = StartPoint; i <= EndPoint; i++)
-                {
-                    SaveRow.Cells[i].Value = currentrow.Cells[i].Value;
-                    SaveRow.Cells[i].Style = currentrow.Cells[i].Style;
-                    SaveRow.Cells[i].ReadOnly = currentrow.Cells[i].ReadOnly;
-
-                }
-
-                // å‰�è¡Œâ†’ã‚«ãƒ¬ãƒ³ãƒˆè¡Œ
-                for (int i = StartPoint; i <= EndPoint; i++)
-                {
-                    currentrow.Cells[i].Value = frontrow.Cells[i].Value;
-                    currentrow.Cells[i].Style = frontrow.Cells[i].Style;
-                    currentrow.Cells[i].ReadOnly = frontrow.Cells[i].ReadOnly;
-                }
-
-                // ã‚«ãƒ¬ãƒ³ãƒˆè¡Œâ†’å‰�è¡Œ
-                for (int i = StartPoint; i <= EndPoint; i++)
-                {
-                    frontrow.Cells[i].Value = SaveRow.Cells[i].Value;
-                    frontrow.Cells[i].Style = SaveRow.Cells[i].Style;
-                    frontrow.Cells[i].ReadOnly = SaveRow.Cells[i].ReadOnly;
-                }
-
-                //dgv.FirstDisplayedScrollingRowIndex = curRow;
-                dgv.CurrentCell = dgv[curCol, curRow - 1];
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region 1è¡Œãƒ‡ãƒ¼ã‚¿ãƒ€ã‚¦ãƒ³
-        /// <summary>
-        /// ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼æŠ¼ä¸‹å‡¦ç�†
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        public static void GridRowDownAction(DataGridView dgv, int StartPoint, int EndPoint)
-        {
-            try
-            {
-                // æœ€çµ‚è¡Œã�¯å‡¦ç�†ã�—ã�ªã�„
-                if ((dgv.CurrentRow.Index + 1) == dgv.Rows.Count) return;
-
-                // ã‚«ãƒ¬ãƒ³ãƒˆè¡Œæ•°å�–å¾—
-                int curRow = dgv.CurrentCell.RowIndex;
-                int curCol = dgv.CurrentCell.ColumnIndex;
-
-                // ã‚«ãƒ¬ãƒ³ãƒˆè¡Œé€€é�¿
-                DataGridViewRow currentrow = dgv.CurrentRow;
-
-                // ï¼‘è¡Œå¾Œã‚�ã‚’é€€é�¿
-                DataGridViewRow rearrow = dgv.Rows[dgv.CurrentRow.Index + 1];
-
-                // å…¥ã‚Œæ›¿ã�ˆ
-                // ã‚«ãƒ¬ãƒ³ãƒˆè¡Œâ†’é€€é�¿
-                DataGridViewRow SaveRow = (DataGridViewRow)currentrow.Clone();
-                for (int i = StartPoint; i <= EndPoint; i++)
-                {
-                    SaveRow.Cells[i].Value = currentrow.Cells[i].Value;
-                    SaveRow.Cells[i].Style = currentrow.Cells[i].Style;
-                    SaveRow.Cells[i].ReadOnly = currentrow.Cells[i].ReadOnly;
-                }
-
-                // å¾Œè¡Œâ†’ã‚«ãƒ¬ãƒ³ãƒˆè¡Œ
-                for (int i = StartPoint; i <= EndPoint; i++)
-                {
-                    currentrow.Cells[i].Value = rearrow.Cells[i].Value;
-                    currentrow.Cells[i].Style = rearrow.Cells[i].Style;
-                    currentrow.Cells[i].ReadOnly = rearrow.Cells[i].ReadOnly;
-                }
-
-                // ã‚«ãƒ¬ãƒ³ãƒˆè¡Œâ†’å¾Œè¡Œ
-                for (int i = StartPoint; i <= EndPoint; i++)
-                {
-                    rearrow.Cells[i].Value = SaveRow.Cells[i].Value;
-                    rearrow.Cells[i].Style = SaveRow.Cells[i].Style;
-                    rearrow.Cells[i].ReadOnly = SaveRow.Cells[i].ReadOnly;
-                }
-
-                //dgv.FirstDisplayedScrollingRowIndex = curRow;
-                dgv.CurrentCell = dgv[curCol, curRow + 1];
-
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region è¤‡æ•°è¡Œãƒ€ã‚¦ãƒ³
-        /// <summary>
-        /// è¤‡æ•°è¡Œãƒ€ã‚¦ãƒ³å‡¦ç�†
-        /// </summary>
-        /// <param name="dgv"></param>
-        /// <param name="StartPoint"></param>
-        /// <param name="EndPoint"></param>
-        /// <param name="ToRowPoint"></param>
-        public static void GridRowDownMultiLine(DataGridView dgv, int StartPoint, int EndPoint, int ToRowPoint)
-        {
-            try
-            {
-                // ç�¾åœ¨ã‚°ãƒªãƒƒãƒ‰æƒ…å ±å�–å¾—
-                int CurrentLineCount = dgv.CurrentRow.Index;
-                int addLine = (EndPoint - StartPoint) + 1;
-                int curCol = dgv.CurrentCell.ColumnIndex;
-                
-                // ã‚³ãƒ”ãƒ¼å…ˆã�Œã‚°ãƒªãƒƒãƒ‰è¡Œã‚ˆã‚Šå¤§ã��ã�„å ´å�ˆã�¯è¡Œè¿½åŠ ã�—ã�¦ã�‹ã‚‰å‡¦ç�†ã‚’è¡Œã�†
-                if (CurrentLineCount > dgv.RowCount)
-                {
-                    if (addLine != 0) dgv.Rows.Add(addLine);
-                }
-
-                dgv.Rows.Insert(ToRowPoint, addLine);
-                
-                // è¡Œã‚³ãƒ”ãƒ¼
-                for (int iy = StartPoint; iy <= EndPoint; iy++)
-                {
-                    for (int ix = 0; ix < dgv.ColumnCount; ix++)
-                    {
-                        dgv.Rows[ToRowPoint].Cells[ix].Value = dgv.Rows[iy].Cells[ix].Value;
-                        dgv.Rows[ToRowPoint].Cells[ix].Style = dgv.Rows[iy].Cells[ix].Style;
-                        dgv.Rows[ToRowPoint].Cells[ix].ReadOnly = dgv.Rows[iy].Cells[ix].ReadOnly;
-                    }
-                    ToRowPoint++;
-                }
-
-                // ã‚³ãƒ”ãƒ¼å…ƒè¡Œå‰Šé™¤
-                for (int i = EndPoint; i >= StartPoint; i--)
-                {
-                    dgv.Rows.RemoveAt(i);
-                }
-
-                // è¡¨ç¤ºã‚«ãƒ¼ã‚½ãƒ«ã�®ã‚»ãƒƒãƒˆ
-                dgv.CurrentCell = dgv[curCol, EndPoint];
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region æ–°ã�—ã�„è¡Œã‚’ä½œæˆ�ã�™ã‚‹
-        /// <summary>
-        /// æ–°ã�—ã�„è¡Œã‚’ä½œæˆ�ã�™ã‚‹
-        /// </summary>
-        /// <param name="dgvwork">å¯¾è±¡ãƒ‡ãƒ¼ã‚¿ã‚°ãƒªãƒƒãƒ‰</param>
-        /// <param name="DirectionRet">é€²è¡Œæ–¹å�‘ï¼šYesï¼ˆå¾Œï¼‰Noï¼š(å‰�) Cancel(ã‚­ãƒ£ãƒ³ã‚»ãƒ«)</param>
-        /// <param name="TergetRow">å¯¾è±¡è¡Œ</param>
-        public static void CreateNewLine(DataGridView dgvwork, ref int TergetRow)
-        {
-            try
-            {
-                // ç�¾åœ¨è¡Œã�Œç„¡ã�„
-                if (dgvwork.RowCount == 0)
-                {
-                    dgvwork.Rows.Add();
-                    TergetRow = dgvwork.RowCount - 1;
-                }
-                else if (TergetRow > dgvwork.RowCount - 1)
-                {
-                    // æœ€çµ‚è¡Œ
-                    dgvwork.Rows.Add();
-                    TergetRow = dgvwork.RowCount - 1;
-                }
-                else
-                {
-                    dgvwork.Rows.Insert(TergetRow, 1);
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-    }
-}
Index: branches/src/ProcessManagement/ProcessManagement/Forms/CustomControls/ComboBoxEX.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/CustomControls/ComboBoxEX.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/CustomControls/ComboBoxEX.cs	(revision 355)
@@ -6,7 +6,7 @@
 using System.Text;
 using System.Windows.Forms;
 
-//*---------------------------- æ‹¡å¼µDataGridViewã‚³ãƒ¼ãƒ‰ ------------------------*
+//*---------------------------- æ‹¡å¼µComboBoxEXã‚³ãƒ¼ãƒ‰ --------------------------*
 //  2015/12/08  Ver1.0.0.0      Create Source           
 //
 //
Index: branches/src/ProcessManagement/ProcessManagement/Forms/CustomControls/DataGridViewEX.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/CustomControls/DataGridViewEX.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/CustomControls/DataGridViewEX.cs	(revision 355)
@@ -6,7 +6,14 @@
 using System.Text;
 using System.Windows.Forms;
 
-//*---------------------------- Šg’£DataGridViewƒR�[ƒh ------------------------*
+using log4net;
+using log4net.Appender;
+using log4net.Repository.Hierarchy;
+
+using ProcessManagement.Common;
+using System.Collections;
+
+//*---------------------------- Šg’£DataGridViewEXƒR�[ƒh ------------------------*
 //  2015/07/14  Ver1.0.0.0      Create Source           
 //
 //
@@ -16,6 +23,11 @@
 {
     public class DataGridViewEX : DataGridView
     {
+        #region Žg—p’è‹`
+        //log4netƒ�ƒO‚ðŽg—p‚·‚é
+        private static readonly log4net.ILog logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
         #region ƒRƒ“ƒXƒgƒ‰ƒNƒ^
         /// <summary>
         /// ƒRƒ“ƒXƒgƒ‰ƒNƒ^
@@ -40,7 +52,7 @@
             // 
             // DataGridViewEX
             // 
-            this.RowTemplate.Height = 21;
+            //this.RowTemplate.Height = 21;
             this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.DataGridViewEX_KeyDown);
             ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
             this.ResumeLayout(false);
@@ -56,19 +68,30 @@
         /// <returns></returns>
         protected override bool ProcessDialogKey(Keys keyData)
         {
-            // ƒRƒ�ƒ“ƒg‚ÉƒtƒH�[ƒJƒX‚ª‚ ‚éŽž‚Í�ˆ—�‚µ‚È‚¢
-            Form frmParent = FindForm();
-            //if (frmParent.ActiveControl.GetType().Equals(typeof(MoveTextBox))
-            //    || frmParent.ActiveControl.GetType().Equals(typeof(ShapeContainer))
-            //    || frmParent.ActiveControl.GetType().Equals(typeof(LineShape))) return false;
-         
-            //EnterƒL�[‚ª‰Ÿ‚³‚ê‚½Žž‚Í�ATabƒL�[‚ª‰Ÿ‚³‚ê‚½‚æ‚¤‚É‚·‚é
-            if ((keyData & Keys.KeyCode) == Keys.Enter)
+            try
             {
-                //return this.ProcessTabKey(keyData);
-                return this.ProcessDownKey(keyData);
+                // ƒRƒ�ƒ“ƒg‚ÉƒtƒH�[ƒJƒX‚ª‚ ‚éŽž‚Í�ˆ—�‚µ‚È‚¢
+                Form frmParent = FindForm();
+                //if (frmParent.ActiveControl.GetType().Equals(typeof(MoveTextBox))
+                //    || frmParent.ActiveControl.GetType().Equals(typeof(ShapeContainer))
+                //    || frmParent.ActiveControl.GetType().Equals(typeof(LineShape))) return false;
+
+                // EnterƒL�[‚ª‰Ÿ‚³‚ê‚½Žž‚Í�ADownKey‚ª‰Ÿ‚³‚ê‚½‚æ‚¤‚É‚·‚é
+                // �Å�I�s‚ÍTabƒL�[‚ª‰Ÿ‚³‚ê‚½‚æ‚¤‚É‚·‚é
+                if ((keyData & Keys.KeyCode) == Keys.Enter)
+                {
+                    if (CurrentCell.RowIndex == (base.RowCount - 1))
+                        return this.ProcessTabKey(keyData);
+                    else
+                        return this.ProcessDownKey(keyData);
+                }
+                return base.ProcessDialogKey(keyData);
             }
-            return base.ProcessDialogKey(keyData);
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
         }
         #endregion
 
@@ -81,19 +104,27 @@
         /// <returns></returns>
         protected override bool ProcessDataGridViewKey(KeyEventArgs e)
         {
-            // ƒRƒ�ƒ“ƒg‚ÉƒtƒH�[ƒJƒX‚ª‚ ‚éŽž‚Í�ˆ—�‚µ‚È‚¢
-            Form frmParent = FindForm();
-            //if (frmParent.ActiveControl.GetType().Equals(typeof(MoveTextBox))
-            //    || frmParent.ActiveControl.GetType().Equals(typeof(ShapeContainer))
-            //    || frmParent.ActiveControl.GetType().Equals(typeof(LineShape))) return false;
+            try
+            {
+                // ƒRƒ�ƒ“ƒg‚ÉƒtƒH�[ƒJƒX‚ª‚ ‚éŽž‚Í�ˆ—�‚µ‚È‚¢
+                Form frmParent = FindForm();
+                //if (frmParent.ActiveControl.GetType().Equals(typeof(MoveTextBox))
+                //    || frmParent.ActiveControl.GetType().Equals(typeof(ShapeContainer))
+                //    || frmParent.ActiveControl.GetType().Equals(typeof(LineShape))) return false;
 
-            //EnterƒL�[‚ª‰Ÿ‚³‚ê‚½Žž‚Í�ATabƒL�[‚ª‰Ÿ‚³‚ê‚½‚æ‚¤‚É‚·‚é
-            if (e.KeyCode == Keys.Enter)
+                //EnterƒL�[‚ª‰Ÿ‚³‚ê‚½Žž‚Í�ATabƒL�[‚ª‰Ÿ‚³‚ê‚½‚æ‚¤‚É‚·‚é
+                if (e.KeyCode == Keys.Enter)
+                {
+                    //return this.ProcessTabKey(e.KeyCode);
+                    return this.ProcessDownKey(e.KeyCode);
+                }
+                return base.ProcessDataGridViewKey(e);
+            }
+            catch (Exception ex)
             {
-                //return this.ProcessTabKey(e.KeyCode);
-                return this.ProcessDownKey(e.KeyCode);
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
             }
-            return base.ProcessDataGridViewKey(e);
         }
         #endregion
 
@@ -106,98 +137,476 @@
         /// <param name="e"></param>
         private void DataGridViewEX_KeyDown(object sender, KeyEventArgs e)
         {
-            DataGridView dgv = (DataGridView)(sender);
-            int CurrentCellX = dgv.CurrentCellAddress.X;
-            int CurrentCellY = dgv.CurrentCellAddress.Y;
+            try
+            {
+                DataGridViewEX dgv = (DataGridViewEX)(sender);
+                int CurrentCellX = dgv.CurrentCellAddress.X;
+                int CurrentCellY = dgv.CurrentCellAddress.Y;
 
-            if (e.KeyCode == Keys.Delete || e.KeyCode == Keys.Back)
+                if (e.KeyCode == Keys.Delete || e.KeyCode == Keys.Back)
+                {
+                    foreach (DataGridViewCell c in dgv.SelectedCells)
+                    {
+                        if (((DataGridViewEX)sender).CurrentCell.ReadOnly == false)
+                        {
+                            // ƒZƒ‹‚Ì“à—e‚ð�Á‹Ž
+                            dgv[c.ColumnIndex, c.RowIndex].Value = "";
+                        }
+                    }
+                }
+                else if ((e.Modifiers & Keys.Control) == Keys.Control && e.KeyCode == Keys.V)
+                {
+                    // ƒNƒŠƒbƒvƒ{�[ƒh‚Ì“à—e‚ðŽæ“¾
+                    String clipText = Clipboard.GetText();
+                    // ‰ü�s‚ð•ÏŠ·
+                    clipText = clipText.Replace("\r\n", "\n");
+                    clipText = clipText.Replace("\r", "\n");
+                    // ‰ü�s‚Å•ªŠ„
+                    String[] lines = clipText.Split('\n');
+
+                    int srcLineCnt;
+                    Boolean nflag = true;
+                    for (srcLineCnt = 0; srcLineCnt <= lines.GetLength(0) - 1; srcLineCnt++)
+                    {
+                        // �ÅŒã‚ÌNULL�s‚ðƒRƒs�[‚·‚é‚©‚Ç‚¤‚©
+                        if (srcLineCnt >= lines.GetLength(0) - 1 && "".Equals(lines[srcLineCnt]) && nflag == false) break;
+                        if ("".Equals(lines[srcLineCnt]) == false) nflag = false;
+
+                        // ƒ^ƒu‚Å•ªŠ„
+                        String[] vals = lines[srcLineCnt].Split('\t');
+
+                        // ŠeƒZƒ‹‚Ì’l‚ð�Ý’è
+                        int srcCellCnt = 0;
+                        int DestCellCnt = 0;
+                        for (srcCellCnt = 0; srcCellCnt <= vals.GetLength(0) - 1; srcCellCnt++)
+                        {
+                            // ƒZƒ‹‚ª‘¶�Ý‚µ‚È‚¯‚ê‚Î“\‚è•t‚¯‚È‚¢
+                            if (!(CurrentCellX + DestCellCnt >= 0 && CurrentCellX + DestCellCnt < dgv.ColumnCount && CurrentCellY + srcLineCnt >= 0 && CurrentCellY + srcLineCnt < dgv.RowCount))
+                            {
+                                continue;
+                            }
+                            // ”ñ•\Ž¦ƒZƒ‹‚É‚Í“\‚è•t‚¯‚È‚¢
+                            if (dgv[CurrentCellX + DestCellCnt, CurrentCellY + srcLineCnt].Visible == false)
+                            {
+                                //srcCellCnt = srcCellCnt - 1;
+                                continue;
+                            }
+                            // “\‚è•t‚¯�ˆ—�(“ü—Í‰Â”\•¶Žšƒ`ƒFƒbƒN–³‚µ‚ÌŽž)------------
+                            // �s’Ç‰Áƒ‚�[ƒh&(�Å�I�s‚ÌŽž‚Í�s’Ç‰Á)
+                            if (CurrentCellY + srcLineCnt == dgv.RowCount - 1 && dgv.AllowUserToAddRows == true)
+                            {
+                                dgv.RowCount = dgv.RowCount + 1;
+                            }
+                            // Lock‚ªŠ|‚©‚Á‚Ä‚¢‚éCell‚ÍƒRƒs�[‚Å‚«‚È‚¢
+                            if (dgv[CurrentCellX + DestCellCnt, CurrentCellY + srcLineCnt].ReadOnly == false)
+                                // “\‚è•t‚¯
+                                dgv[CurrentCellX + DestCellCnt, CurrentCellY + srcLineCnt].Value = vals[srcCellCnt];
+                            // ------------------------------------------------------
+                            //// “\‚è•t‚¯�ˆ—�(“ü—Í‰Â”\•¶Žšƒ`ƒFƒbƒN—L‚è‚ÌŽž)------------
+                            //String pststr = "";
+                            //for (int i = 0; i <= vals[srcCellCnt].Length - 1; i++)
+                            //{
+                            //    _editingColumn = x + DestCellCnt;
+                            //    byte[] cc = Encoding.GetEncoding("SHIFT-JIS").GetBytes(vals[srcCellCnt].Substring(i, 1));
+                            //    KeyPressEventArgs tmpe = new KeyPressEventArgs((char)cc[0]);
+                            //    tmpe.Handled = false;
+                            //    DataGridViewPlus_CellKeyPress(sender, tmpe);
+                            //    if (tmpe.Handled == false)
+                            //    {
+                            //        pststr = pststr + vals[srcCellCnt].Substring(i, 1);
+                            //    }
+                            //}
+                            //// �s’Ç‰Áƒ‚�[ƒh�•�Å�I�s‚ÌŽž‚Í�s’Ç‰Á
+                            //if (CurrentCellY + srcLineCnt == dgv.RowCount - 1 && dgv.AllowUserToAddRows == true)
+                            //{
+                            //    dgv.RowCount = dgv.RowCount + 1;
+                            //}
+                            //// “\‚è•t‚¯
+                            //dgv[CurrentCellX + destCellCnt, CurrentCellY + srcLineCnt].Value = pststr;
+                            // ------------------------------------------------------
+                            // ŽŸ‚ÌƒZƒ‹‚Ö
+                            DestCellCnt = DestCellCnt + 1;
+                        }
+                    }
+                }
+            }
+            catch (Exception ex)
             {
-                foreach (DataGridViewCell c in dgv.SelectedCells)
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region // <---------> ’Ç‰Áƒ�ƒ\ƒbƒh
+
+        #region 1�sƒf�[ƒ^ƒAƒbƒv
+        /// <summary>
+        /// ƒAƒbƒvƒL�[‰Ÿ‰º
+        /// </summary>
+        /// <param name="StartPoint">�s“àˆÚ“®ŠJŽnƒJƒ‰ƒ€ˆÊ’u</param>
+        /// <param name="EndPoint">�s“àˆÚ“®�I—¹ƒJƒ‰ƒ€ˆÊ’u</param>
+        public void GridRowUpAction(int StartPoint, int EndPoint)
+        {
+            try
+            {
+                // ƒJƒŒƒ“ƒg�s�”Žæ“¾
+                int nCurRow = base.CurrentCell.RowIndex;
+                int nCurCol = base.CurrentCell.ColumnIndex;
+
+                // ƒJƒŒƒ“ƒg�s‘Þ”ð
+                DataGridViewRow currentrow = base.CurrentRow;
+
+                // ‚P�s‘O‚ð‘Þ”ð
+                DataGridViewRow frontrow = base.Rows[nCurRow - 1];
+
+                // “ü‚ê‘Ö‚¦
+                // ƒJƒŒƒ“ƒg�s�¨‘Þ”ð
+                DataGridViewRow SaveRow = (DataGridViewRow)currentrow.Clone();
+                for (int i = StartPoint; i <= EndPoint; i++)
                 {
-                    if (((DataGridView)sender).CurrentCell.ReadOnly == false)
+                    SaveRow.Cells[i].Value = currentrow.Cells[i].Value;
+                    SaveRow.Cells[i].Style = currentrow.Cells[i].Style;
+                    SaveRow.Cells[i].ReadOnly = currentrow.Cells[i].ReadOnly;
+
+                }
+
+                // ‘O�s�¨ƒJƒŒƒ“ƒg�s
+                for (int i = StartPoint; i <= EndPoint; i++)
+                {
+                    currentrow.Cells[i].Value = frontrow.Cells[i].Value;
+                    currentrow.Cells[i].Style = frontrow.Cells[i].Style;
+                    currentrow.Cells[i].ReadOnly = frontrow.Cells[i].ReadOnly;
+                }
+
+                // ƒJƒŒƒ“ƒg�s�¨‘O�s
+                for (int i = StartPoint; i <= EndPoint; i++)
+                {
+                    frontrow.Cells[i].Value = SaveRow.Cells[i].Value;
+                    frontrow.Cells[i].Style = SaveRow.Cells[i].Style;
+                    frontrow.Cells[i].ReadOnly = SaveRow.Cells[i].ReadOnly;
+                }
+
+                //dgv.FirstDisplayedScrollingRowIndex = curRow;
+                base.CurrentCell = base[nCurCol, nCurRow - 1];
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 1�sƒf�[ƒ^ƒ_ƒEƒ“
+        /// <summary>
+        /// ƒ_ƒEƒ“ƒL�[‰Ÿ‰º�ˆ—�
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        public void GridRowDownAction(int StartPoint, int EndPoint)
+        {
+            try
+            {
+                // �Å�I�s‚Í�ˆ—�‚µ‚È‚¢
+                if ((base.CurrentRow.Index + 1) == base.Rows.Count) return;
+
+                // ƒJƒŒƒ“ƒg�s�”Žæ“¾
+                int curRow = base.CurrentCell.RowIndex;
+                int curCol = base.CurrentCell.ColumnIndex;
+
+                // ƒJƒŒƒ“ƒg�s‘Þ”ð
+                DataGridViewRow currentrow = base.CurrentRow;
+
+                // ‚P�sŒã‚ë‚ð‘Þ”ð
+                DataGridViewRow rearrow = base.Rows[base.CurrentRow.Index + 1];
+
+                // “ü‚ê‘Ö‚¦
+                // ƒJƒŒƒ“ƒg�s�¨‘Þ”ð
+                DataGridViewRow SaveRow = (DataGridViewRow)currentrow.Clone();
+                for (int i = StartPoint; i <= EndPoint; i++)
+                {
+                    SaveRow.Cells[i].Value = currentrow.Cells[i].Value;
+                    SaveRow.Cells[i].Style = currentrow.Cells[i].Style;
+                    SaveRow.Cells[i].ReadOnly = currentrow.Cells[i].ReadOnly;
+                }
+
+                // Œã�s�¨ƒJƒŒƒ“ƒg�s
+                for (int i = StartPoint; i <= EndPoint; i++)
+                {
+                    currentrow.Cells[i].Value = rearrow.Cells[i].Value;
+                    currentrow.Cells[i].Style = rearrow.Cells[i].Style;
+                    currentrow.Cells[i].ReadOnly = rearrow.Cells[i].ReadOnly;
+                }
+
+                // ƒJƒŒƒ“ƒg�s�¨Œã�s
+                for (int i = StartPoint; i <= EndPoint; i++)
+                {
+                    rearrow.Cells[i].Value = SaveRow.Cells[i].Value;
+                    rearrow.Cells[i].Style = SaveRow.Cells[i].Style;
+                    rearrow.Cells[i].ReadOnly = SaveRow.Cells[i].ReadOnly;
+                }
+
+                //base.FirstDisplayedScrollingRowIndex = curRow;
+                base.CurrentCell = base[curCol, curRow + 1];
+
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region •¡�”�sƒ_ƒEƒ“
+        /// <summary>
+        /// •¡�”�sƒ_ƒEƒ“�ˆ—�
+        /// </summary>
+        /// <param name="StartPoint">ˆÚ“®ŠJŽn�s</param>
+        /// <param name="EndPoint">ˆÚ“®�I—¹�s</param>
+        /// <param name="ToRowPoint">ˆÚ“®�æ�æ“ª�s</param>
+        public void GridRowDownMultiLine(int StartPoint, int EndPoint, int ToRowPoint)
+        {
+            try
+            {
+                // Œ»�ÝƒOƒŠƒbƒh�î•ñŽæ“¾
+                int CurrentLineCount = base.CurrentRow.Index;
+                int addLine = (EndPoint - StartPoint) + 1;
+                int curCol = base.CurrentCell.ColumnIndex;
+
+                // ƒRƒs�[�æ‚ªƒOƒŠƒbƒh�s‚æ‚è‘å‚«‚¢�ê�‡‚Í�s’Ç‰Á‚µ‚Ä‚©‚ç�ˆ—�‚ð�s‚¤
+                if (CurrentLineCount > base.RowCount)
+                {
+                    if (addLine != 0) base.Rows.Add(addLine);
+                }
+
+                base.Rows.Insert(ToRowPoint, addLine);
+
+                // �sƒRƒs�[
+                for (int iy = StartPoint; iy <= EndPoint; iy++)
+                {
+                    for (int ix = 0; ix < base.ColumnCount; ix++)
                     {
-                        // ƒZƒ‹‚Ì“à—e‚ð�Á‹Ž
-                        dgv[c.ColumnIndex, c.RowIndex].Value = "";
+                        base.Rows[ToRowPoint].Cells[ix].Value = base.Rows[iy].Cells[ix].Value;
+                        base.Rows[ToRowPoint].Cells[ix].Style = base.Rows[iy].Cells[ix].Style;
+                        base.Rows[ToRowPoint].Cells[ix].ReadOnly = base.Rows[iy].Cells[ix].ReadOnly;
                     }
+                    ToRowPoint++;
                 }
+
+                // ƒRƒs�[Œ³�s�í�œ
+                for (int i = EndPoint; i >= StartPoint; i--)
+                {
+                    base.Rows.RemoveAt(i);
+                }
+
+                // •\Ž¦ƒJ�[ƒ\ƒ‹‚ÌƒZƒbƒg
+                base.CurrentCell = base[curCol, EndPoint];
             }
-            else if ((e.Modifiers & Keys.Control) == Keys.Control && e.KeyCode == Keys.V)
+            catch (System.Exception ex)
             {
-                // ƒNƒŠƒbƒvƒ{�[ƒh‚Ì“à—e‚ðŽæ“¾
-                String clipText = Clipboard.GetText();
-                // ‰ü�s‚ð•ÏŠ·
-                clipText = clipText.Replace("\r\n", "\n");
-                clipText = clipText.Replace("\r", "\n");
-                // ‰ü�s‚Å•ªŠ„
-                String[] lines = clipText.Split('\n');
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
 
-                int srcLineCnt;
-                Boolean nflag = true;
-                for (srcLineCnt = 0; srcLineCnt <= lines.GetLength(0) - 1; srcLineCnt++)
+        #region �V‚µ‚¢�s‚ð�ì�¬‚·‚é
+        /// <summary>
+        /// �V‚µ‚¢�s‚ð�ì�¬‚·‚é
+        /// </summary>
+        /// <param name="TergetRow">‘Î�Û�s</param>
+        public void CreateNewLine(ref int TergetRow)
+        {
+            try
+            {
+                // Œ»�Ý�s‚ª–³‚¢
+                if (base.RowCount == 0)
                 {
-                    // �ÅŒã‚ÌNULL�s‚ðƒRƒs�[‚·‚é‚©‚Ç‚¤‚©
-                    if (srcLineCnt >= lines.GetLength(0) - 1 && "".Equals(lines[srcLineCnt]) && nflag == false) break;
-                    if ("".Equals(lines[srcLineCnt]) == false) nflag = false;
+                    base.Rows.Add();
+                    TergetRow = base.RowCount - 1;
+                }
+                else if (TergetRow > base.RowCount - 1)
+                {
+                    // �Å�I�s
+                    base.Rows.Add();
+                    TergetRow = base.RowCount - 1;
+                }
+                else
+                {
+                    base.Rows.Insert(TergetRow, 1);
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
 
-                    // ƒ^ƒu‚Å•ªŠ„
-                    String[] vals = lines[srcLineCnt].Split('\t');
+        #region ‘I‘ð”ÍˆÍƒNƒŠƒbƒvƒ{�[ƒh‚ÖƒRƒs�[
+        /// <summary>
+        /// ‘I‘ð”ÍˆÍƒNƒŠƒbƒvƒ{�[ƒh‚ÖƒRƒs�[
+        /// </summary>
+        public void RowCopyAction()
+        {
+            try
+            {
+                if (base.GetCellCount(DataGridViewElementStates.Selected) < 1) return;
 
-                    // ŠeƒZƒ‹‚Ì’l‚ð�Ý’è
-                    int srcCellCnt = 0;
-                    int DestCellCnt = 0;
-                    for (srcCellCnt = 0; srcCellCnt <= vals.GetLength(0) - 1; srcCellCnt++)
+                // Add the selection to the clipboard.
+                Clipboard.SetDataObject(base.GetClipboardContent());
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ƒNƒŠƒbƒvƒ{�[ƒh‚©‚ç“\‚è•t‚¯
+        /// <summary>
+        /// ƒNƒŠƒbƒvƒ{�[ƒh‚©‚ç“\‚è•t‚¯
+        /// </summary>
+        public void RowPasteAction(bool bVisJumpFlg = false)
+        {
+            try
+            {
+                //Œ»�Ý‚ÌƒZƒ‹‚Ì‚ ‚é�s‚©‚ç‰º‚Éƒy�[ƒXƒg‚·‚é
+                if (base.CurrentCell == null) return;
+
+                //ƒNƒŠƒbƒvƒ{�[ƒh‚Ì“à—e‚ðŽæ“¾‚µ‚Ä�A�s‚Å•ª‚¯‚é
+                string pasteText = Clipboard.GetText();
+                // ‘I‘ð–³‚µ‚Í�ˆ—�‚µ‚È‚¢
+                if (string.IsNullOrEmpty(pasteText)) return;
+
+                // ‰ü�s‚ð“�ˆêƒR�[ƒh‚Ö’u‚«Š·‚¦‚é
+                pasteText = pasteText.Replace("\r\n", "\n").Replace('\r', '\n');
+                pasteText = pasteText.TrimEnd(new char[] { '\n' });
+                string[] lines = pasteText.Split('\n');
+
+                int nInsRowIndex = base.CurrentCell.RowIndex;
+                foreach (string line in lines)
+                {
+                    //ƒ^ƒu‚Å•ªŠ„
+                    string[] vals = line.Split('\t');
+
+                    // “\‚è•t‚¯�”Žæ“¾
+                    int nLoopCnt = vals.Length - 1;
+                    int CtrlCnt = ToTheBackvisibleCol(base[base.CurrentCell.ColumnIndex, nInsRowIndex]);
+                    if (nLoopCnt > CtrlCnt) nLoopCnt = CtrlCnt;
+
+                    DataGridViewRow row = base.Rows[nInsRowIndex];
+                    int ix = 0;
+                    //ŠeƒZƒ‹‚Ì’l‚ð�Ý’è
+                    for (int i = base.CurrentCell.ColumnIndex; i < nLoopCnt; i++)
                     {
-                        // ƒZƒ‹‚ª‘¶�Ý‚µ‚È‚¯‚ê‚Î“\‚è•t‚¯‚È‚¢
-                        if (!(CurrentCellX + DestCellCnt >= 0 && CurrentCellX + DestCellCnt < dgv.ColumnCount && CurrentCellY + srcLineCnt >= 0 && CurrentCellY + srcLineCnt < dgv.RowCount))
+                        // ”ñ•\Ž¦ƒJƒ‰ƒ€‰ñ”ð
+                        if (bVisJumpFlg)
                         {
-                            continue;
+                            if (!row.Cells[i].Visible) continue;
+                            if (!row.Cells[i].GetType().Equals(typeof(DataGridViewTextBoxCell))) continue;
                         }
-                        // ”ñ•\Ž¦ƒZƒ‹‚É‚Í“\‚è•t‚¯‚È‚¢
-                        if (dgv[CurrentCellX + DestCellCnt, CurrentCellY + srcLineCnt].Visible == false)
-                        {
-                            //srcCellCnt = srcCellCnt - 1;
-                            continue;
-                        }
-                        // “\‚è•t‚¯�ˆ—�(“ü—Í‰Â”\•¶Žšƒ`ƒFƒbƒN–³‚µ‚ÌŽž)------------
-                        // �s’Ç‰Áƒ‚�[ƒh&(�Å�I�s‚ÌŽž‚Í�s’Ç‰Á)
-                        if (CurrentCellY + srcLineCnt == dgv.RowCount - 1 && dgv.AllowUserToAddRows == true)
-                        {
-                            dgv.RowCount = dgv.RowCount + 1;
-                        }
-                        // Lock‚ªŠ|‚©‚Á‚Ä‚¢‚éCell‚ÍƒRƒs�[‚Å‚«‚È‚¢
-                        if (dgv[CurrentCellX + DestCellCnt, CurrentCellY + srcLineCnt].ReadOnly == false)
-                            // “\‚è•t‚¯
-                            dgv[CurrentCellX + DestCellCnt, CurrentCellY + srcLineCnt].Value = vals[srcCellCnt];
-                        // ------------------------------------------------------
-                        //// “\‚è•t‚¯�ˆ—�(“ü—Í‰Â”\•¶Žšƒ`ƒFƒbƒN—L‚è‚ÌŽž)------------
-                        //String pststr = "";
-                        //for (int i = 0; i <= vals[srcCellCnt].Length - 1; i++)
-                        //{
-                        //    _editingColumn = x + DestCellCnt;
-                        //    byte[] cc = Encoding.GetEncoding("SHIFT-JIS").GetBytes(vals[srcCellCnt].Substring(i, 1));
-                        //    KeyPressEventArgs tmpe = new KeyPressEventArgs((char)cc[0]);
-                        //    tmpe.Handled = false;
-                        //    DataGridViewPlus_CellKeyPress(sender, tmpe);
-                        //    if (tmpe.Handled == false)
-                        //    {
-                        //        pststr = pststr + vals[srcCellCnt].Substring(i, 1);
-                        //    }
-                        //}
-                        //// �s’Ç‰Áƒ‚�[ƒh�•�Å�I�s‚ÌŽž‚Í�s’Ç‰Á
-                        //if (CurrentCellY + srcLineCnt == dgv.RowCount - 1 && dgv.AllowUserToAddRows == true)
-                        //{
-                        //    dgv.RowCount = dgv.RowCount + 1;
-                        //}
-                        //// “\‚è•t‚¯
-                        //dgv[CurrentCellX + destCellCnt, CurrentCellY + srcLineCnt].Value = pststr;
-                        // ------------------------------------------------------
-                        // ŽŸ‚ÌƒZƒ‹‚Ö
-                        DestCellCnt = DestCellCnt + 1;
+
+                        row.Cells[i].Value = vals[ix];
+                        ix++;
                     }
+
+                    //ŽŸ‚Ì�s‚Ö
+                    nInsRowIndex++;
                 }
             }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
         }
         #endregion
 
+        #region ƒJƒŒƒ“ƒgˆÊ’u‚æ‚èŒã‚ë‚É•\Ž¦‚³‚ê‚Ä‚¢‚éƒJƒ‰ƒ€�”‚ð•Ô‚·
+        /// <summary>
+        /// ƒJƒŒƒ“ƒgˆÊ’u‚æ‚èŒã‚ë‚É•\Ž¦‚³‚ê‚Ä‚¢‚éƒJƒ‰ƒ€�”‚ð•Ô‚·
+        /// </summary>
+        /// <param name="CurCell"></param>
+        /// <returns></returns>
+        private int ToTheBackvisibleCol(DataGridViewCell CurCell)
+        {
+            try
+            {
+                int nRet = 0;
+
+                int nRowCnt = CurrentCell.RowIndex;
+
+                for(int i = CurrentCell.ColumnIndex; i < base.ColumnCount; i++)
+                {
+                    if (!base[i, nRowCnt].Visible) continue;
+                    nRet++;
+                }
+
+                return nRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return 0;
+            }
+        }
+        #endregion
+
+        #region 1�s‘}“ü�ˆ—�
+        /// <summary>
+        /// �s‘}“ü�ˆ—�
+        /// </summary>
+        public void RowInsertAction()
+        {
+            try
+            {
+                int nCurRowCnt = base.CurrentCell.RowIndex;
+                int nSelectRowCnt = 1;
+
+                base.Rows.Insert(nCurRowCnt, nSelectRowCnt);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 1�s’Ç‰Á�ˆ—�
+        /// <summary>
+        /// �s’Ç‰Á�ˆ—�
+        /// </summary>
+        public void RowAddAction()
+        {
+            try
+            {
+                int nAddRowCnt = base.Rows.Add();
+
+                base.CurrentCell = base.Rows[nAddRowCnt].Cells[0];
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region 1�s�í�œ�ˆ—�
+        /// <summary>
+        /// �s�í�œ�ˆ—�
+        /// </summary>
+        public void RowRemoveAction()
+        {
+            try
+            {
+                // Remove Row
+                base.Rows.RemoveAt(base.CurrentCell.RowIndex);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #endregion // <---------> ’Ç‰Áƒ�ƒ\ƒbƒh
     }
 }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalList/FrmApprovalList.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalList/FrmApprovalList.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalList/FrmApprovalList.designer.cs	(revision 355)
@@ -253,7 +253,6 @@
             // 
             this.dgvMaster.AllowUserToAddRows = false;
             this.dgvMaster.AllowUserToDeleteRows = false;
-            this.dgvMaster.AllowUserToResizeColumns = false;
             this.dgvMaster.AllowUserToResizeRows = false;
             dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
             this.dgvMaster.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
@@ -342,11 +341,11 @@
             // 
             // Column01
             // 
+            this.Column01.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
             dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
             dataGridViewCellStyle4.BackColor = System.Drawing.Color.White;
             dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black;
             this.Column01.DefaultCellStyle = dataGridViewCellStyle4;
-            this.Column01.Frozen = true;
             this.Column01.HeaderText = "â„–";
             this.Column01.Name = "Column01";
             this.Column01.ReadOnly = true;
@@ -356,23 +355,21 @@
             // 
             // Column03
             // 
+            this.Column03.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
             dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
             dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
             dataGridViewCellStyle5.ForeColor = System.Drawing.Color.Black;
             this.Column03.DefaultCellStyle = dataGridViewCellStyle5;
-            this.Column03.Frozen = true;
             this.Column03.HeaderText = "å·¥ã€€äº‹ã€€å��ã€€ç§°";
             this.Column03.Name = "Column03";
             this.Column03.ReadOnly = true;
-            this.Column03.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.Column03.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column03.Width = 500;
+            this.Column03.Width = 530;
             // 
             // Column1
             // 
             dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
             this.Column1.DefaultCellStyle = dataGridViewCellStyle6;
-            this.Column1.Frozen = true;
             this.Column1.HeaderText = "æ‰¿ èª� çŠ¶ æ…‹";
             this.Column1.Name = "Column1";
             this.Column1.ReadOnly = true;
@@ -386,7 +383,6 @@
             dataGridViewCellStyle7.BackColor = System.Drawing.Color.White;
             dataGridViewCellStyle7.ForeColor = System.Drawing.Color.Black;
             this.Column04.DefaultCellStyle = dataGridViewCellStyle7;
-            this.Column04.Frozen = true;
             this.Column04.HeaderText = "ç”³ã€€è«‹ã€€è€…";
             this.Column04.Name = "Column04";
             this.Column04.ReadOnly = true;
@@ -400,7 +396,6 @@
             dataGridViewCellStyle8.BackColor = System.Drawing.Color.White;
             dataGridViewCellStyle8.ForeColor = System.Drawing.Color.Black;
             this.Column05.DefaultCellStyle = dataGridViewCellStyle8;
-            this.Column05.Frozen = true;
             this.Column05.HeaderText = "ç”³ã€€è«‹ã€€æ—¥";
             this.Column05.Name = "Column05";
             this.Column05.ReadOnly = true;
@@ -414,7 +409,6 @@
             dataGridViewCellStyle9.BackColor = System.Drawing.Color.White;
             dataGridViewCellStyle9.ForeColor = System.Drawing.Color.Black;
             this.Column06.DefaultCellStyle = dataGridViewCellStyle9;
-            this.Column06.Frozen = true;
             this.Column06.HeaderText = "æœ€çµ‚æ‰¿èª�å¸Œæœ›æ—¥";
             this.Column06.Name = "Column06";
             this.Column06.ReadOnly = true;
@@ -428,13 +422,12 @@
             dataGridViewCellStyle10.BackColor = System.Drawing.Color.White;
             dataGridViewCellStyle10.ForeColor = System.Drawing.Color.Black;
             this.Column07.DefaultCellStyle = dataGridViewCellStyle10;
-            this.Column07.Frozen = true;
             this.Column07.HeaderText = "é€²æ�—çŠ¶æ…‹";
             this.Column07.Name = "Column07";
             this.Column07.ReadOnly = true;
             this.Column07.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.Column07.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column07.Width = 150;
+            this.Column07.Width = 120;
             // 
             // FrmApprovalList
             // 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalList/FrmApprovalListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalList/FrmApprovalListAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalList/FrmApprovalListAuxiliary.cs	(revision 355)
@@ -44,7 +44,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 dgvMaster.Columns[(int)DispColumn.LimitDate].HeaderCell.Style.Font = new Font("‚l‚r –¾’©", 10, FontStyle.Bold);
             }
             catch (Exception ex)
@@ -87,7 +87,25 @@
                 if (iApprovalCode == 0) return;
                 // Žó•t”Ô�†
                 int iOrderNo = CommonMotions.cnvInt(dgvMaster.CurrentRow.Cells[(int)DispColumn.OrderNo].Value);
-                if (iOrderNo == 0) return;
+                if (iOrderNo == 0)
+                {
+                    if (m_ApprovalCode != (int)ClsExcute.ApprovalListNo.PurchaseOrderEntryApproval)
+                    {   // ’�•¶�‘�\�¿ˆÈŠO‚Í�ˆ—�‚µ‚È‚¢
+                        return; 
+}
+                    else
+                    {
+                        // ƒvƒ�ƒZƒX‚ðˆê‚ÂŒ¸‚ç‚·
+                        //ClsExcute.BackProcess();
+                        // �HŽ–ˆê——‚©‚ç•\Ž¦‚ð�s‚¤‚½‚ß‹N“®ƒvƒ�ƒZƒX‚Íƒpƒ‰ƒ��[ƒ^‚Ì1‚Â–Ú‚ÉƒZƒbƒg‚·‚é�B
+                        NowPoint = ClsExcute.NextProcess((int)ClsExcute.ProcessExecuteNo.PurchaseOrderEntry);
+                        // ’�•¶�‘“ü—Í
+                        ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(iConstructionCode);
+                        ClsExcute.ProcControlPara[NowPoint].BoolExecParameter.Add(false);
+                        ClsExcute.ProcControlPara[NowPoint].BoolExecParameter.Add(true);
+                        return;
+                    }
+                }
 
                 // ŽŸ‹N“®ƒvƒ�ƒZƒXƒZƒbƒg
                 NowPoint = ClsExcute.NextProcess((int)ClsExcute.SubFormExecuteNo.ApprovalScreen);
@@ -458,21 +476,47 @@
 
                 // ƒf�[ƒ^•\Ž¦
                 int ino = 1;
-                int DepCode = 0;
+                int nDepCode = 0;
+                int nPersonDisp = 0;
+                string ConstrName = string.Empty;
                 foreach (object[] objwrk in arData)
                 {
-                    if (DepCode != CommonMotions.cnvInt(objwrk[(int)GetDataColumns.DepartmentCode]))
+                    if (nDepCode != CommonMotions.cnvInt(objwrk[(int)GetDataColumns.DepartmentCode]))
                     {
-                        if (ino != 1) dgvMaster.Rows.Add(1);
-                        DepCode = CommonMotions.cnvInt(objwrk[(int)GetDataColumns.DepartmentCode]);
+                        if (ino > 1) dgvMaster.Rows.Add(1);
                     }
+                    else
+                    {
+                        if (nPersonDisp != CommonMotions.cnvInt(objwrk[(int)GetDataColumns.PersontDispNo]))
+                        {
+                            if (ino > 1) dgvMaster.Rows.Add(1);
+                        }
+                    }
+                    nDepCode = CommonMotions.cnvInt(objwrk[(int)GetDataColumns.DepartmentCode]);
+                    nPersonDisp = CommonMotions.cnvInt(objwrk[(int)GetDataColumns.PersontDispNo]);
 
-                    // �³”F�ó‘Ô
+                    if (m_ApprovalCode != (int)ClsExcute.ApprovalListNo.PurchaseOrderEntryApproval)
+                    {   // ’�•¶�‘�³”FŽžˆÈŠO
+                        ConstrName = CommonMotions.cnvString(objwrk[(int)GetDataColumns.ConstructionName]);
+                    }
+                    else
+                    {   // ’�•¶�‘�³”FŽž
+                        int AppCnt = CommonMotions.cnvInt(objwrk[(int)GetDataColumns.OrderNo]);
+                        if (AppCnt > 0)
+                        {
+                            ConstrName = string.Format("{0}�F{1}‰ñ–Ú", CommonMotions.cnvString(objwrk[(int)GetDataColumns.ConstructionName]), AppCnt);
+                        }
+                        else
+                        {
+                            ConstrName = string.Format("{0}�F–¢�ì�¬", CommonMotions.cnvString(objwrk[(int)GetDataColumns.ConstructionName]));
+                        }
+                    }
+                    // �sƒf�[ƒ^ƒZƒbƒg
                     int AddRowCnt = dgvMaster.Rows.Add(CommonMotions.cnvInt(objwrk[(int)GetDataColumns.ConstructionCode])
                                                         , CommonMotions.cnvInt(objwrk[(int)GetDataColumns.ApprovalCode])
                                                         , CommonMotions.cnvInt(objwrk[(int)GetDataColumns.OrderNo])
                                                         , (ino++)
-                                                        , CommonMotions.cnvString(objwrk[(int)GetDataColumns.ConstructionName])
+                                                        , ConstrName
                                                         , CommonDefine.ApprovalStatusString[CommonMotions.cnvInt(objwrk[(int)GetDataColumns.ApprovalStatus])]
                                                         , CommonMotions.cnvString(objwrk[(int)GetDataColumns.PersonName])
                                                         , CommonMotions.cnvString(objwrk[(int)GetDataColumns.ApprovalDate])
@@ -606,92 +650,99 @@
         /// <param name="strSQL"></param>
         private void CreateSQL01(ref StringBuilder strSQL)
         {
-            // �HŽ–�i’»�ó‘Ô‚ªŒ©�Ï’ñ�o‚æ‚è‘O‚Ì‚à‚Ì‚Æ�ÏŽZŒ©�Ïƒf�[ƒ^‚ª�ì�¬‚³‚ê‚Ä‚¢‚é‚à‚Ì
-            int ProgressComplete = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("Œ©�Ï’ñ�o")).Key;
+            try
+            {
+                // �HŽ–�i’»�ó‘Ô‚ªŒ©�Ï’ñ�o‚æ‚è‘O‚Ì‚à‚Ì‚Æ�ÏŽZŒ©�Ïƒf�[ƒ^‚ª�ì�¬‚³‚ê‚Ä‚¢‚é‚à‚Ì
+                int ProgressComplete = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("Œ©�Ï’ñ�o")).Key;
 
-            // •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX’lŽæ“¾
-            int DepartmentCode = GetDepartmentCode();
-            // ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX’lŽæ“¾
-            int PersonCode = GetConstructionPersonCode();
+                // •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX’lŽæ“¾
+                int DepartmentCode = GetDepartmentCode();
+                // ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX’lŽæ“¾
+                int PersonCode = GetConstructionPersonCode();
 
-            // ƒZƒLƒ…ƒŠƒeƒB•¶Žš—ñŽæ“¾
-            StringBuilder wrkSec = new StringBuilder();
-            CreateSecuritySQL(ref wrkSec);
+                // ƒZƒLƒ…ƒŠƒeƒB•¶Žš—ñŽæ“¾
+                StringBuilder wrkSec = new StringBuilder();
+                CreateSecuritySQL(ref wrkSec);
 
-            strSQL.Append("SELECT");
-            strSQL.Append(" A.CONSTRUCTIONCODE,");
-            strSQL.AppendFormat(" {0},", m_ApprovalCode);
-            strSQL.AppendFormat(" {0},", CommonDefine.s_Default_OrderNo);
-            strSQL.Append(" C.DetailString,");
-            strSQL.AppendFormat("{0},", (int)CommonDefine.ApprovalStatus.Unclaimed);
-            strSQL.Append(" PERSON.PERSONNAME,");
-            strSQL.Append(" '–¢’è',");
-            strSQL.Append(" '–¢’è',");
-            strSQL.Append(" B.CONSTRUCTIONSTATUSFLG,");
-            strSQL.Append(" B.SalesDepCode,");
-            strSQL.Append(" ifnull(DEP.DISPLAYORDER, 99999),");
-            strSQL.Append(" PERSON.DISPLAYORDER");
-            strSQL.Append(" FROM ESTIMATEDATA A");
-            strSQL.Append(", CONSTRUCTIONBASEINFO B");
-            strSQL.Append(" Left Join DEPARTMENTMASTER DEP On DEP.DepartmentCode = B.SalesDepCode");
-            strSQL.Append(" Left Join CONSTRUCTIONBASEINFODETAIL DepName On DepName.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-            strSQL.AppendFormat(" And DepName.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.SalesDepartmentName);
-            strSQL.Append(", CONSTRUCTIONBASEINFODETAIL C");
-            strSQL.Append(", PERSONINCHARGEMASTER PERSON");
-            strSQL.Append(" WHERE A.LINECOUNT = 1");
-            strSQL.AppendFormat(" AND NOT EXISTS(SELECT * FROM PROCESSAPPROVAL APP WHERE APP.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE AND APP.ApprovalCode = {0})", m_ApprovalCode);
-            strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-            strSQL.AppendFormat(" AND B.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
-            strSQL.AppendFormat(" AND B.CONSTRUCTIONSTATUSFLG <= {0}", ProgressComplete);
-            strSQL.AppendFormat(" AND (A.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE AND C.DetailNo = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
-            strSQL.Append(" AND B.SALESPERSONCODE = PERSON.PERSONCODE");
-            if (DepartmentCode != 0)
-            {
-                strSQL.AppendFormat(" AND (B.SalesDepCode = {0}", DepartmentCode);
-                strSQL.AppendFormat(" AND DepName.DetailString = '{0}')", cmbDepartment.Text);
-            }
-            if (PersonCode != 0) strSQL.AppendFormat(" AND B.SALESPERSONCODE = {0}", PersonCode);
+                strSQL.Append("SELECT");
+                strSQL.Append(" A.CONSTRUCTIONCODE,");
+                strSQL.AppendFormat(" {0},", m_ApprovalCode);
+                strSQL.AppendFormat(" {0},", CommonDefine.s_Default_OrderNo);
+                strSQL.Append(" C.DetailString,");
+                strSQL.AppendFormat("{0},", (int)CommonDefine.ApprovalStatus.Unclaimed);
+                strSQL.Append(" PERSON.PERSONNAME,");
+                strSQL.Append(" '–¢’è',");
+                strSQL.Append(" '–¢’è',");
+                strSQL.Append(" B.CONSTRUCTIONSTATUSFLG,");
+                strSQL.Append(" B.SalesDepCode,");
+                strSQL.Append(" ifnull(DEP.DISPLAYORDER, 99999),");
+                strSQL.Append(" PERSON.DISPLAYORDER");
+                strSQL.Append(" FROM ESTIMATEDATA A");
+                strSQL.Append(", CONSTRUCTIONBASEINFO B");
+                strSQL.Append(" Left Join DEPARTMENTMASTER DEP On DEP.DepartmentCode = B.SalesDepCode");
+                strSQL.Append(" Left Join CONSTRUCTIONBASEINFODETAIL DepName On DepName.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                strSQL.AppendFormat(" And DepName.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.SalesDepartmentName);
+                strSQL.Append(", CONSTRUCTIONBASEINFODETAIL C");
+                strSQL.Append(", PERSONINCHARGEMASTER PERSON");
+                strSQL.Append(" WHERE A.LINECOUNT = 1");
+                strSQL.AppendFormat(" AND NOT EXISTS(SELECT * FROM PROCESSAPPROVAL APP WHERE APP.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE AND APP.ApprovalCode = {0})", m_ApprovalCode);
+                strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                strSQL.AppendFormat(" AND B.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
+                strSQL.AppendFormat(" AND B.CONSTRUCTIONSTATUSFLG <= {0}", ProgressComplete);
+                strSQL.AppendFormat(" AND (A.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE AND C.DetailNo = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
+                strSQL.Append(" AND B.SALESPERSONCODE = PERSON.PERSONCODE");
+                if (DepartmentCode != 0)
+                {
+                    strSQL.AppendFormat(" AND (B.SalesDepCode = {0}", DepartmentCode);
+                    strSQL.AppendFormat(" AND DepName.DetailString = '{0}')", cmbDepartment.Text);
+                }
+                if (PersonCode != 0) strSQL.AppendFormat(" AND B.SALESPERSONCODE = {0}", PersonCode);
 
-            strSQL.Append(wrkSec.ToString());
+                strSQL.Append(wrkSec.ToString());
 
-            strSQL.Append(" UNION SELECT");
-            strSQL.Append(" A.CONSTRUCTIONCODE,");
-            strSQL.Append(" A.APPROVALCODE,");
-            strSQL.Append(" A.ORDERNO,");
-            strSQL.Append(" C.DETAILSTRING,");
-            strSQL.Append(" A.APPROVALSTATUS,");
-            strSQL.Append(" PERSON.PERSONNAME,");
-            strSQL.Append(" DATE_FORMAT(A.ENTRYDATE,'%Y/%m/%d'),");
-            strSQL.Append(" DATE_FORMAT(A.APPROVALLIMITDATES,'%Y/%m/%d'),");
-            strSQL.Append(" B.CONSTRUCTIONSTATUSFLG,");
-            strSQL.Append(" B.SalesDepCode,");
-            strSQL.Append(" ifnull(DEP.DISPLAYORDER, 99999),");
-            strSQL.Append(" PERSON.DISPLAYORDER");
-            strSQL.Append(" FROM PROCESSAPPROVAL A");
-            strSQL.Append(", CONSTRUCTIONBASEINFO B");
-            strSQL.Append(" Left Join DEPARTMENTMASTER DEP On DEP.DepartmentCode = B.SalesDepCode");
-            strSQL.Append(" Left Join CONSTRUCTIONBASEINFODETAIL DepName On DepName.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-            strSQL.AppendFormat(" And DepName.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.SalesDepartmentName);
-            strSQL.Append(", CONSTRUCTIONBASEINFODETAIL C");
-            strSQL.Append(", PERSONINCHARGEMASTER PERSON");
-            strSQL.AppendFormat(" WHERE A.APPROVALCODE = {0} AND A.SEQNO = 1", m_ApprovalCode);
-            strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-            strSQL.AppendFormat(" AND B.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
-            strSQL.AppendFormat(" AND (B.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE AND C.DetailNo = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
-            strSQL.Append(" AND B.SALESPERSONCODE = PERSON.PERSONCODE");
-            if (DepartmentCode != 0)
+                strSQL.Append(" UNION SELECT");
+                strSQL.Append(" A.CONSTRUCTIONCODE,");
+                strSQL.Append(" A.APPROVALCODE,");
+                strSQL.Append(" A.ORDERNO,");
+                strSQL.Append(" C.DETAILSTRING,");
+                strSQL.Append(" A.APPROVALSTATUS,");
+                strSQL.Append(" PERSON.PERSONNAME,");
+                strSQL.Append(" DATE_FORMAT(A.ENTRYDATE,'%Y/%m/%d'),");
+                strSQL.Append(" DATE_FORMAT(A.APPROVALLIMITDATES,'%Y/%m/%d'),");
+                strSQL.Append(" B.CONSTRUCTIONSTATUSFLG,");
+                strSQL.Append(" B.SalesDepCode,");
+                strSQL.Append(" ifnull(DEP.DISPLAYORDER, 99999),");
+                strSQL.Append(" PERSON.DISPLAYORDER");
+                strSQL.Append(" FROM PROCESSAPPROVAL A");
+                strSQL.Append(", CONSTRUCTIONBASEINFO B");
+                strSQL.Append(" Left Join DEPARTMENTMASTER DEP On DEP.DepartmentCode = B.SalesDepCode");
+                strSQL.Append(" Left Join CONSTRUCTIONBASEINFODETAIL DepName On DepName.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                strSQL.AppendFormat(" And DepName.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.SalesDepartmentName);
+                strSQL.Append(", CONSTRUCTIONBASEINFODETAIL C");
+                strSQL.Append(", PERSONINCHARGEMASTER PERSON");
+                strSQL.AppendFormat(" WHERE A.APPROVALCODE = {0} AND A.SEQNO = 1", m_ApprovalCode);
+                strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                strSQL.AppendFormat(" AND B.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
+                strSQL.AppendFormat(" AND (B.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE AND C.DetailNo = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
+                strSQL.Append(" AND B.SALESPERSONCODE = PERSON.PERSONCODE");
+                if (DepartmentCode != 0)
+                {
+                    strSQL.AppendFormat(" AND (B.SalesDepCode = {0}", DepartmentCode);
+                    strSQL.AppendFormat(" AND DepName.DetailString = '{0}')", cmbDepartment.Text);
+                }
+                if (PersonCode != 0) strSQL.AppendFormat(" AND B.SALESPERSONCODE = {0}", PersonCode);
+                strSQL.Append(wrkSec.ToString());
+                strSQL.AppendFormat(" ORDER BY {0} ASC, {1} ASC, {2} ASC, {3} ASC, {4} ASC",
+                                                    ((int)GetDataColumns.ApprovalCode + 1),
+                                                    ((int)GetDataColumns.ConstructionStatus + 1),
+                                                    ((int)GetDataColumns.DepartmentDispNo + 1),
+                                                    ((int)GetDataColumns.PersontDispNo + 1),
+                                                    ((int)GetDataColumns.ConstructionName + 1));
+            }
+            catch (Exception ex)
             {
-                strSQL.AppendFormat(" AND (B.SalesDepCode = {0}", DepartmentCode);
-                strSQL.AppendFormat(" AND DepName.DetailString = '{0}')", cmbDepartment.Text);
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
             }
-            if (PersonCode != 0) strSQL.AppendFormat(" AND B.SALESPERSONCODE = {0}", PersonCode);
-            strSQL.Append(wrkSec.ToString());
-            strSQL.AppendFormat(" ORDER BY {0} ASC, {1} ASC, {2} ASC, {3} ASC, {4} ASC",
-                                                ((int)GetDataColumns.ApprovalCode + 1),
-                                                ((int)GetDataColumns.ConstructionStatus + 1),
-                                                ((int)GetDataColumns.DepartmentDispNo + 1),
-                                                ((int)GetDataColumns.PersontDispNo + 1),
-                                                ((int)GetDataColumns.ConstructionName + 1));
         }
         #endregion
 
@@ -702,184 +753,199 @@
         /// <param name="strSQL"></param>
         private void CreateSQL02(ref StringBuilder strSQL)
         {
-            // �HŽ–�i’»�ó‘Ô‚ªŒ©�Ï’ñ�o‚æ‚è‘O‚Ì‚à‚Ì‚Æ�ÏŽZ—\ŽZƒf�[ƒ^‚ª�ì�¬‚³‚ê‚Ä‚¢‚é‚à‚Ì
-            int ProgressComplete = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("Œ©�Ï’ñ�o")).Key;
+            try
+            {
+                // �HŽ–�i’»�ó‘Ô‚ªŒ©�Ï’ñ�o‚æ‚è‘O‚Ì‚à‚Ì‚Æ�ÏŽZ—\ŽZƒf�[ƒ^‚ª�ì�¬‚³‚ê‚Ä‚¢‚é‚à‚Ì
+                int ProgressComplete = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("Œ©�Ï’ñ�o")).Key;
 
-            // •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX’lŽæ“¾
-            int DepartmentCode = GetDepartmentCode();
-            // ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX’lŽæ“¾
-            int PersonCode = GetConstructionPersonCode();
+                // •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX’lŽæ“¾
+                int DepartmentCode = GetDepartmentCode();
+                // ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX’lŽæ“¾
+                int PersonCode = GetConstructionPersonCode();
 
-            // ƒZƒLƒ…ƒŠƒeƒB•¶Žš—ñŽæ“¾
-            StringBuilder wrkSec = new StringBuilder();
-            CreateSecuritySQL(ref wrkSec);
+                // ƒZƒLƒ…ƒŠƒeƒB•¶Žš—ñŽæ“¾
+                StringBuilder wrkSec = new StringBuilder();
+                CreateSecuritySQL(ref wrkSec);
 
-            strSQL.Append("SELECT");
-            strSQL.Append(" A.CONSTRUCTIONCODE,");
-            strSQL.AppendFormat(" {0},", m_ApprovalCode);
-            strSQL.AppendFormat(" {0},", CommonDefine.s_Default_OrderNo);
-            strSQL.Append(" C.DetailString,");
-            strSQL.AppendFormat("{0},", (int)CommonDefine.ApprovalStatus.Unclaimed);
-            strSQL.Append(" PERSON.PERSONNAME,");
-            strSQL.Append(" '–¢’è',");
-            strSQL.Append(" '–¢’è',");
-            strSQL.Append(" B.CONSTRUCTIONSTATUSFLG,");
-            strSQL.Append(" B.SalesDepCode,");
-            strSQL.Append(" ifnull(DEP.DISPLAYORDER, 99999),");
-            strSQL.Append(" PERSON.DISPLAYORDER");
-            strSQL.Append(" FROM ESTIMATEDATA A");
-            strSQL.Append(", CONSTRUCTIONBASEINFO B");
-            strSQL.Append(" Left Join DEPARTMENTMASTER DEP On DEP.DepartmentCode = B.SalesDepCode");
-            strSQL.Append(" Left Join CONSTRUCTIONBASEINFODETAIL DepName On DepName.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-            strSQL.AppendFormat(" And DepName.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.SalesDepartmentName);
-            strSQL.Append(", CONSTRUCTIONBASEINFODETAIL C");
-            strSQL.Append(", PERSONINCHARGEMASTER PERSON");
-            strSQL.AppendFormat(" WHERE NOT EXISTS(SELECT * FROM PROCESSAPPROVAL APP WHERE APP.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE AND APP.ApprovalCode = {0})", m_ApprovalCode);
-            strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-            strSQL.AppendFormat(" AND B.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
-            strSQL.AppendFormat(" AND B.CONSTRUCTIONSTATUSFLG <= {0}", ProgressComplete);
-            strSQL.AppendFormat(" AND (A.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE AND C.DetailNo = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
-            strSQL.Append(" AND B.SALESPERSONCODE = PERSON.PERSONCODE");
-            if (DepartmentCode != 0)
-            {
-                strSQL.AppendFormat(" AND (B.SalesDepCode = {0}", DepartmentCode);
-                strSQL.AppendFormat(" AND DepName.DetailString = '{0}')", cmbDepartment.Text);
+                strSQL.Append("SELECT");
+                strSQL.Append(" A.CONSTRUCTIONCODE,");
+                strSQL.AppendFormat(" {0},", m_ApprovalCode);
+                strSQL.AppendFormat(" {0},", CommonDefine.s_Default_OrderNo);
+                strSQL.Append(" C.DetailString,");
+                strSQL.AppendFormat("{0},", (int)CommonDefine.ApprovalStatus.Unclaimed);
+                strSQL.Append(" PERSON.PERSONNAME,");
+                strSQL.Append(" '–¢’è',");
+                strSQL.Append(" '–¢’è',");
+                strSQL.Append(" B.CONSTRUCTIONSTATUSFLG,");
+                strSQL.Append(" B.SalesDepCode,");
+                strSQL.Append(" ifnull(DEP.DISPLAYORDER, 99999),");
+                strSQL.Append(" PERSON.DISPLAYORDER");
+                strSQL.Append(" FROM ESTIMATEDATA A");
+                strSQL.Append(", CONSTRUCTIONBASEINFO B");
+                strSQL.Append(" Left Join DEPARTMENTMASTER DEP On DEP.DepartmentCode = B.SalesDepCode");
+                strSQL.Append(" Left Join CONSTRUCTIONBASEINFODETAIL DepName On DepName.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                strSQL.AppendFormat(" And DepName.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.SalesDepartmentName);
+                strSQL.Append(", CONSTRUCTIONBASEINFODETAIL C");
+                strSQL.Append(", PERSONINCHARGEMASTER PERSON");
+                strSQL.AppendFormat(" WHERE NOT EXISTS(SELECT * FROM PROCESSAPPROVAL APP WHERE APP.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE AND APP.ApprovalCode = {0})", m_ApprovalCode);
+                strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                strSQL.AppendFormat(" AND B.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
+                strSQL.AppendFormat(" AND B.CONSTRUCTIONSTATUSFLG <= {0}", ProgressComplete);
+                strSQL.AppendFormat(" AND (A.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE AND C.DetailNo = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
+                strSQL.Append(" AND B.SALESPERSONCODE = PERSON.PERSONCODE");
+                if (DepartmentCode != 0)
+                {
+                    strSQL.AppendFormat(" AND (B.SalesDepCode = {0}", DepartmentCode);
+                    strSQL.AppendFormat(" AND DepName.DetailString = '{0}')", cmbDepartment.Text);
+                }
+                if (PersonCode != 0) strSQL.AppendFormat(" AND B.SALESPERSONCODE = {0}", PersonCode);
+                strSQL.Append(wrkSec.ToString());
+
+                strSQL.Append(" UNION SELECT");
+                strSQL.Append(" A.CONSTRUCTIONCODE,");
+                strSQL.Append(" A.APPROVALCODE,");
+                strSQL.Append(" A.ORDERNO,");
+                strSQL.Append(" C.DETAILSTRING,");
+                strSQL.Append(" A.APPROVALSTATUS,");
+                strSQL.Append(" PERSON.PERSONNAME,");
+                strSQL.Append(" DATE_FORMAT(A.ENTRYDATE,'%Y/%m/%d'),");
+                strSQL.Append(" DATE_FORMAT(A.APPROVALLIMITDATES,'%Y/%m/%d'),");
+                strSQL.Append(" B.CONSTRUCTIONSTATUSFLG,");
+                strSQL.Append(" B.SalesDepCode,");
+                strSQL.Append(" ifnull(DEP.DISPLAYORDER, 99999),");
+                strSQL.Append(" PERSON.DISPLAYORDER");
+                strSQL.Append(" FROM PROCESSAPPROVAL A");
+                strSQL.Append(", CONSTRUCTIONBASEINFO B");
+                strSQL.Append(" Left Join DEPARTMENTMASTER DEP On DEP.DepartmentCode = B.SalesDepCode");
+                strSQL.Append(" Left Join CONSTRUCTIONBASEINFODETAIL DepName On DepName.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                strSQL.AppendFormat(" And DepName.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.SalesDepartmentName);
+                strSQL.Append(", CONSTRUCTIONBASEINFODETAIL C");
+                strSQL.Append(", PERSONINCHARGEMASTER PERSON");
+                strSQL.AppendFormat(" WHERE A.APPROVALCODE = {0} AND A.SEQNO = 1", m_ApprovalCode);
+                strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                strSQL.AppendFormat(" AND B.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
+                strSQL.AppendFormat(" AND (B.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE AND C.DetailNo = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
+                strSQL.Append(" AND B.SALESPERSONCODE = PERSON.PERSONCODE");
+                if (DepartmentCode != 0)
+                {
+                    strSQL.AppendFormat(" AND (B.SalesDepCode = {0}", DepartmentCode);
+                    strSQL.AppendFormat(" AND DepName.DetailString = '{0}')", cmbDepartment.Text);
+                }
+                if (PersonCode != 0) strSQL.AppendFormat(" AND B.SALESPERSONCODE = {0}", PersonCode);
+                strSQL.Append(wrkSec.ToString());
+                strSQL.AppendFormat(" ORDER BY {0} ASC, {1} ASC, {2} ASC, {3} ASC, {4} ASC",
+                                                    ((int)GetDataColumns.ApprovalCode + 1),
+                                                    ((int)GetDataColumns.ConstructionStatus + 1),
+                                                    ((int)GetDataColumns.DepartmentDispNo + 1),
+                                                    ((int)GetDataColumns.PersontDispNo + 1),
+                                                    ((int)GetDataColumns.ConstructionName + 1));
             }
-            if (PersonCode != 0) strSQL.AppendFormat(" AND B.SALESPERSONCODE = {0}", PersonCode);
-            strSQL.Append(wrkSec.ToString());
-
-            strSQL.Append(" UNION SELECT");
-            strSQL.Append(" A.CONSTRUCTIONCODE,");
-            strSQL.Append(" A.APPROVALCODE,");
-            strSQL.Append(" A.ORDERNO,");
-            strSQL.Append(" C.DETAILSTRING,");
-            strSQL.Append(" A.APPROVALSTATUS,");
-            strSQL.Append(" PERSON.PERSONNAME,");
-            strSQL.Append(" DATE_FORMAT(A.ENTRYDATE,'%Y/%m/%d'),");
-            strSQL.Append(" DATE_FORMAT(A.APPROVALLIMITDATES,'%Y/%m/%d'),");
-            strSQL.Append(" B.CONSTRUCTIONSTATUSFLG,");
-            strSQL.Append(" B.SalesDepCode,");
-            strSQL.Append(" ifnull(DEP.DISPLAYORDER, 99999),");
-            strSQL.Append(" PERSON.DISPLAYORDER");
-            strSQL.Append(" FROM PROCESSAPPROVAL A");
-            strSQL.Append(", CONSTRUCTIONBASEINFO B");
-            strSQL.Append(" Left Join DEPARTMENTMASTER DEP On DEP.DepartmentCode = B.SalesDepCode");
-            strSQL.Append(" Left Join CONSTRUCTIONBASEINFODETAIL DepName On DepName.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-            strSQL.AppendFormat(" And DepName.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.SalesDepartmentName);
-            strSQL.Append(", CONSTRUCTIONBASEINFODETAIL C");
-            strSQL.Append(", PERSONINCHARGEMASTER PERSON");
-            strSQL.AppendFormat(" WHERE A.APPROVALCODE = {0} AND A.SEQNO = 1", m_ApprovalCode);
-            strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-            strSQL.AppendFormat(" AND B.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
-            strSQL.AppendFormat(" AND (B.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE AND C.DetailNo = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
-            strSQL.Append(" AND B.SALESPERSONCODE = PERSON.PERSONCODE");
-            if (DepartmentCode != 0)
+            catch (Exception ex)
             {
-                strSQL.AppendFormat(" AND (B.SalesDepCode = {0}", DepartmentCode);
-                strSQL.AppendFormat(" AND DepName.DetailString = '{0}')", cmbDepartment.Text);
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
             }
-            if (PersonCode != 0) strSQL.AppendFormat(" AND B.SALESPERSONCODE = {0}", PersonCode);
-            strSQL.Append(wrkSec.ToString());
-            strSQL.AppendFormat(" ORDER BY {0} ASC, {1} ASC, {2} ASC, {3} ASC, {4} ASC",
-                                                ((int)GetDataColumns.ApprovalCode + 1),
-                                                ((int)GetDataColumns.ConstructionStatus + 1),
-                                                ((int)GetDataColumns.DepartmentDispNo + 1),
-                                                ((int)GetDataColumns.PersontDispNo + 1),
-                                                ((int)GetDataColumns.ConstructionName + 1));
         }
-        #endregion
+#endregion
 
         #region ŒŸ�õSQL�ì�¬:�HŽ–—\ŽZ�³”F
-        /// <summary>
-        /// �HŽ–—\ŽZ�³”FŒŸ�õSQL�ì�¬
-        /// </summary>
-        /// <param name="strSQL"></param>
-        private void CreateSQL03(ref StringBuilder strSQL)
+/// <summary>
+/// �HŽ–—\ŽZ�³”FŒŸ�õSQL�ì�¬
+/// </summary>
+/// <param name="strSQL"></param>
+private void CreateSQL03(ref StringBuilder strSQL)
         {
-            // �HŽ–�i’»�ó‘Ô‚ªŽ{�HŠJŽn‚æ‚è‘O‚Ì‚à‚Ì‚Æ�ÏŽZŒ©�Ïƒf�[ƒ^‚ª�³”F‚³‚ê‚Ä‚¢‚é‚à‚Ì
-            int ProgressComplete = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("Ž{�HŠJŽn")).Key;
+            try
+            {
+                // �HŽ–�i’»�ó‘Ô‚ªŽ{�HŠJŽn‚æ‚è‘O‚Ì‚à‚Ì‚Æ�ÏŽZŒ©�Ïƒf�[ƒ^‚ª�³”F‚³‚ê‚Ä‚¢‚é‚à‚Ì
+                int ProgressComplete = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("Ž{�HŠJŽn")).Key;
 
-            // •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX’lŽæ“¾
-            int DepartmentCode = GetDepartmentCode();
-            // ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX’lŽæ“¾
-            int PersonCode = GetConstructionPersonCode();
+                // •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX’lŽæ“¾
+                int DepartmentCode = GetDepartmentCode();
+                // ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX’lŽæ“¾
+                int PersonCode = GetConstructionPersonCode();
 
-            // ƒZƒLƒ…ƒŠƒeƒB•¶Žš—ñŽæ“¾
-            StringBuilder wrkSec = new StringBuilder();
-            CreateSecuritySQL(ref wrkSec);
+                // ƒZƒLƒ…ƒŠƒeƒB•¶Žš—ñŽæ“¾
+                StringBuilder wrkSec = new StringBuilder();
+                CreateSecuritySQL(ref wrkSec);
 
-            strSQL.Append("SELECT");
-            strSQL.Append(" A.CONSTRUCTIONCODE,");
-            strSQL.AppendFormat(" {0},", m_ApprovalCode);
-            strSQL.AppendFormat(" {0},", CommonDefine.s_Default_OrderNo);
-            strSQL.Append(" C.DetailString,");
-            strSQL.AppendFormat("{0},", (int)CommonDefine.ApprovalStatus.Unclaimed);
-            strSQL.Append(" PERSON.PERSONNAME,");
-            strSQL.Append(" '–¢’è',");
-            strSQL.Append(" '–¢’è',");
-            strSQL.Append(" B.CONSTRUCTIONSTATUSFLG,");
-            strSQL.Append(" B.ConstrDepCode,");
-            strSQL.Append(" ifnull(DEP.DISPLAYORDER, 99999),");
-            strSQL.Append(" PERSON.DISPLAYORDER");
-            strSQL.Append(" FROM CONSTRUCTIONBUDGET A");
-            strSQL.Append(", CONSTRUCTIONBASEINFO B");
-            strSQL.Append(" LEFT JOIN DEPARTMENTMASTER DEP On DEP.DEPARTMENTCODE = B.ConstrDepCode");
-            strSQL.Append(" Left Join CONSTRUCTIONBASEINFODETAIL DepName On DepName.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-            strSQL.AppendFormat(" And DepName.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.ConstrDepartmentName);
-            strSQL.Append(", CONSTRUCTIONBASEINFODETAIL C");
-            strSQL.Append(", PERSONINCHARGEMASTER PERSON");
-            strSQL.AppendFormat(" WHERE NOT EXISTS(SELECT * FROM PROCESSAPPROVAL APP WHERE APP.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE AND APP.ApprovalCode = {0})", m_ApprovalCode);
-            strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-            strSQL.AppendFormat(" AND B.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
-            strSQL.AppendFormat(" AND B.CONSTRUCTIONSTATUSFLG <= {0}", ProgressComplete);
-            strSQL.AppendFormat(" AND (A.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE AND C.DetailNo = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
-            strSQL.Append(" AND B.CONSTRUCTIONPERSONCODE = PERSON.PERSONCODE");
-            if (DepartmentCode != 0)
+                strSQL.Append("SELECT");
+                strSQL.Append(" A.CONSTRUCTIONCODE,");
+                strSQL.AppendFormat(" {0},", m_ApprovalCode);
+                strSQL.AppendFormat(" {0},", CommonDefine.s_Default_OrderNo);
+                strSQL.Append(" C.DetailString,");
+                strSQL.AppendFormat("{0},", (int)CommonDefine.ApprovalStatus.Unclaimed);
+                strSQL.Append(" PERSON.PERSONNAME,");
+                strSQL.Append(" '–¢’è',");
+                strSQL.Append(" '–¢’è',");
+                strSQL.Append(" B.CONSTRUCTIONSTATUSFLG,");
+                strSQL.Append(" B.ConstrDepCode,");
+                strSQL.Append(" ifnull(DEP.DISPLAYORDER, 99999),");
+                strSQL.Append(" PERSON.DISPLAYORDER");
+                strSQL.Append(" FROM CONSTRUCTIONBUDGET A");
+                strSQL.Append(", CONSTRUCTIONBASEINFO B");
+                strSQL.Append(" LEFT JOIN DEPARTMENTMASTER DEP On DEP.DEPARTMENTCODE = B.ConstrDepCode");
+                strSQL.Append(" Left Join CONSTRUCTIONBASEINFODETAIL DepName On DepName.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                strSQL.AppendFormat(" And DepName.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.ConstrDepartmentName);
+                strSQL.Append(", CONSTRUCTIONBASEINFODETAIL C");
+                strSQL.Append(", PERSONINCHARGEMASTER PERSON");
+                strSQL.AppendFormat(" WHERE NOT EXISTS(SELECT * FROM PROCESSAPPROVAL APP WHERE APP.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE AND APP.ApprovalCode = {0})", m_ApprovalCode);
+                strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                strSQL.AppendFormat(" AND B.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
+                strSQL.AppendFormat(" AND B.CONSTRUCTIONSTATUSFLG <= {0}", ProgressComplete);
+                strSQL.AppendFormat(" AND (A.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE AND C.DetailNo = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
+                strSQL.Append(" AND B.CONSTRUCTIONPERSONCODE = PERSON.PERSONCODE");
+                if (DepartmentCode != 0)
+                {
+                    strSQL.AppendFormat(" AND (B.ConstrDepCode = {0}", DepartmentCode);
+                    strSQL.AppendFormat(" AND DepName.DetailString = '{0}')", cmbDepartment.Text);
+                }
+                if (PersonCode != 0) strSQL.AppendFormat(" AND B.ConstructionPersonCode = {0}", PersonCode);
+                strSQL.Append(wrkSec.ToString());
+
+                strSQL.Append(" UNION SELECT");
+                strSQL.Append(" A.CONSTRUCTIONCODE,");
+                strSQL.Append(" A.APPROVALCODE,");
+                strSQL.Append(" A.ORDERNO,");
+                strSQL.Append(" C.DETAILSTRING,");
+                strSQL.Append(" A.APPROVALSTATUS,");
+                strSQL.Append(" PERSON.PERSONNAME,");
+                strSQL.Append(" DATE_FORMAT(A.ENTRYDATE,'%Y/%m/%d'),");
+                strSQL.Append(" DATE_FORMAT(A.APPROVALLIMITDATES,'%Y/%m/%d'),");
+                strSQL.Append(" B.CONSTRUCTIONSTATUSFLG,");
+                strSQL.Append(" B.ConstrDepCode,");
+                strSQL.Append(" ifnull(DEP.DISPLAYORDER, 99999),");
+                strSQL.Append(" PERSON.DISPLAYORDER");
+                strSQL.Append(" FROM PROCESSAPPROVAL A");
+                strSQL.Append(", CONSTRUCTIONBASEINFO B");
+                strSQL.Append(" LEFT JOIN DEPARTMENTMASTER DEP On DEP.DEPARTMENTCODE = B.ConstrDepCode");
+                strSQL.Append(" Left Join CONSTRUCTIONBASEINFODETAIL DepName On DepName.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                strSQL.AppendFormat(" And DepName.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.ConstrDepartmentName);
+                strSQL.Append(", CONSTRUCTIONBASEINFODETAIL C");
+                strSQL.Append(", PERSONINCHARGEMASTER PERSON");
+                strSQL.AppendFormat(" WHERE A.APPROVALCODE = {0} AND A.SEQNO = 1", m_ApprovalCode);
+                strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                strSQL.AppendFormat(" AND B.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
+                strSQL.AppendFormat(" AND (B.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE AND C.DetailNo = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
+                strSQL.Append(" AND B.CONSTRUCTIONPERSONCODE = PERSON.PERSONCODE");
+                if (DepartmentCode != 0)
+                {
+                    strSQL.AppendFormat(" AND (B.ConstrDepCode = {0}", DepartmentCode);
+                    strSQL.AppendFormat(" AND DepName.DetailString = '{0}')", cmbDepartment.Text);
+                }
+                if (PersonCode != 0) strSQL.AppendFormat(" AND B.ConstructionPersonCode = {0}", PersonCode);
+                strSQL.Append(wrkSec.ToString());
+                strSQL.AppendFormat(" ORDER BY {0} ASC, {1} ASC, {2} ASC, {3} ASC, {4} ASC",
+                                                    ((int)GetDataColumns.ApprovalCode + 1),
+                                                    ((int)GetDataColumns.ConstructionStatus + 1),
+                                                    ((int)GetDataColumns.DepartmentDispNo + 1),
+                                                    ((int)GetDataColumns.PersontDispNo + 1),
+                                                    ((int)GetDataColumns.ConstructionName + 1));
+            }
+            catch (Exception ex)
             {
-                strSQL.AppendFormat(" AND (B.ConstrDepCode = {0}", DepartmentCode);
-                strSQL.AppendFormat(" AND DepName.DetailString = '{0}')", cmbDepartment.Text);
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
             }
-            if (PersonCode != 0) strSQL.AppendFormat(" AND B.ConstructionPersonCode = {0}", PersonCode);
-            strSQL.Append(wrkSec.ToString());
 
-            strSQL.Append(" UNION SELECT");
-            strSQL.Append(" A.CONSTRUCTIONCODE,");
-            strSQL.Append(" A.APPROVALCODE,");
-            strSQL.Append(" A.ORDERNO,");
-            strSQL.Append(" C.DETAILSTRING,");
-            strSQL.Append(" A.APPROVALSTATUS,");
-            strSQL.Append(" PERSON.PERSONNAME,");
-            strSQL.Append(" DATE_FORMAT(A.ENTRYDATE,'%Y/%m/%d'),");
-            strSQL.Append(" DATE_FORMAT(A.APPROVALLIMITDATES,'%Y/%m/%d'),");
-            strSQL.Append(" B.CONSTRUCTIONSTATUSFLG,");
-            strSQL.Append(" B.ConstrDepCode,");
-            strSQL.Append(" ifnull(DEP.DISPLAYORDER, 99999),");
-            strSQL.Append(" PERSON.DISPLAYORDER");
-            strSQL.Append(" FROM PROCESSAPPROVAL A");
-            strSQL.Append(", CONSTRUCTIONBASEINFO B");
-            strSQL.Append(" LEFT JOIN DEPARTMENTMASTER DEP On DEP.DEPARTMENTCODE = B.ConstrDepCode");
-            strSQL.Append(" Left Join CONSTRUCTIONBASEINFODETAIL DepName On DepName.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-            strSQL.AppendFormat(" And DepName.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.ConstrDepartmentName);
-            strSQL.Append(", CONSTRUCTIONBASEINFODETAIL C");
-            strSQL.Append(", PERSONINCHARGEMASTER PERSON");
-            strSQL.AppendFormat(" WHERE A.APPROVALCODE = {0} AND A.SEQNO = 1", m_ApprovalCode);
-            strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-            strSQL.AppendFormat(" AND B.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
-            strSQL.AppendFormat(" AND (B.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE AND C.DetailNo = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
-            strSQL.Append(" AND B.CONSTRUCTIONPERSONCODE = PERSON.PERSONCODE");
-            if (DepartmentCode != 0)
-            {
-                strSQL.AppendFormat(" AND (B.ConstrDepCode = {0}", DepartmentCode);
-                strSQL.AppendFormat(" AND DepName.DetailString = '{0}')", cmbDepartment.Text);
-            }
-            if (PersonCode != 0) strSQL.AppendFormat(" AND B.ConstructionPersonCode = {0}", PersonCode);
-            strSQL.Append(wrkSec.ToString());
-            strSQL.AppendFormat(" ORDER BY {0} ASC, {1} ASC, {2} ASC, {3} ASC, {4} ASC",
-                                                ((int)GetDataColumns.ApprovalCode + 1),
-                                                ((int)GetDataColumns.ConstructionStatus + 1),
-                                                ((int)GetDataColumns.DepartmentDispNo + 1),
-                                                ((int)GetDataColumns.PersontDispNo + 1),
-                                                ((int)GetDataColumns.ConstructionName + 1));
         }
         #endregion
 
@@ -890,92 +956,111 @@
         /// <param name="strSQL"></param>
         private void CreateSQL04(ref StringBuilder strSQL)
         {
-            // �HŽ–�i’»�ó‘Ô‚ªŽ{�HŠJŽn‚æ‚è‘O‚Ì‚à‚Ì‚Æ’�•¶�‘ƒf�[ƒ^‚ª�³”F‚³‚ê‚Ä‚¢‚é‚à‚Ì
-            int ProgressComplete = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("Ž{�HŠJŽn")).Key;
+            try
+            {
+                // �HŽ–�i’»�ó‘Ô‚ªŽ{�HŠJŽn‚æ‚è‘O‚Ì‚à‚Ì‚Æ’�•¶�‘ƒf�[ƒ^‚ª�³”F‚³‚ê‚Ä‚¢‚é‚à‚Ì
+                int ProgressComplete = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("Ž{�HŠJŽn")).Key;
 
-            // •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX’lŽæ“¾
-            int DepartmentCode = GetDepartmentCode();
-            // ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX’lŽæ“¾
-            int PersonCode = GetConstructionPersonCode();
+                // •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX’lŽæ“¾
+                int DepartmentCode = GetDepartmentCode();
+                // ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX’lŽæ“¾
+                int PersonCode = GetConstructionPersonCode();
 
-            // ƒZƒLƒ…ƒŠƒeƒB•¶Žš—ñŽæ“¾
-            StringBuilder wrkSec = new StringBuilder();
-            CreateSecuritySQL(ref wrkSec);
+                // ƒZƒLƒ…ƒŠƒeƒB•¶Žš—ñŽæ“¾
+                StringBuilder wrkSec = new StringBuilder();
+                CreateSecuritySQL(ref wrkSec);
 
-            strSQL.Append("SELECT");
-            strSQL.Append(" A.CONSTRUCTIONCODE,");
-            strSQL.AppendFormat(" {0},", m_ApprovalCode);
-            strSQL.AppendFormat(" {0},", CommonDefine.s_Default_OrderNo);
-            strSQL.Append(" C.DetailString,");
-            strSQL.AppendFormat("{0},", (int)CommonDefine.ApprovalStatus.Unclaimed);
-            strSQL.Append(" PERSON.PERSONNAME,");
-            strSQL.Append(" '–¢’è',");
-            strSQL.Append(" '–¢’è',");
-            strSQL.Append(" B.CONSTRUCTIONSTATUSFLG,");
-            strSQL.Append(" B.ConstrDepCode,");
-            strSQL.Append(" ifnull(DEP.DISPLAYORDER, 99999),");
-            strSQL.Append(" PERSON.DISPLAYORDER");
-            strSQL.AppendFormat(" FROM PURCHASEORDER A");
-            strSQL.AppendFormat(", CONSTRUCTIONBASEINFO B");
-            strSQL.AppendFormat(" LEFT JOIN DEPARTMENTMASTER DEP On DEP.DepartmentCode = B.ConstrDepCode");
-            strSQL.Append(" Left Join CONSTRUCTIONBASEINFODETAIL DepName On DepName.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-            strSQL.AppendFormat(" And DepName.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.ConstrDepartmentName);
-            strSQL.AppendFormat(", CONSTRUCTIONBASEINFODETAIL C");
-            strSQL.AppendFormat(", PERSONINCHARGEMASTER PERSON");
+                strSQL.Append("SELECT");
+                strSQL.Append(" A.CONSTRUCTIONCODE,");
+                strSQL.AppendFormat(" {0},", m_ApprovalCode);
+                strSQL.Append(" 0,");
+                strSQL.Append(" C.DetailString,");
+                strSQL.AppendFormat("{0},", (int)CommonDefine.ApprovalStatus.Unclaimed);
+                strSQL.Append(" PERSON.PERSONNAME,");
+                strSQL.Append(" '–¢’è',");
+                strSQL.Append(" '–¢’è',");
+                strSQL.Append(" B.CONSTRUCTIONSTATUSFLG,");
+                strSQL.Append(" B.ConstrDepCode,");
+                strSQL.Append(" ifnull(DEP.DISPLAYORDER, 99999),");
+                strSQL.Append(" PERSON.DISPLAYORDER");
 
-            strSQL.AppendFormat(" WHERE NOT EXISTS(SELECT * FROM PROCESSAPPROVAL APP WHERE APP.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE AND APP.ApprovalCode = {0})", m_ApprovalCode);
-            strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-            strSQL.AppendFormat(" AND B.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
-            strSQL.AppendFormat(" AND B.CONSTRUCTIONSTATUSFLG <= {0}", ProgressComplete);
-            strSQL.AppendFormat(" AND (A.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE AND C.DetailNo = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
-            strSQL.Append(" AND B.CONSTRUCTIONPERSONCODE = PERSON.PERSONCODE");
-            if (DepartmentCode != 0)
-            {
-                strSQL.AppendFormat(" AND (B.ConstrDepCode = {0}", DepartmentCode);
-                strSQL.AppendFormat(" AND DepName.DetailString = '{0}')", cmbDepartment.Text);
-            }
-            if (PersonCode != 0) strSQL.AppendFormat(" AND B.ConstructionPersonCode = {0}", PersonCode);
-            strSQL.Append(wrkSec.ToString());
+                strSQL.Append(" FROM PURCHASEORDER A");
+                strSQL.Append(", CONSTRUCTIONBASEINFO B");
+                strSQL.Append(" LEFT JOIN DEPARTMENTMASTER DEP On DEP.DepartmentCode = B.ConstrDepCode");
+                strSQL.Append(" Left Join CONSTRUCTIONBASEINFODETAIL DepName On DepName.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                strSQL.AppendFormat(" And DepName.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.ConstrDepartmentName);
+                strSQL.Append(", CONSTRUCTIONBASEINFODETAIL C");
+                strSQL.Append(", PERSONINCHARGEMASTER PERSON");
+                strSQL.Append(", constructionledgerdetail As LedgerDetail");
 
-            strSQL.Append(" UNION SELECT");
-            strSQL.Append(" A.CONSTRUCTIONCODE,");
-            strSQL.Append(" A.APPROVALCODE,");
-            strSQL.Append(" A.ORDERNO,");
-            strSQL.Append(" C.DETAILSTRING,");
-            strSQL.Append(" A.APPROVALSTATUS,");
-            strSQL.Append(" PERSON.PERSONNAME,");
-            strSQL.Append(" DATE_FORMAT(A.ENTRYDATE,'%Y/%m/%d'),");
-            strSQL.Append(" DATE_FORMAT(A.APPROVALLIMITDATES,'%Y/%m/%d'),");
-            strSQL.Append(" B.CONSTRUCTIONSTATUSFLG,");
-            strSQL.Append(" B.ConstrDepCode,");
-            strSQL.Append(" ifnull(DEP.DISPLAYORDER, 99999),");
-            strSQL.Append(" PERSON.DISPLAYORDER");
-            strSQL.Append(" FROM PROCESSAPPROVAL A");
-            strSQL.Append(", CONSTRUCTIONBASEINFO B");
-            strSQL.Append(" LEFT JOIN DEPARTMENTMASTER DEP On DEP.DepartmentCode = B.ConstrDepCode");
-            strSQL.Append(" Left Join CONSTRUCTIONBASEINFODETAIL DepName On DepName.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-            strSQL.AppendFormat(" And DepName.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.ConstrDepartmentName);
-            strSQL.Append(", CONSTRUCTIONBASEINFODETAIL C");
-            strSQL.Append(", PERSONINCHARGEMASTER PERSON");
+                strSQL.Append(" WHERE");
+                strSQL.Append(" LedgerDetail.SourceCode = A.ConstructionCode");
+                strSQL.AppendFormat(" And LedgerDetail.PurchaseOrderFlg = {0}", (int)ConstructionLedgerDetail.PurOrderFlgDef.NoCreate);
 
-            strSQL.AppendFormat(" WHERE A.APPROVALCODE = {0} AND A.SEQNO = 1", m_ApprovalCode);
-            strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-            strSQL.AppendFormat(" AND B.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
-            strSQL.AppendFormat(" AND (B.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE AND C.DetailNo = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
-            strSQL.Append(" AND B.CONSTRUCTIONPERSONCODE = PERSON.PERSONCODE");
-            if (DepartmentCode != 0)
+                //strSQL.AppendFormat(" WHERE NOT EXISTS(SELECT * FROM PROCESSAPPROVAL APP WHERE APP.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE AND APP.ApprovalCode = {0})", m_ApprovalCode);
+                strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                strSQL.AppendFormat(" AND B.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
+                strSQL.AppendFormat(" AND B.CONSTRUCTIONSTATUSFLG <= {0}", ProgressComplete);
+                strSQL.AppendFormat(" AND (A.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE AND C.DetailNo = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
+                strSQL.Append(" AND B.CONSTRUCTIONPERSONCODE = PERSON.PERSONCODE");
+                if (DepartmentCode != 0)
+                {
+                    strSQL.AppendFormat(" AND (B.ConstrDepCode = {0}", DepartmentCode);
+                    strSQL.AppendFormat(" AND DepName.DetailString = '{0}')", cmbDepartment.Text);
+                }
+                if (PersonCode != 0) strSQL.AppendFormat(" AND B.ConstructionPersonCode = {0}", PersonCode);
+                strSQL.Append(wrkSec.ToString());
+
+                strSQL.Append(" UNION SELECT");
+                strSQL.Append(" A.CONSTRUCTIONCODE,");
+                strSQL.Append(" A.APPROVALCODE,");
+                strSQL.Append(" A.ORDERNO,");
+                strSQL.Append(" C.DETAILSTRING,");
+                strSQL.Append(" A.APPROVALSTATUS,");
+                strSQL.Append(" PERSON.PERSONNAME,");
+                strSQL.Append(" DATE_FORMAT(A.ENTRYDATE,'%Y/%m/%d'),");
+                strSQL.Append(" DATE_FORMAT(A.APPROVALLIMITDATES,'%Y/%m/%d'),");
+                strSQL.Append(" B.CONSTRUCTIONSTATUSFLG,");
+                strSQL.Append(" B.ConstrDepCode,");
+                strSQL.Append(" ifnull(DEP.DISPLAYORDER, 99999),");
+                strSQL.Append(" PERSON.DISPLAYORDER");
+
+                strSQL.Append(" FROM PROCESSAPPROVAL A");
+                strSQL.Append(", CONSTRUCTIONBASEINFO B");
+                strSQL.Append(" LEFT JOIN DEPARTMENTMASTER DEP On DEP.DepartmentCode = B.ConstrDepCode");
+                strSQL.Append(" Left Join CONSTRUCTIONBASEINFODETAIL DepName On DepName.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                strSQL.AppendFormat(" And DepName.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.ConstrDepartmentName);
+                strSQL.Append(", CONSTRUCTIONBASEINFODETAIL C");
+                strSQL.Append(", PERSONINCHARGEMASTER PERSON");
+
+                strSQL.AppendFormat(" WHERE A.APPROVALCODE = {0} AND A.SEQNO = 1", m_ApprovalCode);
+                strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
+                strSQL.AppendFormat(" AND B.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
+                strSQL.AppendFormat(" AND (B.CONSTRUCTIONCODE = C.CONSTRUCTIONCODE AND C.DetailNo = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
+                strSQL.Append(" AND B.CONSTRUCTIONPERSONCODE = PERSON.PERSONCODE");
+                if (DepartmentCode != 0)
+                {
+                    strSQL.AppendFormat(" AND (B.ConstrDepCode = {0}", DepartmentCode);
+                    strSQL.AppendFormat(" AND DepName.DetailString = '{0}')", cmbDepartment.Text);
+                }
+                if (PersonCode != 0) strSQL.AppendFormat(" AND B.ConstructionPersonCode = {0}", PersonCode);
+                strSQL.Append(wrkSec.ToString());
+                strSQL.AppendFormat(" Group By {0}, {1}, {2}",
+                                                   ((int)GetDataColumns.ConstructionCode + 1),
+                                                    ((int)GetDataColumns.ApprovalCode + 1),
+                                                    ((int)GetDataColumns.OrderNo + 1));
+
+                strSQL.AppendFormat(" ORDER BY {0} DESC, {1} ASC, {2} ASC, {3} ASC, {4} ASC",
+                                                    ((int)GetDataColumns.ConstructionCode + 1),
+                                                    ((int)GetDataColumns.OrderNo + 1),
+                                                    ((int)GetDataColumns.ConstructionStatus + 1),
+                                                    ((int)GetDataColumns.DepartmentDispNo + 1),
+                                                    ((int)GetDataColumns.PersontDispNo + 1));
+            }
+            catch (Exception ex)
             {
-                strSQL.AppendFormat(" AND (B.ConstrDepCode = {0}", DepartmentCode);
-                strSQL.AppendFormat(" AND DepName.DetailString = '{0}')", cmbDepartment.Text);
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
             }
-            if (PersonCode != 0) strSQL.AppendFormat(" AND B.ConstructionPersonCode = {0}", PersonCode);
-            strSQL.Append(wrkSec.ToString());
-            strSQL.AppendFormat(" ORDER BY {0} ASC, {1} ASC, {2} ASC, {3} ASC",
-                                                ((int)GetDataColumns.ApprovalCode + 1),
-                                                ((int)GetDataColumns.ConstructionStatus + 1),
-                                                ((int)GetDataColumns.DepartmentDispNo + 1),
-                                                ((int)GetDataColumns.PersontDispNo + 1),
-                                                ((int)GetDataColumns.ConstructionName + 1));
         }
         #endregion
 
@@ -1130,7 +1215,7 @@
             // ƒtƒH�[ƒ€ƒTƒCƒYŽæ“¾
             m_FormWidthSize = this.Width;
 
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
             m_GridWidthSize = dgv.Width;
 
@@ -1151,7 +1236,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 int idifference = 0;
                 // �Å‘å‰»‚Ì�ê�‡
                 if (!bNormal)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmAppManAux.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmAppManAux.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmAppManAux.cs	(revision 355)
@@ -607,7 +607,7 @@
             IOPaymentDataDetail PayDetailDB = new IOPaymentDataDetail();
             try
             {
-                DataGridView dgv = dgvEntryData;
+                DataGridViewEX dgv = dgvEntryData;
                 int nTergetRowCnt = -1;
                 // æ‰¿èª�é †åº�å�–å¾—
                 for (int i = 0; i < dgv.RowCount; i++)
@@ -725,7 +725,7 @@
         {
             try
             {
-                DataGridView dgv = dgvEntryData;
+                DataGridViewEX dgv = dgvEntryData;
 
                 // DBãƒ‡ãƒ¼ã‚¿å­˜åœ¨ç¢ºèª�ãƒ�ã‚§ãƒƒã‚¯
                 StringBuilder strSQL = new StringBuilder();
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPerson.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPerson.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPerson.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.DataEntry
+ï»¿namespace ProcessManagement.Forms.DataEntry
 {
     partial class FrmApprovalPerson
     {
@@ -800,7 +798,7 @@
         private System.Windows.Forms.Label label1;
         private System.Windows.Forms.Button btnEnd;
         private System.Windows.Forms.Panel panel2;
-        private DataGridViewEX dgvEntryData;
+        private CustomControls.DataGridViewEX dgvEntryData;
         private System.Windows.Forms.Panel panel1;
         private System.Windows.Forms.Panel panel3;
         private System.Windows.Forms.ToolTip toolTip1;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPersonAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPersonAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalPerson/FrmApprovalPersonAuxiliary.cs	(revision 355)
@@ -789,7 +789,7 @@
             string strErrMsg = string.Empty;
             try
             {
-                DataGridView dgv = dgvEntryData;
+                DataGridViewEX dgv = dgvEntryData;
                 DataGridViewRow Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispGridColumn.ApprovalCode].Value)
                                                                                         == CommonMotions.LoginUserData.PersonCode)
                                                                             .FirstOrDefault();
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreen.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreen.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreen.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.DataEntry
+ï»¿namespace ProcessManagement.Forms.DataEntry
 {
     partial class FrmApprovalScreen
     {
@@ -938,7 +936,7 @@
         private System.Windows.Forms.Label label1;
         private System.Windows.Forms.Button btnEnd;
         private System.Windows.Forms.Panel panel2;
-        private DataGridViewEX dgvEntryData;
+        private CustomControls.DataGridViewEX dgvEntryData;
         private System.Windows.Forms.Panel panel3;
         private System.Windows.Forms.ToolTip toolTip1;
         private System.Windows.Forms.Label lblLabel05;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreenAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreenAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreenAuxiliary.cs	(revision 355)
@@ -1163,7 +1163,7 @@
 
                 for (int i = 0; i < m_PurchaseOrderSeqNo.Count; i++)
                 {
-                    wrkArr.Add(new object[] { m_ConstructionCode,                         // ConstructionCode
+                    wrkArr.Add(new object[] { m_ConstructionCode,                               // ConstructionCode
                                                     "",                                         // FirstString
                                                     "",                                         // SecondString
                                                     0,                                          // CompanyCode
@@ -1202,7 +1202,7 @@
             string strErrMsg = string.Empty;
             try
             {
-                DataGridView dgv = dgvEntryData;
+                DataGridViewEX dgv = dgvEntryData;
                 DataGridViewRow Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispGridColumn.ApprovalCode].Value)
                                                                                         == CommonMotions.LoginUserData.PersonCode)
                                                                             .FirstOrDefault();
@@ -1258,7 +1258,7 @@
         {
             try
             {
-                DataGridView dgv = dgvEntryData;
+                DataGridViewEX dgv = dgvEntryData;
 
                 int nPresonCode = (int)DispGridColumn.ApprovalCode;
                 DataGridViewRow[] CurRow = dgv.Rows.Cast<DataGridViewRow>()
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionList.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionList.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionList.designer.cs	(revision 355)
@@ -374,7 +374,6 @@
             // 
             this.dgvMaster.AllowUserToAddRows = false;
             this.dgvMaster.AllowUserToDeleteRows = false;
-            this.dgvMaster.AllowUserToResizeColumns = false;
             this.dgvMaster.AllowUserToResizeRows = false;
             dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
             this.dgvMaster.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
@@ -444,7 +443,6 @@
             // 
             dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
             this.Column9.DefaultCellStyle = dataGridViewCellStyle4;
-            this.Column9.Frozen = true;
             this.Column9.HeaderText = "å–¶æ¥­éƒ¨ç½²";
             this.Column9.Name = "Column9";
             this.Column9.ReadOnly = true;
@@ -455,11 +453,9 @@
             // 
             dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
             this.Column5.DefaultCellStyle = dataGridViewCellStyle5;
-            this.Column5.Frozen = true;
             this.Column5.HeaderText = "å–¶æ¥­æ‹…å½“è€…";
             this.Column5.Name = "Column5";
             this.Column5.ReadOnly = true;
-            this.Column5.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.Column5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column5.Width = 135;
             // 
@@ -467,7 +463,6 @@
             // 
             dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
             this.Column10.DefaultCellStyle = dataGridViewCellStyle6;
-            this.Column10.Frozen = true;
             this.Column10.HeaderText = "å·¥äº‹éƒ¨ç½²";
             this.Column10.Name = "Column10";
             this.Column10.ReadOnly = true;
@@ -478,11 +473,9 @@
             // 
             dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
             this.Column6.DefaultCellStyle = dataGridViewCellStyle7;
-            this.Column6.Frozen = true;
             this.Column6.HeaderText = "å·¥äº‹æ‹…å½“è€…";
             this.Column6.Name = "Column6";
             this.Column6.ReadOnly = true;
-            this.Column6.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.Column6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column6.Width = 135;
             // 
@@ -490,11 +483,9 @@
             // 
             dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
             this.Column4.DefaultCellStyle = dataGridViewCellStyle8;
-            this.Column4.Frozen = true;
             this.Column4.HeaderText = "å·¥ã€€äº‹ã€€å��ã€€ç§°";
             this.Column4.Name = "Column4";
             this.Column4.ReadOnly = true;
-            this.Column4.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.Column4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column4.Width = 530;
             // 
@@ -502,7 +493,6 @@
             // 
             dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
             this.Column7.DefaultCellStyle = dataGridViewCellStyle9;
-            this.Column7.Frozen = true;
             this.Column7.HeaderText = "æ–½å·¥çŠ¶æ…‹";
             this.Column7.Name = "Column7";
             this.Column7.ReadOnly = true;
@@ -514,7 +504,6 @@
             // 
             dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
             this.Column8.DefaultCellStyle = dataGridViewCellStyle10;
-            this.Column8.Frozen = true;
             this.Column8.HeaderText = "å�°åˆ·";
             this.Column8.Name = "Column8";
             this.Column8.ReadOnly = true;
@@ -526,7 +515,6 @@
             // 
             dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
             this.Column3.DefaultCellStyle = dataGridViewCellStyle11;
-            this.Column3.Frozen = true;
             this.Column3.HeaderText = "å–¶æ¥­æœŸ";
             this.Column3.Name = "Column3";
             this.Column3.ReadOnly = true;
@@ -539,7 +527,6 @@
             // 
             dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
             this.Column2.DefaultCellStyle = dataGridViewCellStyle12;
-            this.Column2.Frozen = true;
             this.Column2.HeaderText = "å·¥äº‹ã‚³ãƒ¼ãƒ‰";
             this.Column2.Name = "Column2";
             this.Column2.ReadOnly = true;
@@ -550,7 +537,6 @@
             // 
             // Column11
             // 
-            this.Column11.Frozen = true;
             this.Column11.HeaderText = "ç”³è«‹å�—ä»˜ç•ªå�·";
             this.Column11.Name = "Column11";
             this.Column11.ReadOnly = true;
@@ -617,6 +603,10 @@
         private System.Windows.Forms.RadioButton radioButton2;
         private System.Windows.Forms.RadioButton radioButton1;
         private System.Windows.Forms.ProgressBar ProgressBar;
+        private System.Windows.Forms.Label lblEstimateType03;
+        private System.Windows.Forms.Label lblEstimateType02;
+        private System.Windows.Forms.Label lblEstimateType01;
+        private CustomControls.GroupBoxEx grpExample1;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column9;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
@@ -628,9 +618,5 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column11;
-        private System.Windows.Forms.Label lblEstimateType03;
-        private System.Windows.Forms.Label lblEstimateType02;
-        private System.Windows.Forms.Label lblEstimateType01;
-        private CustomControls.GroupBoxEx grpExample1;
     }
 }
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionListAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionListAuxiliary.cs	(revision 355)
@@ -169,7 +169,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 int NowPoint = ClsExcute.GetNowProcessPoint();
                 // Œ»�Ý�Ý’è’lƒNƒŠƒA
@@ -1209,7 +1209,7 @@
             IOPurchaseOrder OrderDB = new IOPurchaseOrder();
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 ProgressBar.Maximum = arData.Count;
 
                 // ƒf�[ƒ^•\Ž¦
@@ -1646,7 +1646,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 int NowPoint = ClsExcute.GetNowProcessPoint();
 
@@ -1693,7 +1693,7 @@
                 // ƒtƒH�[ƒ€ƒTƒCƒYŽæ“¾
                 m_FormWidthSize = this.Width;
 
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
                 m_GridWidthSize = dgv.Width;
 
@@ -1818,7 +1818,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 // �ó‘Ô•\Ž¦•\Ž¦
                 dgv.Columns[(int)DispColumn.OtherStatus].Visible = true;
                 // ƒJƒ‰ƒ€‚Ì•�•Ï�X
@@ -1841,7 +1841,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 for (int i = 0; i < dgv.ColumnCount; i++)
                 {
                     dgv.Columns[i].HeaderCell.Style.BackColor = Color.LightGray;
@@ -1864,7 +1864,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 int idifference = 0;
                 // �Å‘å‰»‚Ì�ê�‡
                 if (!bNormal)
@@ -2218,7 +2218,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 for (int i = (dgv.RowCount - 1); i >= 0; i--)
                 {
                     if (CommonMotions.cnvInt(dgv.Rows[i].Cells[(int)DispColumn.No].Value) == 0)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfo.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfo.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfo.cs	(revision 355)
@@ -1400,15 +1400,23 @@
                 SetDisplayObject();
 
                 // ƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒg
+                SetcmbConstructionYear();                   // �HŽ–”N“x
+                SetcmbConstructionPeriod();                 // ‰c‹ÆŠú
                 SetDepartmentCombbox();                     // •”��
                 SetcmbPersonInCharge();                     // ’S“–ŽÒ
                 //SetConstrManCombbox();                      // �HŽ–’S“–ŽÒ�iˆøŒp•”��‚ð‘Î�Û‚É‚·‚é�j
-                SetcmbConstructionYear();                   // �HŽ–”N“x
-                SetcmbConstructionPeriod();                 // ‰c‹ÆŠú
                 SetcmbDivisionCombBox();                    // ”­’�ŽÒ‹æ•ª
                 SetcmbConstructionTypeCombBox();            // �HŽ–Ží•Ê
                 SetcmbTransferConstructionCombBox();        // �HŽ–ˆøŒp
 
+                // ƒRƒ“ƒ{ƒ{ƒbƒNƒXƒCƒxƒ“ƒgƒZƒbƒg
+                SetcmbConstYearEvent(true);
+                SetCmbDepartmentEvent(true);
+                SetCmbPersonEvent(true);
+                SetCmbOrdersDivEvent(true);
+                SetcmbConstrTypeEvent(true);
+                SetcmbTransConstrEvent(true);
+
                 // �‰Šú•\Ž¦
                 InitDataLoad();
 
@@ -1454,15 +1462,6 @@
                     if (TransferCode < 99999 && nDepCode < 1) comboBoxEX2.SelectedValue = TransferCode;
                 }
 
-                // ƒRƒ“ƒ{ƒ{ƒbƒNƒXƒCƒxƒ“ƒgƒZƒbƒg
-                SetcmbConstYearEvent(true);
-                SetCmbDepartmentEvent(true);
-                SetCmbPersonEvent(true);
-                SetCmbOrdersDivEvent(true);
-                SetcmbConstrTypeEvent(true);
-                SetcmbTransConstrEvent(true);
-
-
                 // �‰ŠúƒtƒH�[ƒJƒX
                 this.ActiveControl = m_DspCtrl[(int)DspCnt.ConstructionPeriod];
 
@@ -1542,7 +1541,7 @@
         private void cmbDisplayOrderers_SelectedIndexChanged(object sender, EventArgs e)
         {
             // �‰Šú•\Ž¦Žž‚Í�ˆ—�‚µ‚È‚¢
-            if (bInitFlg) return;
+            //if (bInitFlg) return;
 
             // ‘I‘ð–³‚Í�ˆ—�‚µ‚È‚¢
             if (cmbDisplayOrderers.SelectedIndex == -1) return;
@@ -1569,7 +1568,7 @@
         private void cmbTransferConstruction_SelectedIndexChanged(object sender, EventArgs e)
         {
             // �‰Šú•\Ž¦Žž‚Í�ˆ—�‚µ‚È‚¢
-            if (bInitFlg) return;
+            //if (bInitFlg) return;
 
             // ˆøŒp�æ‚ª–¢�Ý’è‚Í�ˆ—�‚µ‚È‚¢
             if (cmbTransferConstruction.Text.Length == 0) return;
@@ -1618,7 +1617,7 @@
         private void CmbConstrPerson_SelectedIndexChanged(object sender, EventArgs e)
         {
             // �‰Šú•\Ž¦Žž‚Í�ˆ—�‚µ‚È‚¢
-            if (bInitFlg) return;
+            //if (bInitFlg) return;
 
             // ’S“–ŽÒƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X�ˆ—�
             cmbPerson_SelectedIndexChanged(sender, e);
@@ -1648,7 +1647,7 @@
         private void cmbOrdersDivision_SelectedIndexChanged(object sender, EventArgs e)
         {
             // �‰Šú•\Ž¦Žž‚Í�ˆ—�‚µ‚È‚¢
-            if (bInitFlg) return;
+            //if (bInitFlg) return;
 
             // ‘I‘ð–³‚Í�ˆ—�‚µ‚È‚¢
             if (cmbOrdersDivision.SelectedIndex == -1) return;
@@ -2010,7 +2009,7 @@
         private void comboBoxEX1_SelectedIndexChanged(object sender, EventArgs e)
         {
             // �‰Šú•\Ž¦Žž‚Í�ˆ—�‚µ‚È‚¢
-            if (bInitFlg) return;
+            //if (bInitFlg) return;
 
             // ƒRƒ“ƒ{ƒ{ƒbƒNƒXƒCƒxƒ“ƒgƒNƒŠƒA
             SetCmbDepartmentEvent(false);
@@ -2023,28 +2022,27 @@
             if (combObj == comboBoxEX1)
             {   // ‰c‹Æ’S“–
                 combObj = cmbSalesPerson;
-                SetcombBoxPerson(SelDepCode, combObj);
             }
             else if (combObj == comboBoxEX2)
             {   // �HŽ–’S“–
                 combObj = cmbConstrPerson;
-                SetcombBoxPerson(SelDepCode, combObj);
             }
             else if (combObj == comboBoxEX3)
             {   // �HŽ–•›’S“–
                 combObj = cmbConstrSubPerson;
-                SetcombBoxPerson(SelDepCode, combObj);
             }
             else if (combObj == comboBoxEX4)
             {   // �HŽ–Žw“±ˆõ
                 combObj = cmbConstrInst;
-                SetcombBoxPerson(SelDepCode, combObj);
             }
             else if (combObj == comboBoxEX5)
             {   // ‰c‹Æ•›’S“–
                 combObj = cmbSalesSubPerson;
-                SetcombBoxPerson(SelDepCode, combObj);
             }
+            // •”��‚ª–³‚¢Žž‚Í’S“–ŽÒ‚ðƒNƒŠƒA
+            if (SelDepCode < 1) combObj.SelectedValue = 0;
+            // ’S“–ŽÒƒRƒ“ƒ{ƒZƒbƒg
+            SetcombBoxPerson(SelDepCode, combObj);
 
             // ƒRƒ“ƒ{ƒ{ƒbƒNƒXƒCƒxƒ“ƒgƒZƒbƒg
             SetCmbDepartmentEvent(true);
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfo.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfo.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfo.designer.cs	(revision 355)
@@ -57,7 +57,7 @@
             this.BasePanel = new System.Windows.Forms.Panel();
             this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
             this.panel10 = new System.Windows.Forms.Panel();
-            this.dgvPayment = new System.Windows.Forms.DataGridView();
+            this.dgvPayment = new CustomControls.DataGridViewEX();
             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -240,12 +240,12 @@
             this.label116 = new System.Windows.Forms.Label();
             this.btnLink = new System.Windows.Forms.Button();
             this.label74 = new System.Windows.Forms.Label();
-            this.dgvPurchaseOrder = new System.Windows.Forms.DataGridView();
+            this.dgvPurchaseOrder = new CustomControls.DataGridViewEX();
             this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dgvLink = new System.Windows.Forms.DataGridView();
+            this.dgvLink = new CustomControls.DataGridViewEX();
             this.Column0 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -269,7 +269,7 @@
             this.panel9 = new System.Windows.Forms.Panel();
             this.label104 = new System.Windows.Forms.Label();
             this.label94 = new System.Windows.Forms.Label();
-            this.dgvBillingDate = new System.Windows.Forms.DataGridView();
+            this.dgvBillingDate = new CustomControls.DataGridViewEX();
             this.BillingGridColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.BillingGridColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.BillingGridColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -4486,7 +4486,7 @@
         private System.Windows.Forms.Label label114;
         private System.Windows.Forms.Label label115;
         private System.Windows.Forms.Label label74;
-        private System.Windows.Forms.DataGridView dgvLink;
+        private CustomControls.DataGridViewEX dgvLink;
         private System.Windows.Forms.Button btnLink;
         private System.Windows.Forms.Panel pnlFluctuation;
         private System.Windows.Forms.RadioButton rdbExistsFluctuation;
@@ -4502,7 +4502,7 @@
         private System.Windows.Forms.Label label118;
         private System.Windows.Forms.Label label117;
         private System.Windows.Forms.Label lblJointLabel;
-        private System.Windows.Forms.DataGridView dgvPurchaseOrder;
+        private CustomControls.DataGridViewEX dgvPurchaseOrder;
         private System.Windows.Forms.Label label119;
         private System.Windows.Forms.Label label120;
         private System.Windows.Forms.Label label121;
@@ -4518,7 +4518,7 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn Column9;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column10;
         private System.Windows.Forms.TextBox textBox3;
-        private System.Windows.Forms.DataGridView dgvBillingDate;
+        private CustomControls.DataGridViewEX dgvBillingDate;
         private System.Windows.Forms.Label label124;
         private System.Windows.Forms.Label label125;
         private System.Windows.Forms.Label label126;
@@ -4532,7 +4532,7 @@
         private ProcessManagement.Forms.CustomControls.TextBoxEX textBoxEX6;
         private System.Windows.Forms.Label label87;
         private System.Windows.Forms.Label label86;
-        private System.Windows.Forms.DataGridView dgvPayment;
+        private CustomControls.DataGridViewEX dgvPayment;
         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfoAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfoAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfoAuxiliary.cs	(revision 355)
@@ -599,7 +599,7 @@
         {
             try
             {
-                DataGridView dgv = dgvBillingDate;
+                DataGridViewEX dgv = dgvBillingDate;
 
                 dgv.Rows.Clear();
                 dgv.Rows.Add(7);
@@ -693,7 +693,7 @@
         /// <param name="arList"></param>
         private void GridBillingDate(ArrayList arList)
         {
-            DataGridView dgv = dgvBillingDate;
+            DataGridViewEX dgv = dgvBillingDate;
             try
             {
                 object[] CurRec = null;
@@ -740,7 +740,7 @@
         {
             try
             {
-                DataGridView dgv = dgvPayment;
+                DataGridViewEX dgv = dgvPayment;
 
                 dgv.Rows.Clear();
                 dgv.Rows.Add(8);
@@ -844,7 +844,7 @@
                 ArrayList arList = new ArrayList();
                 if (!DepositDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
 
-                DataGridView dgv = dgvPayment;
+                DataGridViewEX dgv = dgvPayment;
                 object[] CurRec = null;
                 string strDefDate = DateTime.MinValue.ToShortDateString();
                 for (int i = 0; i < arList.Count; i++)
@@ -1418,7 +1418,7 @@
         {
             try
             {
-                DataGridView dgv = dgvPurchaseOrder;
+                DataGridViewEX dgv = dgvPurchaseOrder;
                 dgv.Rows.Add(8);
                 dgv.Rows[0].Visible = false;
                 dgv.Rows[1].Visible = false;
@@ -1443,7 +1443,7 @@
         private void DispPurchaseOrderGrid()
         {
             IOPurchaseOrder POrderDB = new IOPurchaseOrder();
-            DataGridView dgv = dgvPurchaseOrder;
+            DataGridViewEX dgv = dgvPurchaseOrder;
             try
             {
                 // ’�•¶�‘�î•ñƒOƒŠƒbƒh�‰Šú�Ý’è
@@ -1557,7 +1557,7 @@
         /// �î•ñƒOƒŠƒbƒhƒJƒ‰ƒ€’Ç‰Á
         /// </summary>
         /// <param name="ColCnt"></param>
-        private void CreatedgvGridColumn(DataGridView dgv,int RowCnt, int ColCnt)
+        private void CreatedgvGridColumn(DataGridViewEX dgv,int RowCnt, int ColCnt)
         {
             try
             {
@@ -1722,7 +1722,7 @@
         /// </summary>
         private void DispLinkJoiningDataGrid(int JoinFlg)
         {
-            DataGridView dgv = dgvLink;
+            DataGridViewEX dgv = dgvLink;
             try
             {
                 int[] iTotalArray = new int[4];
@@ -1837,7 +1837,7 @@
         private void DispLinkTyingDataGrid()
         {
             IOConstructionBaseInfo BaseDB = new IOConstructionBaseInfo();
-            DataGridView dgv = dgvLink;
+            DataGridViewEX dgv = dgvLink;
             try
             {
                 label74.Text = "‘�Œ¸�HŽ–";
@@ -2255,7 +2255,7 @@
                 // ’S“–ŽÒƒ}ƒXƒ^‚ðŒŸ�õ‚·‚é
                 int nTargetCount = GetTargetYear();
                 StringBuilder strSQL = new StringBuilder();
-                CommonMotions.CreateManCombBoxSQL(ref strSQL, nTargetCount);
+                CommonMotions.CreateManCombBoxSQL(ref strSQL, nTargetCount, 0, -2);
 
                 // ’S“–ŽÒƒ}ƒXƒ^“Ç�ž
                 ArrayList workList = new ArrayList();
@@ -5288,7 +5288,7 @@
                 // ŽQ�ÆŽž‚Í�ˆ—�‚µ‚È‚¢
                 //if (m_EditLock) return;
 
-                DataGridView dgv = dgvLink;
+                DataGridViewEX dgv = dgvLink;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 int NewCode = CommonMotions.cnvInt(CurRow.Cells[(int)LinkGridColumn.ConstrCode].Value);
@@ -5319,7 +5319,7 @@
         {
             try
             {
-                DataGridView dgv = dgvPurchaseOrder;
+                DataGridViewEX dgv = dgvPurchaseOrder;
                 DataGridViewCell CurCell = dgv.CurrentCell;
 
                 int nConstrCode = CommonMotions.cnvInt(dgv.Rows[0].Cells[CurCell.ColumnIndex].Value);
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/ProcessControl.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/ProcessControl.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/ProcessControl.cs	(revision 355)
@@ -37,7 +37,7 @@
         /// <summary>
         /// ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼
         /// </summary>
-        private ContextMenuStrip m_ProcessContextMenuStrip;
+        private ContextMenuStrip m_ProcessContextMenuStrip = new ContextMenuStrip();
         #endregion
 
         #region åˆ¥ãƒ—ãƒ­ã‚»ã‚¹ç§»å‹•ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä½œæˆ�
@@ -48,12 +48,8 @@
         {
             try
             {
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä¸€è¦§ã‚’ä½œæˆ�ã�™ã‚‹
-                m_ProcessContextMenuStrip = new ContextMenuStrip();
-
                 // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�®ã‚»ãƒƒãƒˆ
                 UpDateProcessContextMenu(bSubForm);
-
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudget.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudget.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudget.cs	(revision 355)
@@ -689,6 +689,14 @@
                     return;
                 }
 
+                // �HŽ–•”��‚Ìƒ`ƒFƒbƒN
+                if(m_ConstructionBaseInfo.ConstrDepCode < 1)
+                {
+                    MessageBox.Show("�HŽ–•”��‚ª�Ý’è‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ", "ƒGƒ‰�[•\Ž¦", MessageBoxButtons.OK, MessageBoxIcon.Error);
+                    this.Close();
+                    return;
+                }
+
                 // �HŽ–ˆÄŒ�‚Ì�³”F�ó‘Ô‚ðŠm”F‚·‚é
                 m_ApprovalFlg = ApprovalCheck();
 
@@ -900,7 +908,7 @@
         /// <param name="e"></param>
         private void dgvAllDisplay_KeyDown(object sender, KeyEventArgs e)
         {
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
 
             // ƒf�[ƒ^ƒOƒŠƒbƒh‚ªActive‚Å‚È‚¯‚ê‚Î�ˆ—�‚µ‚È‚¢
             if (ActiveControl == null) return;
@@ -953,7 +961,7 @@
                 if (ActiveControl == null) return;
                 if (!ActiveControl.GetType().Equals(typeof(DataGridViewEX))) return;
 
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // ŠO’�”ï�EŽ©ŽÐŽ{�H�E�w“ü•i�s‚Íƒ{ƒ^ƒ“‚ð�s‘€�ìƒ{ƒ^ƒ“‚ð•\Ž¦‚·‚é
                 DispControlLineButton();
@@ -1013,7 +1021,7 @@
         /// <param name="e"></param>
         private void dgvAllDisplay_SelectionChanged(object sender, EventArgs e)
         {
-            DataGridView dgv = dgvAllDisplay;
+            DataGridViewEX dgv = dgvAllDisplay;
             // �s‘I‘ð�F‚ðŒ³‚É–ß‚·
             if (m_BeforeGridRow != -1) DefaultRowChangeColor(m_BeforeGridRow);
 
@@ -1032,7 +1040,7 @@
         /// <param name="e"></param>
         private void dgvAllDisplay_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
         {
-            DataGridView dgv = dgvAllDisplay;
+            DataGridViewEX dgv = dgvAllDisplay;
 
             // ƒOƒŠƒbƒh‚²‚Æ�‘�ž‚Ý‹ÖŽ~‚Í�ˆ—��I—¹
             if (dgv.ReadOnly) return;
@@ -1094,7 +1102,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 lblCellTotal.Text = string.Empty;
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudget.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudget.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudget.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.DataEntry
+ï»¿namespace ProcessManagement.Forms.DataEntry
 {
     partial class FrmConstructionBudget
     {
@@ -30,16 +28,16 @@
         /// </summary>
         private void InitializeComponent()
         {
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
             this.label1 = new System.Windows.Forms.Label();
             this.btnDataDelete = new System.Windows.Forms.Button();
             this.btnDataEntry = new System.Windows.Forms.Button();
@@ -95,10 +93,6 @@
             this.btnLineAdd = new System.Windows.Forms.Button();
             this.panel2 = new System.Windows.Forms.Panel();
             this.lblCellTotal = new System.Windows.Forms.Label();
-            this.btnDispDown = new System.Windows.Forms.Button();
-            this.btnDispUp = new System.Windows.Forms.Button();
-            this.btnOtherProc = new System.Windows.Forms.Button();
-            this.btnChangeExpenses = new System.Windows.Forms.Button();
             this.dgvAllDisplay = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -119,6 +113,10 @@
             this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.btnDispDown = new System.Windows.Forms.Button();
+            this.btnDispUp = new System.Windows.Forms.Button();
+            this.btnOtherProc = new System.Windows.Forms.Button();
+            this.btnChangeExpenses = new System.Windows.Forms.Button();
             this.panel1.SuspendLayout();
             this.pnlApproval.SuspendLayout();
             this.pnlApprovalButton.SuspendLayout();
@@ -154,6 +152,7 @@
             this.btnDataDelete.TabIndex = 13;
             this.btnDataDelete.Text = "å‰Šã€€é™¤";
             this.btnDataDelete.UseVisualStyleBackColor = false;
+            this.btnDataDelete.Visible = false;
             this.btnDataDelete.Click += new System.EventHandler(this.btnDataDelete_Click);
             // 
             // btnDataEntry
@@ -827,66 +826,10 @@
             this.lblCellTotal.Size = new System.Drawing.Size(0, 13);
             this.lblCellTotal.TabIndex = 36;
             // 
-            // btnDispDown
-            // 
-            this.btnDispDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnDispDown.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnDispDown.Location = new System.Drawing.Point(1300, 418);
-            this.btnDispDown.Name = "btnDispDown";
-            this.btnDispDown.Size = new System.Drawing.Size(40, 40);
-            this.btnDispDown.TabIndex = 42;
-            this.btnDispDown.TabStop = false;
-            this.btnDispDown.Text = "â–¼";
-            this.btnDispDown.UseVisualStyleBackColor = true;
-            this.btnDispDown.Visible = false;
-            this.btnDispDown.Click += new System.EventHandler(this.btnDispDown_Click);
-            // 
-            // btnDispUp
-            // 
-            this.btnDispUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnDispUp.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnDispUp.Location = new System.Drawing.Point(1300, 354);
-            this.btnDispUp.Name = "btnDispUp";
-            this.btnDispUp.Size = new System.Drawing.Size(40, 40);
-            this.btnDispUp.TabIndex = 41;
-            this.btnDispUp.TabStop = false;
-            this.btnDispUp.Text = "â–²";
-            this.btnDispUp.UseVisualStyleBackColor = true;
-            this.btnDispUp.Visible = false;
-            this.btnDispUp.Click += new System.EventHandler(this.btnDispUp_Click);
-            // 
-            // btnOtherProc
-            // 
-            this.btnOtherProc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.btnOtherProc.BackColor = System.Drawing.Color.SpringGreen;
-            this.btnOtherProc.Location = new System.Drawing.Point(7, 656);
-            this.btnOtherProc.Name = "btnOtherProc";
-            this.btnOtherProc.Size = new System.Drawing.Size(160, 30);
-            this.btnOtherProc.TabIndex = 95;
-            this.btnOtherProc.TabStop = false;
-            this.btnOtherProc.Text = "ä»–ã�®ç”»é�¢ã�¸";
-            this.btnOtherProc.UseVisualStyleBackColor = false;
-            this.btnOtherProc.Click += new System.EventHandler(this.btnOtherProc_Click);
-            // 
-            // btnChangeExpenses
-            // 
-            this.btnChangeExpenses.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.btnChangeExpenses.BackColor = System.Drawing.Color.Gold;
-            this.btnChangeExpenses.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold);
-            this.btnChangeExpenses.Location = new System.Drawing.Point(223, 656);
-            this.btnChangeExpenses.Name = "btnChangeExpenses";
-            this.btnChangeExpenses.Size = new System.Drawing.Size(130, 30);
-            this.btnChangeExpenses.TabIndex = 103;
-            this.btnChangeExpenses.Text = "çµŒè²»å¤‰æ›´";
-            this.btnChangeExpenses.UseVisualStyleBackColor = false;
-            this.btnChangeExpenses.Visible = false;
-            this.btnChangeExpenses.Click += new System.EventHandler(this.btnChangeExpenses_Click);
-            // 
             // dgvAllDisplay
             // 
             this.dgvAllDisplay.AllowUserToAddRows = false;
             this.dgvAllDisplay.AllowUserToDeleteRows = false;
-            this.dgvAllDisplay.AllowUserToResizeColumns = false;
             this.dgvAllDisplay.AllowUserToResizeRows = false;
             this.dgvAllDisplay.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
             | System.Windows.Forms.AnchorStyles.Left) 
@@ -893,14 +836,14 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.dgvAllDisplay.BackgroundColor = System.Drawing.Color.White;
             this.dgvAllDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle11.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11;
             this.dgvAllDisplay.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvAllDisplay.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.Column1,
@@ -941,8 +884,8 @@
             // 
             // Column1
             // 
-            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column1.DefaultCellStyle = dataGridViewCellStyle2;
+            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column1.DefaultCellStyle = dataGridViewCellStyle12;
             this.Column1.Frozen = true;
             this.Column1.HeaderText = "â„–";
             this.Column1.Name = "Column1";
@@ -994,8 +937,8 @@
             // 
             // Column5
             // 
-            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            this.Column5.DefaultCellStyle = dataGridViewCellStyle3;
+            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            this.Column5.DefaultCellStyle = dataGridViewCellStyle13;
             this.Column5.Frozen = true;
             this.Column5.HeaderText = "é …ã€€ã€€ã€€ç›®";
             this.Column5.Name = "Column5";
@@ -1005,8 +948,8 @@
             // 
             // Column6
             // 
-            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            this.Column6.DefaultCellStyle = dataGridViewCellStyle4;
+            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            this.Column6.DefaultCellStyle = dataGridViewCellStyle14;
             this.Column6.Frozen = true;
             this.Column6.HeaderText = "å·¥ã€€äº‹ã€€å†…ã€€å®¹";
             this.Column6.Name = "Column6";
@@ -1045,48 +988,45 @@
             // 
             // Column7
             // 
-            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
-            dataGridViewCellStyle5.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle5.Format = "N0";
-            dataGridViewCellStyle5.NullValue = null;
-            this.Column7.DefaultCellStyle = dataGridViewCellStyle5;
+            dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle15.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle15.Format = "N0";
+            dataGridViewCellStyle15.NullValue = null;
+            this.Column7.DefaultCellStyle = dataGridViewCellStyle15;
             this.Column7.HeaderText = "ç©�ç®—æ™‚è¦‹ç©�é‡‘é¡�";
             this.Column7.Name = "Column7";
             this.Column7.ReadOnly = true;
-            this.Column7.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.Column7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column7.Width = 120;
             // 
             // Column8
             // 
-            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
-            dataGridViewCellStyle6.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.Column8.DefaultCellStyle = dataGridViewCellStyle6;
+            dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            dataGridViewCellStyle16.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Column8.DefaultCellStyle = dataGridViewCellStyle16;
             this.Column8.HeaderText = "ç©�ç®—æ™‚äº¤æ¸‰é‡‘é¡�";
             this.Column8.Name = "Column8";
             this.Column8.ReadOnly = true;
-            this.Column8.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.Column8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column8.Width = 120;
             // 
             // Column11
             // 
-            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
-            dataGridViewCellStyle7.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.Column11.DefaultCellStyle = dataGridViewCellStyle7;
+            dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            dataGridViewCellStyle17.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Column11.DefaultCellStyle = dataGridViewCellStyle17;
             this.Column11.HeaderText = "ç™ºæ³¨å¸Œæœ›é‡‘é¡�ï¼Šæ‹…å½“è€…è¨˜å…¥";
             this.Column11.Name = "Column11";
-            this.Column11.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.Column11.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column11.Width = 120;
             // 
             // Column18
             // 
-            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column18.DefaultCellStyle = dataGridViewCellStyle8;
+            dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column18.DefaultCellStyle = dataGridViewCellStyle18;
             this.Column18.HeaderText = "äº¤æ¸‰";
             this.Column18.Name = "Column18";
             this.Column18.Resizable = System.Windows.Forms.DataGridViewTriState.False;
@@ -1095,21 +1035,20 @@
             // 
             // Column12
             // 
-            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
-            dataGridViewCellStyle9.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.Column12.DefaultCellStyle = dataGridViewCellStyle9;
+            dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
+            dataGridViewCellStyle19.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Column12.DefaultCellStyle = dataGridViewCellStyle19;
             this.Column12.HeaderText = "å®Ÿè¡Œé‡‘é¡�";
             this.Column12.Name = "Column12";
-            this.Column12.Resizable = System.Windows.Forms.DataGridViewTriState.False;
             this.Column12.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
             this.Column12.Width = 120;
             // 
             // Column9
             // 
-            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle10.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.Column9.DefaultCellStyle = dataGridViewCellStyle10;
+            dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle20.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Column9.DefaultCellStyle = dataGridViewCellStyle20;
             this.Column9.HeaderText = "æ¯”çŽ‡(ï¼…)";
             this.Column9.Name = "Column9";
             this.Column9.ReadOnly = true;
@@ -1143,6 +1082,61 @@
             this.Column17.Visible = false;
             this.Column17.Width = 5;
             // 
+            // btnDispDown
+            // 
+            this.btnDispDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnDispDown.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnDispDown.Location = new System.Drawing.Point(1300, 418);
+            this.btnDispDown.Name = "btnDispDown";
+            this.btnDispDown.Size = new System.Drawing.Size(40, 40);
+            this.btnDispDown.TabIndex = 42;
+            this.btnDispDown.TabStop = false;
+            this.btnDispDown.Text = "â–¼";
+            this.btnDispDown.UseVisualStyleBackColor = true;
+            this.btnDispDown.Visible = false;
+            this.btnDispDown.Click += new System.EventHandler(this.btnDispDown_Click);
+            // 
+            // btnDispUp
+            // 
+            this.btnDispUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnDispUp.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnDispUp.Location = new System.Drawing.Point(1300, 354);
+            this.btnDispUp.Name = "btnDispUp";
+            this.btnDispUp.Size = new System.Drawing.Size(40, 40);
+            this.btnDispUp.TabIndex = 41;
+            this.btnDispUp.TabStop = false;
+            this.btnDispUp.Text = "â–²";
+            this.btnDispUp.UseVisualStyleBackColor = true;
+            this.btnDispUp.Visible = false;
+            this.btnDispUp.Click += new System.EventHandler(this.btnDispUp_Click);
+            // 
+            // btnOtherProc
+            // 
+            this.btnOtherProc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.btnOtherProc.BackColor = System.Drawing.Color.SpringGreen;
+            this.btnOtherProc.Location = new System.Drawing.Point(7, 656);
+            this.btnOtherProc.Name = "btnOtherProc";
+            this.btnOtherProc.Size = new System.Drawing.Size(160, 30);
+            this.btnOtherProc.TabIndex = 95;
+            this.btnOtherProc.TabStop = false;
+            this.btnOtherProc.Text = "ä»–ã�®ç”»é�¢ã�¸";
+            this.btnOtherProc.UseVisualStyleBackColor = false;
+            this.btnOtherProc.Click += new System.EventHandler(this.btnOtherProc_Click);
+            // 
+            // btnChangeExpenses
+            // 
+            this.btnChangeExpenses.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.btnChangeExpenses.BackColor = System.Drawing.Color.Gold;
+            this.btnChangeExpenses.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold);
+            this.btnChangeExpenses.Location = new System.Drawing.Point(223, 656);
+            this.btnChangeExpenses.Name = "btnChangeExpenses";
+            this.btnChangeExpenses.Size = new System.Drawing.Size(130, 30);
+            this.btnChangeExpenses.TabIndex = 103;
+            this.btnChangeExpenses.Text = "çµŒè²»å¤‰æ›´";
+            this.btnChangeExpenses.UseVisualStyleBackColor = false;
+            this.btnChangeExpenses.Visible = false;
+            this.btnChangeExpenses.Click += new System.EventHandler(this.btnChangeExpenses_Click);
+            // 
             // FrmConstructionBudget
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@@ -1213,7 +1207,7 @@
         private System.Windows.Forms.Label label2;
         private System.Windows.Forms.Panel panel2;
         private System.Windows.Forms.Label lblCellTotal;
-        private DataGridViewEX dgvAllDisplay;
+        private CustomControls.DataGridViewEX dgvAllDisplay;
         private System.Windows.Forms.Button btnApprovalList;
         private System.Windows.Forms.Label label13;
         private System.Windows.Forms.Label label12;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudget.resx
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudget.resx	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudget.resx	(revision 355)
@@ -120,6 +120,9 @@
   <metadata name="lblCellTotal.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
+  <metadata name="lblCellTotal.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
   <metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudgetAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudgetAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudgetAuxiliary.cs	(revision 355)
@@ -27,7 +27,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 // åˆ�æœŸã‚µã‚¤ã‚ºä¿�æŒ�
                 m_FormWidthSize = this.Width;
                 m_GridWidthSize = dgv.Width;
@@ -65,7 +65,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 int idifference = 0;
                 // æœ€å¤§åŒ–ã�®å ´å�ˆ
                 if (!bNormal)
@@ -291,7 +291,7 @@
         /// ã‚°ãƒªãƒƒãƒ‰ã�«ç©ºè¡Œã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
         /// </summary>
         /// <param name="dgv"></param>
-        private void SetBlankRow(DataGridView dgv)
+        private void SetBlankRow(DataGridViewEX dgv)
         {
             try
             {
@@ -613,7 +613,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 // è¡Œè¿½åŠ 
                 int rowcnt = dgv.Rows.Add(1);
 
@@ -708,7 +708,7 @@
             {
 
                 // å¤–æ³¨è²»è¡Œã‚’å�–å¾—(ç™ºæ³¨å¸Œæœ›é‡‘é¡�)
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 long lRet = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)GridColumn.GroupCount].Value) == (int)DataGroup.OutSourceCosts)
                                                                 .Sum(y => CommonMotions.cnvInt(y.Cells[(int)GridColumn.HopePrice].Value));
 
@@ -734,7 +734,7 @@
                 if (e.RowIndex < 0) return;
                 int nRowCnt = e.RowIndex;
                 int nColCnt = e.ColumnIndex;
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.Rows[nRowCnt];
 
                 // è‡ªç¤¾æ–½å·¥ã‚¿ã‚¤ãƒˆãƒ«ä»¥å¤–ã�¯å‡¦ç�†ã�—ã�ªã�„
@@ -853,7 +853,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 // è¡Œè¿½åŠ 
                 int rowcnt = dgv.Rows.Add(1);
 
@@ -905,7 +905,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 // è¡Œè¿½åŠ 
                 int rowcnt = dgv.Rows.Add(1);
                 // ãƒ•ãƒ©ã‚°ON
@@ -932,7 +932,7 @@
         /// <param name="CurrentRow"></param>
         private void SelectRowChangeColor(int CurrentRow)
         {
-            DataGridView dgv = dgvAllDisplay;
+            DataGridViewEX dgv = dgvAllDisplay;
             DataGridViewRow CurRow = dgv.Rows[CurrentRow];
 
             // è¡Œã�®è‰²ã‚’å¤‰ã�ˆã‚‹
@@ -952,7 +952,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 foreach (DataGridViewRow wrkRow in dgv.Rows)
                 {
                     if (CommonMotions.cnvInt(wrkRow.Cells[(int)GridColumn.BlankFlg].Value) == 1) continue;
@@ -985,7 +985,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
 
                 if (CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.TitleFlg].Value) == 1)
@@ -1306,7 +1306,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 // è¡Œæ•°ã�®å�–å¾—
                 int BreakLine = m_CostsRowCount[(int)CostsRowLine.DisposeCostsRowLine];
                 foreach (DataGridViewRow wrkRow in dgv.Rows)
@@ -1377,7 +1377,7 @@
         private void CreateAllTotal(bool CrearteRow)
         {
 
-            DataGridView dgv = dgvAllDisplay;
+            DataGridViewEX dgv = dgvAllDisplay;
 
             int EstimatePriceValue = 0;
             int NegotiationPriceValue = 0;
@@ -1542,7 +1542,7 @@
         /// <param name="GroupNo"></param>
         private void InitDispDataTitle(ConstructionBudgetDetail DetailRec, int GroupNo)
         {
-            DataGridView dgv = dgvAllDisplay;
+            DataGridViewEX dgv = dgvAllDisplay;
 
             bool bReturnFlg = false;
             // 
@@ -1658,7 +1658,7 @@
                 if (!DetailDB.SelectAction(strSQL, ref DetailList)) return false;
                 if (DetailList.Count == 0) return false;
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 int GroupNo = (int)FrmConstructionBudget.DataGroup.Expenses;
                 int icnt = 1;
                 // ã‚°ãƒ«ãƒ¼ãƒ—å��è¡¨ç¤º
@@ -2746,7 +2746,7 @@
                 if (!CheckUserAndLeader()) Content = string.Empty;
 
             GridSet:
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 if (CreateRowLine)
                 {
                     object[] RowData = new object[Enum.GetNames(typeof(GridColumn)).Length];
@@ -2807,7 +2807,7 @@
         private void GetAssistantLineValue(ref int AssistantHope, ref int AssistantExec)
         {
 
-            DataGridView dgv = dgvAllDisplay;
+            DataGridViewEX dgv = dgvAllDisplay;
             // 16æœŸä»¥é™�ã�¯ã�¯è¡¨ç¤ºã�™ã‚‹
             if (m_ConstructionBaseInfo.ConstructionPeriod < 16) return;
 
@@ -2900,7 +2900,7 @@
 
             GridSet:
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 if (CreateRowLine)
                 {
                     object[] RowData = new object[Enum.GetNames(typeof(GridColumn)).Length];
@@ -2962,7 +2962,7 @@
         private void GetInstructorLineValue(ref int InstructorHope, ref int InstructorExec)
         {
 
-            DataGridView dgv = dgvAllDisplay;
+            DataGridViewEX dgv = dgvAllDisplay;
             // 16æœŸä»¥é™�ã�¯ã�¯è¡¨ç¤ºã�™ã‚‹
             if (m_ConstructionBaseInfo.ConstructionPeriod < 16) return;
 
@@ -2982,7 +2982,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // å�—æ³¨é‡‘é¡�å�–å¾—
                 int OrdersPrice = CommonMotions.cnvInt(m_DspLabelCtrl[(int)DspLblCtrlName.OrdersPrice].Text.Replace("\\", ""));
@@ -3215,7 +3215,7 @@
                 CreatePayrollString(ref BetweenTimes, ref monthSalary, ref CostsValue, ref Content, ref AmountConfigRate);
 
             GridSet:
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 if (CreateRowLine)
                 {
                     object[] RowData = new object[Enum.GetNames(typeof(GridColumn)).Length];
@@ -3298,7 +3298,7 @@
         /// <param name="CreatorExec"></param>
         private void GetCreatorLineValue(ref int CreatorHope, ref int CreatorExec)
         {
-            DataGridView dgv = dgvAllDisplay;
+            DataGridViewEX dgv = dgvAllDisplay;
             // 16æœŸä»¥é™�ã�®ã�¿å‡¦ç�†ã�™ã‚‹
             if (m_ConstructionBaseInfo.ConstructionPeriod < 16) return;
 
@@ -3318,7 +3318,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // 16æœŸä»¥é™�ã�¯çµ¦ä¸Žã‚’è¡¨ç¤ºã�™ã‚‹
                 if (m_ConstructionBaseInfo.ConstructionPeriod < 16) return;
@@ -3407,7 +3407,7 @@
                 if (m_ConstructionBaseInfo.ConstructionPeriod < 16) return;
 
                 // è¡Œä½�ç½®å�–å¾—
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 int LineCnt = m_CostsRowCount[RowArrayCount];
                 DataGridViewRow wrkRow = dgv.Rows[LineCnt];
 
@@ -3443,7 +3443,7 @@
                 // ã‚°ãƒªãƒƒãƒ‰æ›¸è¾¼ã�¿ç¦�æ­¢æ™‚ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (dgvAllDisplay.ReadOnly) return;
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 // ãƒœã‚¿ãƒ³ã�¯å¤–æ³¨è²»ãƒ»è‡ªç¤¾æ–½å·¥ãƒ»è³¼å…¥å“�ã�®ã‚°ãƒ«ãƒ¼ãƒ—ã�®ã�¿è¡¨ç¤ºã�™ã‚‹
@@ -3488,7 +3488,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 int InsertCnt = 0;
@@ -3518,7 +3518,7 @@
                 if (InsertCnt == 0) return;
 
                 // è¡Œä½œæˆ�
-                DataGridViewAction.CreateNewLine(dgv, ref InsertCnt);
+                dgvAllDisplay.CreateNewLine(ref InsertCnt);
 
                 int GroupLineNo = 0;
                 // å¤–æ³¨è²»ãƒ»è‡ªç¤¾æ–½å·¥ãƒ»è³¼å…¥å“�ã‚°ãƒ«ãƒ¼ãƒ—è¡Œç•ªå�·ã‚’æŒ¯ã‚Šã�ªã�Šã�™
@@ -3616,7 +3616,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 int RemoveCnt = 0;
@@ -3716,7 +3716,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 int UpCnt = 0;
@@ -3744,7 +3744,7 @@
                 if (UpCnt == 0) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction(dgv, (int)GridColumn.FixFlg, (int)GridColumn.BlankFlg);
+                dgvAllDisplay.GridRowUpAction((int)GridColumn.FixFlg, (int)GridColumn.BlankFlg);
 
                 // è¡Œé�¸æŠžè‰²ã‚’å¤‰æ›´ã�™ã‚‹
                 DefaultALLRowChangeColor();
@@ -3767,7 +3767,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 int DownCnt = 0;
@@ -3795,7 +3795,7 @@
                 if (DownCnt == 0) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction(dgv, (int)GridColumn.FixFlg, (int)GridColumn.BlankFlg);
+                dgvAllDisplay.GridRowDownAction((int)GridColumn.FixFlg, (int)GridColumn.BlankFlg);
 
                 // è¡Œé�¸æŠžè‰²ã‚’å¤‰æ›´ã�™ã‚‹
                 DefaultALLRowChangeColor();
@@ -4008,7 +4008,7 @@
                 string DelSQL = DetailDB.CreatePrimarykeyString(m_ConstructionCode);
                 DetailDB.DeleteAction(DelSQL, false);
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 foreach (DataGridViewRow wrkRow in dgv.Rows)
                 {
                     // å�ˆè¨ˆé‡‘é¡�ã�¯æ›¸ã��è¾¼ã�¾ã�ªã�„
@@ -4469,7 +4469,7 @@
             FrmSubContractorDiag frm = new FrmSubContractorDiag();
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 frm.ConstructionCode = m_ConstructionCode;
                 frm.StartupSource = (int)ClsExcute.ProcessExecuteNo.ConstructionBudget;
@@ -4507,7 +4507,7 @@
             try
             {
                 // å¯¾è±¡ã‚°ãƒªãƒƒãƒ‰å�–å¾—
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
 
                 frm.ConstructionCode = m_ConstructionCode;
@@ -4544,7 +4544,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.Rows[e.RowIndex];
 
                 // æ˜Žç´°ä»¥å¤–ã�¯å‡¦ç�†ã�—ã�ªã�„
@@ -4747,7 +4747,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 for (int i = 0; i < dgv.RowCount; i++)
                 {
@@ -4787,7 +4787,7 @@
             {
                 if (ExpensList.Count == 0) return;
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 int ListCnt = 0;
                 for (int i = 0; i < dgv.RowCount; i++)
                 {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/ProcessControl.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/ProcessControl.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/ProcessControl.cs	(revision 355)
@@ -37,7 +37,7 @@
         /// <summary>
         /// ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼
         /// </summary>
-        private ContextMenuStrip m_ProcessContextMenuStrip;
+        private ContextMenuStrip m_ProcessContextMenuStrip = new ContextMenuStrip();
         #endregion
 
         #region åˆ¥ãƒ—ãƒ­ã‚»ã‚¹ç§»å‹•ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä½œæˆ�
@@ -48,12 +48,8 @@
         {
             try
             {
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä¸€è¦§ã‚’ä½œæˆ�ã�™ã‚‹
-                m_ProcessContextMenuStrip = new ContextMenuStrip();
-
                 // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�®ã‚»ãƒƒãƒˆ
                 UpDateProcessContextMenu(bSubForm);
-
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionJoin/FrmConstructionJoin.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionJoin/FrmConstructionJoin.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionJoin/FrmConstructionJoin.Designer.cs	(revision 355)
@@ -40,7 +40,7 @@
             this.btnSerchWork = new System.Windows.Forms.Button();
             this.tvDispData = new System.Windows.Forms.TreeView();
             this.btnNewWork = new System.Windows.Forms.Button();
-            this.dgvMaster = new System.Windows.Forms.DataGridView();
+            this.dgvMaster = new CustomControls.DataGridViewEX();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -464,7 +464,7 @@
         private System.Windows.Forms.Button btnSerchWork;
         private System.Windows.Forms.TreeView tvDispData;
         private System.Windows.Forms.Button btnNewWork;
-        private System.Windows.Forms.DataGridView dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Label label2;
         private ProcessManagement.Forms.CustomControls.GroupBoxEx groupBox1;
         private System.Windows.Forms.Label label4;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionJoin/FrmConstructionJoin.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionJoin/FrmConstructionJoin.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionJoin/FrmConstructionJoin.cs	(revision 355)
@@ -241,7 +241,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 // ãƒ�ã‚§ãƒƒã‚¯ä»¥å¤–ã�¯å‡¦ç�†ã�—ã�ªã�„
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.cs	(revision 355)
@@ -176,63 +176,67 @@
             /// </summary>
             Percent,
             /// <summary>
-            /// 14:ƒ^ƒCƒgƒ‹�sƒtƒ‰ƒO
+            /// 14:’�•¶�‘‹àŠz
             /// </summary>
+            OrderPrice,
+            /// <summary>
+            /// 15:ƒ^ƒCƒgƒ‹�sƒtƒ‰ƒO
+            /// </summary>
             TitleFlg,
             /// <summary>
-            /// 15:ƒg�[ƒ^ƒ‹�sƒtƒ‰ƒO
+            /// 16:ƒg�[ƒ^ƒ‹�sƒtƒ‰ƒO
             /// </summary>
             TotalFlg,
             /// <summary>
-            /// 16:‹ó”’�sƒtƒ‰ƒO
+            /// 17:‹ó”’�sƒtƒ‰ƒO
             /// </summary>
             BlankFlg,
             /// <summary>
-            /// 17:“Æ—§�€–Úƒtƒ‰ƒO
+            /// 18:“Æ—§�€–Úƒtƒ‰ƒO
             /// </summary>
             IndependentFlg,
             /// <summary>
-            /// 18:�]‘®�€–Úƒtƒ‰ƒO
+            /// 19:�]‘®�€–Úƒtƒ‰ƒO
             /// </summary>
             ChildFlg,
             /// <summary>
-            /// 19:‘�Œ¸�HŽ–ƒtƒ‰ƒO
+            /// 20:‘�Œ¸�HŽ–ƒtƒ‰ƒO
             /// </summary>
             FluctuationFlg,
             /// <summary>
-            /// 20:‹‹—^�U•ª‹æ•ª
+            /// 21:‹‹—^�U•ª‹æ•ª
             /// </summary>
             SalaryFlg,
             /// <summary>
-            /// 21:‹‹—^�U•ª“ú�”
+            /// 22:‹‹—^�U•ª“ú�”
             /// </summary>
             SalaryDays,
             /// <summary>
-            /// 22:’S“–’†ƒtƒ‰ƒO
+            /// 23:’S“–’†ƒtƒ‰ƒO
             /// </summary>
             OperatingFlg,
             /// <summary>
-            /// 23:Œ³�HŽ–”Ô�†
+            /// 24:Œ³�HŽ–”Ô�†
             /// </summary>
             SourceCode,
             /// <summary>
-            /// 24:�HŽ––¼�Ìƒ^ƒCƒgƒ‹
+            /// 25:�HŽ––¼�Ìƒ^ƒCƒgƒ‹
             /// </summary>
             JoinTitleFlg,
             /// <summary>
-            /// 25:“o˜^ŽžŒŽŠz‹‹—^
+            /// 26:“o˜^ŽžŒŽŠz‹‹—^
             /// </summary>
             SalaryOnRegist,
             /// <summary>
-            /// 26:’�•¶�‘”­�sƒtƒ‰ƒO
+            /// 27:’�•¶�‘”­�sƒtƒ‰ƒO
             /// </summary>
             PurchaseOrderFlg,
             /// <summary>
-            /// 27:–¾�×”Ô�†
+            /// 28:–¾�×”Ô�†
             /// </summary>
             DetailNo,
             /// <summary>
-            /// 28:Žx•¥‹àŠz1ƒJŒŽ–Ú
+            /// 29:Žx•¥‹àŠz1ƒJŒŽ–Ú
             /// </summary>
             Payment,
         }
@@ -372,10 +376,10 @@
         /// <summary>
         /// ŒÅ’èƒJƒ‰ƒ€ƒ^ƒCƒgƒ‹
         /// </summary>
-        private static string[] s_ColumnsTitle = new string[] { "Žx�@•¥�@�‡�@Œv",
-                                                                "Žx •¥ ‰Â ”\ Šz",
-                                                                "Žx�@•¥�@’´�@‰ß",
-                                                                "Žx •¥ •â “U ˜g"};
+        private static string[] s_ColumnsTitle = new string[] { "Žx•¥�‡Œv",
+                                                                "Žx•¥‰Â”\Šz",
+                                                                "Žx•¥’´‰ß",
+                                                                "Žx•¥•â“U˜g"};
         #endregion
 
         #region ƒOƒŠƒbƒh�sˆÊ’u
@@ -517,7 +521,13 @@
         private static string s_TargetYmFormt = "{0}”N{1}ŒŽ";
         #endregion
 
+        #region ’Ç‰ÁŽx•¥ƒZƒ‹‚Ì•�
+        /// <summary>
+        /// ’Ç‰ÁŽx•¥ƒZƒ‹‚Ì•�
+        /// </summary>
+        private const int s_CellDefulutWidth = 120;
         #endregion
+        #endregion
 
         #region •Ï�”
         /// <summary>
@@ -1182,7 +1192,7 @@
                     if (ActiveControl.Name.Equals(btnEnd.Name)) return;
                 }
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 if (dgv.CurrentCell.ReadOnly) return;
@@ -1215,7 +1225,7 @@
                 if (ActiveControl == null) return;
                 if (!ActiveControl.GetType().Equals(typeof(DataGridViewEX))) return;
 
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // Ž©ŽÐŽ{�H�E�w“ü•i�s‚Íƒ{ƒ^ƒ“‚ð�s‘€�ìƒ{ƒ^ƒ“‚ð•\Ž¦‚·‚é
                 DispControlLineButton();
@@ -1275,7 +1285,7 @@
         /// <param name="e"></param>
         private void dgvAllDisplay_SelectionChanged(object sender, EventArgs e)
         {
-            DataGridView dgv = dgvAllDisplay;
+            DataGridViewEX dgv = dgvAllDisplay;
             // �s‘I‘ð�F‚ðŒ³‚É–ß‚·
             if (m_BeforeGridRow != -1) DefaultRowChangeColor(m_BeforeGridRow);
 
@@ -1294,7 +1304,7 @@
         /// <param name="e"></param>
         private void dgvAllDisplay_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
         {
-            DataGridView dgv = dgvAllDisplay;
+            DataGridViewEX dgv = dgvAllDisplay;
 
             // ƒ^ƒCƒgƒ‹‚Í�ˆ—�‚µ‚È‚¢
             if (CommonMotions.cnvInt(dgv.CurrentRow.Cells[(int)GridColumn.TitleFlg].Value) == 1) return;
@@ -1353,7 +1363,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 lblCellTotal.Text = string.Empty;
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.DataEntry
+ï»¿namespace ProcessManagement.Forms.DataEntry
 {
     partial class FrmConstructionLedger
     {
@@ -37,6 +35,7 @@
             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();
             this.label1 = new System.Windows.Forms.Label();
             this.btnDataDelete = new System.Windows.Forms.Button();
             this.btnDataEntry = new System.Windows.Forms.Button();
@@ -87,6 +86,7 @@
             this.btnLineDel = new System.Windows.Forms.Button();
             this.btnLineAdd = new System.Windows.Forms.Button();
             this.panel2 = new System.Windows.Forms.Panel();
+            this.dgvAllDisplay = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
             this.lblCellTotal = new System.Windows.Forms.Label();
             this.btnDispDown = new System.Windows.Forms.Button();
             this.btnDispUp = new System.Windows.Forms.Button();
@@ -95,7 +95,6 @@
             this.button2 = new System.Windows.Forms.Button();
             this.btnSelect = new System.Windows.Forms.Button();
             this.btnCreate = new System.Windows.Forms.Button();
-            this.dgvAllDisplay = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
             this.grpExample1 = new ProcessManagement.Forms.CustomControls.GroupBoxEx();
             this.lblReqSumType03 = new System.Windows.Forms.Label();
             this.lblReqSumType01 = new System.Windows.Forms.Label();
@@ -114,6 +113,7 @@
             this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -779,6 +779,72 @@
             this.panel2.Size = new System.Drawing.Size(1290, 450);
             this.panel2.TabIndex = 36;
             // 
+            // dgvAllDisplay
+            // 
+            this.dgvAllDisplay.AllowUserToAddRows = false;
+            this.dgvAllDisplay.AllowUserToDeleteRows = false;
+            this.dgvAllDisplay.AllowUserToResizeRows = false;
+            this.dgvAllDisplay.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
+            | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.dgvAllDisplay.BackgroundColor = System.Drawing.Color.White;
+            this.dgvAllDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+            this.dgvAllDisplay.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
+            this.dgvAllDisplay.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.Column1,
+            this.Column3,
+            this.Column27,
+            this.Column2,
+            this.Column14,
+            this.Column15,
+            this.Column5,
+            this.Column6,
+            this.Column18,
+            this.Column4,
+            this.Column10,
+            this.Column7,
+            this.Column12,
+            this.Column9,
+            this.Column29,
+            this.Column13,
+            this.Column16,
+            this.Column17,
+            this.Column8,
+            this.Column11,
+            this.Column19,
+            this.Column20,
+            this.Column21,
+            this.Column22,
+            this.Column23,
+            this.Column24,
+            this.Column25,
+            this.Column26,
+            this.Column28});
+            this.dgvAllDisplay.Location = new System.Drawing.Point(6, 4);
+            this.dgvAllDisplay.Name = "dgvAllDisplay";
+            this.dgvAllDisplay.RowHeadersVisible = false;
+            this.dgvAllDisplay.RowHeadersWidth = 20;
+            this.dgvAllDisplay.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
+            this.dgvAllDisplay.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
+            this.dgvAllDisplay.Size = new System.Drawing.Size(1278, 420);
+            this.dgvAllDisplay.TabIndex = 35;
+            this.dgvAllDisplay.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellDoubleClick);
+            this.dgvAllDisplay.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellEnter);
+            this.dgvAllDisplay.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.dgvAllDisplay_CellPainting);
+            this.dgvAllDisplay.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValidated);
+            this.dgvAllDisplay.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValueChanged);
+            this.dgvAllDisplay.SelectionChanged += new System.EventHandler(this.dgvAllDisplay_SelectionChanged);
+            this.dgvAllDisplay.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dgvAllDisplay_KeyDown);
+            this.dgvAllDisplay.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvAllDisplay_MouseUp);
+            // 
             // lblCellTotal
             // 
             this.lblCellTotal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
@@ -886,71 +952,6 @@
             this.btnCreate.Visible = false;
             this.btnCreate.Click += new System.EventHandler(this.btnCreate_Click);
             // 
-            // dgvAllDisplay
-            // 
-            this.dgvAllDisplay.AllowUserToAddRows = false;
-            this.dgvAllDisplay.AllowUserToDeleteRows = false;
-            this.dgvAllDisplay.AllowUserToResizeRows = false;
-            this.dgvAllDisplay.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
-            | System.Windows.Forms.AnchorStyles.Left) 
-            | System.Windows.Forms.AnchorStyles.Right)));
-            this.dgvAllDisplay.BackgroundColor = System.Drawing.Color.White;
-            this.dgvAllDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
-            this.dgvAllDisplay.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
-            this.dgvAllDisplay.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.Column1,
-            this.Column3,
-            this.Column27,
-            this.Column2,
-            this.Column14,
-            this.Column15,
-            this.Column5,
-            this.Column6,
-            this.Column18,
-            this.Column4,
-            this.Column10,
-            this.Column7,
-            this.Column12,
-            this.Column9,
-            this.Column13,
-            this.Column16,
-            this.Column17,
-            this.Column8,
-            this.Column11,
-            this.Column19,
-            this.Column20,
-            this.Column21,
-            this.Column22,
-            this.Column23,
-            this.Column24,
-            this.Column25,
-            this.Column26,
-            this.Column28});
-            this.dgvAllDisplay.Location = new System.Drawing.Point(6, 4);
-            this.dgvAllDisplay.Name = "dgvAllDisplay";
-            this.dgvAllDisplay.RowHeadersVisible = false;
-            this.dgvAllDisplay.RowHeadersWidth = 20;
-            this.dgvAllDisplay.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
-            this.dgvAllDisplay.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
-            this.dgvAllDisplay.Size = new System.Drawing.Size(1278, 420);
-            this.dgvAllDisplay.TabIndex = 35;
-            this.dgvAllDisplay.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellDoubleClick);
-            this.dgvAllDisplay.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellEnter);
-            this.dgvAllDisplay.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.dgvAllDisplay_CellPainting);
-            this.dgvAllDisplay.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValidated);
-            this.dgvAllDisplay.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValueChanged);
-            this.dgvAllDisplay.SelectionChanged += new System.EventHandler(this.dgvAllDisplay_SelectionChanged);
-            this.dgvAllDisplay.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dgvAllDisplay_KeyDown);
-            this.dgvAllDisplay.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvAllDisplay_MouseUp);
-            // 
             // grpExample1
             // 
             this.grpExample1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
@@ -1081,7 +1082,7 @@
             this.Column6.Name = "Column6";
             this.Column6.ReadOnly = true;
             this.Column6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column6.Width = 180;
+            this.Column6.Width = 150;
             // 
             // Column18
             // 
@@ -1108,12 +1109,13 @@
             this.Column10.Name = "Column10";
             this.Column10.ReadOnly = true;
             this.Column10.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column10.Width = 180;
+            this.Column10.Width = 150;
             // 
             // Column7
             // 
             dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
             dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle5.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
             dataGridViewCellStyle5.Format = "N0";
             dataGridViewCellStyle5.NullValue = null;
             this.Column7.DefaultCellStyle = dataGridViewCellStyle5;
@@ -1122,12 +1124,13 @@
             this.Column7.Name = "Column7";
             this.Column7.ReadOnly = true;
             this.Column7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column7.Width = 150;
+            this.Column7.Width = 120;
             // 
             // Column12
             // 
             dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
             dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
+            dataGridViewCellStyle6.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold);
             this.Column12.DefaultCellStyle = dataGridViewCellStyle6;
             this.Column12.Frozen = true;
             this.Column12.HeaderText = "å®Ÿã€€è¡Œã€€é‡‘ã€€é¡�";
@@ -1134,7 +1137,7 @@
             this.Column12.Name = "Column12";
             this.Column12.ReadOnly = true;
             this.Column12.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column12.Width = 150;
+            this.Column12.Width = 120;
             // 
             // Column9
             // 
@@ -1147,6 +1150,19 @@
             this.Column9.Visible = false;
             this.Column9.Width = 5;
             // 
+            // Column29
+            // 
+            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(128)))));
+            dataGridViewCellStyle8.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold);
+            this.Column29.DefaultCellStyle = dataGridViewCellStyle8;
+            this.Column29.Frozen = true;
+            this.Column29.HeaderText = "ç™ºã€€æ³¨ã€€é‡‘ã€€é¡�";
+            this.Column29.Name = "Column29";
+            this.Column29.ReadOnly = true;
+            this.Column29.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column29.Width = 120;
+            // 
             // Column13
             // 
             this.Column13.HeaderText = "ã‚¿ã‚¤ãƒˆãƒ«ãƒ•ãƒ©ã‚°";
@@ -1337,7 +1353,7 @@
         private System.Windows.Forms.Label label2;
         private System.Windows.Forms.Panel panel2;
         private System.Windows.Forms.Label lblCellTotal;
-        private DataGridViewEX dgvAllDisplay;
+        private CustomControls.DataGridViewEX dgvAllDisplay;
         private System.Windows.Forms.Label label13;
         private System.Windows.Forms.Label label12;
         private System.Windows.Forms.Button btnDispDown;
@@ -1373,7 +1389,7 @@
         private System.Windows.Forms.Button btnRestore;
         private System.Windows.Forms.Button btnSelect;
         private System.Windows.Forms.Button btnCreate;
-        private GroupBoxEx grpExample1;
+        private CustomControls.GroupBoxEx grpExample1;
         private System.Windows.Forms.Label lblReqSumType01;
         private System.Windows.Forms.Label lblReqSumType02;
         private System.Windows.Forms.Label lblReqSumType03;
@@ -1391,6 +1407,7 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column12;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column9;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column29;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.resx
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.resx	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.resx	(revision 355)
@@ -147,6 +147,9 @@
   <metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
+  <metadata name="Column29.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
   <metadata name="Column13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs	(revision 355)
@@ -27,8 +27,9 @@
         {
             try
             {
+                DataGridViewEX dgv = dgvAllDisplay;
                 // ã‚°ãƒªãƒƒãƒ‰ã�®æƒ…å ±ã‚’å�–å¾—ã�™ã‚‹
-                int CellCount = dgvAllDisplay.ColumnCount;
+                int CellCount = dgv.ColumnCount;
                 m_CellSize = new int[CellCount];
                 foreach (DataGridViewColumn col in dgvAllDisplay.Columns)
                 {
@@ -42,6 +43,14 @@
 
                 // å‰Šé™¤ãƒœã‚¿ãƒ³ã�¯ãƒ‡ãƒ�ãƒƒã‚¯å°‚ç”¨
                 if (CommonMotions.LoginUserData.PersonCode == CommonDefine.AdminCode) btnDataDelete.Visible = true;
+
+                // ãƒ˜ãƒƒãƒ€ãƒ¼æ–‡å­—ã‚µã‚¤ã‚ºå¤‰æ›´
+                dgv.Columns[(int)GridColumn.EstimatePrice].HeaderCell.Style.Font =
+                            new Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+                dgv.Columns[(int)GridColumn.ExecPrice].HeaderCell.Style.Font =
+                            new Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+                dgv.Columns[(int)GridColumn.OrderPrice].HeaderCell.Style.Font =
+                            new Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             }
             catch (Exception ex)
             {
@@ -171,7 +180,7 @@
         /// ã‚°ãƒªãƒƒãƒ‰ã�«æŒ‡å®šæ•°ã�®ç©ºè¡Œã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
         /// </summary>
         /// <param name="dgv"></param>
-        private void SetBlankRow(DataGridView dgv)
+        private void SetBlankRow(DataGridViewEX dgv)
         {
             try
             {
@@ -199,7 +208,7 @@
             {
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã‚«ãƒ©ãƒ æ•°å�–å¾—
                 int ColumnsCnt = Enum.GetNames(typeof(GridColumn)).Length - 1;
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆä»¥ä¸Šã�«ç„¡ã�‘ã‚Œã�°å‡¦ç�†ã�—ã�ªã�„
                 if (dgv.ColumnCount <= ColumnsCnt) return;
@@ -230,7 +239,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // ãƒ˜ãƒƒãƒ€ãƒ¼ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (e.RowIndex < 0) return;
@@ -790,7 +799,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 int GridColCnt = dgv.ColumnCount;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã�®å…¨è¡Œã‚’å¯¾è±¡ã�«ã�™ã‚‹
@@ -841,7 +850,7 @@
                 if (m_GridPaymentColList != null) return;
                 if (m_GridTotalColList != null) return;
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 //// æ”¯æ‰•æ¬„æ•°å�–å¾—
                 //int ColumnCount = CommonMotions.cnvRoundUp(CommonMotions.cnvDouble(m_DspLabelCtrl[(int)DspLblCtrlName.BetweenTimes].Text));
@@ -892,6 +901,7 @@
                     // ã‚¹ã‚¿ã‚¤ãƒ«ä½œæˆ�
                     m_GridPaymentCellStyleList[i] = new DataGridViewCellStyle();
                     m_GridPaymentCellStyleList[i].Alignment = DataGridViewContentAlignment.MiddleRight;
+                    m_GridPaymentCellStyleList[i].Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
 
                     // ã‚»ãƒ«ä½œæˆ�
                     m_GridPaymentColList[i] = new DataGridViewColumn();
@@ -907,7 +917,7 @@
                     m_GridPaymentColList[i].ReadOnly = false;
                     m_GridPaymentColList[i].Resizable = DataGridViewTriState.False;
                     m_GridPaymentColList[i].SortMode = DataGridViewColumnSortMode.NotSortable;
-                    m_GridPaymentColList[i].Width = 150;
+                    m_GridPaymentColList[i].Width = s_CellDefulutWidth;
                 }
 
                 //ã€€å�ˆè¨ˆãƒ»å®Ÿç¸¾æ¬„ä½œæˆ�
@@ -919,6 +929,7 @@
                     // ã‚¹ã‚¿ã‚¤ãƒ«ä½œæˆ�
                     m_GridTotalCellStyleList[i] = new DataGridViewCellStyle();
                     m_GridTotalCellStyleList[i].Alignment = DataGridViewContentAlignment.MiddleRight;
+                    m_GridTotalCellStyleList[i].Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
 
                     // ã‚»ãƒ«ä½œæˆ�
                     m_GridTotalColList[i] = new DataGridViewColumn();
@@ -939,7 +950,7 @@
 
                     m_GridTotalColList[i].Resizable = DataGridViewTriState.False;
                     m_GridTotalColList[i].SortMode = DataGridViewColumnSortMode.NotSortable;
-                    m_GridTotalColList[i].Width = 150;
+                    m_GridTotalColList[i].Width = s_CellDefulutWidth;
                 }
             }
             catch (Exception ex)
@@ -960,7 +971,7 @@
                 if (m_GridPaymentColList != null) return;
                 if (m_GridTotalColList != null) return;
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // æ”¯æ‰•æ¬„æ•°å�–å¾—
                 int ColumnCount = CommonMotions.cnvRoundUp(CommonMotions.cnvDouble(m_DspLabelCtrl[(int)DspLblCtrlName.BetweenTimes].Text));
@@ -981,6 +992,7 @@
                     // ã‚¹ã‚¿ã‚¤ãƒ«ä½œæˆ�
                     m_GridPaymentCellStyleList[i] = new DataGridViewCellStyle();
                     m_GridPaymentCellStyleList[i].Alignment = DataGridViewContentAlignment.MiddleRight;
+                    m_GridPaymentCellStyleList[i].Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
 
                     // ã‚»ãƒ«ä½œæˆ�
                     m_GridPaymentColList[i] = new DataGridViewColumn();
@@ -996,7 +1008,7 @@
                     m_GridPaymentColList[i].ReadOnly = false;
                     m_GridPaymentColList[i].Resizable = DataGridViewTriState.False;
                     m_GridPaymentColList[i].SortMode = DataGridViewColumnSortMode.NotSortable;
-                    m_GridPaymentColList[i].Width = 150;
+                    m_GridPaymentColList[i].Width = s_CellDefulutWidth;
                 }
 
                 //ã€€å�ˆè¨ˆãƒ»å®Ÿç¸¾æ¬„ä½œæˆ�
@@ -1008,6 +1020,7 @@
                     // ã‚¹ã‚¿ã‚¤ãƒ«ä½œæˆ�
                     m_GridTotalCellStyleList[i] = new DataGridViewCellStyle();
                     m_GridTotalCellStyleList[i].Alignment = DataGridViewContentAlignment.MiddleRight;
+                    m_GridTotalCellStyleList[i].Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
 
                     // ã‚»ãƒ«ä½œæˆ�
                     m_GridTotalColList[i] = new DataGridViewColumn();
@@ -1028,7 +1041,7 @@
 
                     m_GridTotalColList[i].Resizable = DataGridViewTriState.False;
                     m_GridTotalColList[i].SortMode = DataGridViewColumnSortMode.NotSortable;
-                    m_GridTotalColList[i].Width = 150;
+                    m_GridTotalColList[i].Width = s_CellDefulutWidth;
                 }
             }
             catch (Exception ex)
@@ -1109,7 +1122,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 // ã‚«ãƒ©ãƒ æ•°
                 int colcnt = dgv.Columns.Count;
                 // è¡Œè¿½åŠ 
@@ -1151,7 +1164,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 // è¡Œè¿½åŠ 
                 int rowcnt = dgv.Rows.Add(1);
                 // ã‚«ãƒ©ãƒ æ•°å�–å¾—
@@ -1182,7 +1195,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 // ã‚«ãƒ©ãƒ æ•°
                 int colcnt = dgv.Columns.Count;
                 // è¡Œè¿½åŠ 
@@ -1213,7 +1226,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
 
                 // ç·�å�ˆè¨ˆã�¯å‡¦ç�†ã�—ã�ªã�„
@@ -1247,7 +1260,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 foreach (DataGridViewRow wrkRow in dgv.Rows)
                 {
                     if (CommonMotions.cnvInt(wrkRow.Cells[(int)GridColumn.BlankFlg].Value) == 1) continue;
@@ -1280,7 +1293,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
                 int GroupNo = CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.GroupCount].Value);
                 int RowCount = CurRow.Index;
@@ -1366,7 +1379,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 
                 // æ”¯æ‰•å�¯èƒ½é¡�ã�®ã‚«ãƒ©ãƒ ä½�ç½®
                 int ResultCols = dgv.ColumnCount + (int)ColPayTotal.Results;
@@ -1388,6 +1401,10 @@
                         case (int)GridColumn.ExecPrice:
                             SetBackColor = Color.FromArgb(255, 224, 192);
                             break;
+                        // æ”¯æ‰•ä¸Šé™�é‡‘é¡�
+                        case (int)GridColumn.OrderPrice:
+                            SetBackColor = Color.FromArgb(255, 224, 128);
+                            break;
                         // è¡Œç•ªå�·
                         case (int)GridColumn.No:
                             SetBackColor = Color.White;
@@ -1731,7 +1748,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 int GroupNo = (int)DataGroup.Expenses;
                 int icnt = 0;
                 // å�—æ³¨é‡‘é¡�å�–å¾—
@@ -1969,7 +1986,7 @@
                                                 (int)FrmConstructionBudget.DataGroup.MyConstruction);       // è‡ªç¤¾æ–½å·¥
                 if (DetailList.Count == 0) return;
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 int GroupNo = (int)DataGroup.ConstructionCosts;
                 int icnt = 0;
                 // ã‚°ãƒ«ãƒ¼ãƒ—å��è¡¨ç¤º
@@ -2070,7 +2087,7 @@
                 double ExecutionAmount = 0;
                 double AmountConfigRate = 0;
                 SumBudgetDataFromList(FromData, ref Estimateprice, ref  ExecutionAmount, ref  AmountConfigRate, (int)FrmConstructionBudget.DataGroup.PurchaseCosts);
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 int GroupNo = (int)DataGroup.PurchaseCosts;
                 object[] wrkobj = new object[] { Estimateprice, ExecutionAmount, AmountConfigRate };
 
@@ -2130,7 +2147,7 @@
                     DetailRec = new ConstructionBudgetDetail();
                 }
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 object[] RowData = new object[dgv.Columns.Count];
                 // ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
@@ -2298,7 +2315,7 @@
                 // äººå“¡ã�Œè¨­å®šã�•ã‚Œã�¦ã�„ã�ªã�‘ã‚Œã�°å‡¦ç�†ã�—ã�ªã�„
                 if (DetailRec.CompanyCode == 0) return;
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 int SalaryFlg = 0;                  // çµ¦ä¸ŽæŒ¯åˆ†åŒºåˆ†
                 int SalaryDays = 0;                 // çµ¦ä¸ŽæŒ¯åˆ†æ—¥æ•°
@@ -2374,7 +2391,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 // æ”¯æ‰•é¡�æ¬„ä½�ç½®å�–å¾—
                 int TotalPoint = dgv.ColumnCount + (int)ColPayTotal.Totals;
                 // æ”¯æ‰•å�¯èƒ½é¡�æ¬„ä½�ç½®å�–å¾—
@@ -2429,7 +2446,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // å�—æ³¨é‡‘é¡�å�–å¾—
                 int OrdersPrice = CommonMotions.cnvInt(m_DspLabelCtrl[(int)DspLblCtrlName.OrdersPrice].Text);
@@ -2475,7 +2492,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // å�—æ³¨é‡‘é¡�å�–å¾—
                 int OrdersPrice = CommonMotions.cnvInt(m_DspLabelCtrl[(int)DspLblCtrlName.OrdersPrice].Text);
@@ -2527,7 +2544,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 int TotalLine = m_CostsRowCount[(int)CostsRowLine.AllTotalRowLine];
 
                 // æ”¯æ‰•å�¯èƒ½é¡�æ¬„å�–å¾—
@@ -2566,7 +2583,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 int EstimatePriceValue = 0;
                 int ExecPriceValue = 0;
@@ -2679,7 +2696,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // å�ˆè¨ˆæ¬„ä½�ç½®å�–å¾—
                 int TotalPoint = dgv.ColumnCount + (int)ColPayTotal.Totals;
@@ -2728,7 +2745,7 @@
 
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 object[] RowData = new object[dgv.Columns.Count];
                 // ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
@@ -2796,7 +2813,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // å�ˆè¨ˆæ¬„ä½�ç½®å�–å¾—
                 int TotalPoint = dgv.ColumnCount + (int)ColPayTotal.Totals;
@@ -2829,7 +2846,7 @@
             IOConstructionLedgerExcute ExcuteDB = new IOConstructionLedgerExcute();
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // ç©ºç™½è¡Œ
                 AddEmptyRow();
@@ -3030,11 +3047,26 @@
 
                 strcmd.Append(", B.TARGETMONTH");
                 strcmd.Append(", B.PAYMENTAMOUNT");
+
+                strcmd.Append(", ifnull(Odr.OrdersLinePrice, 0) As OrderPrice");
+                strcmd.Append(", ifnull(Odr2.StatutoryWelfareRate, 0.0)");
+
                 strcmd.Append(" FROM CONSTRUCTIONLEDGERDETAIL AS A");
-                strcmd.Append(" LEFT JOIN CONSTRUCTIONLEDGEREXCUTE AS B");
-                strcmd.Append(" ON B.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE");
-                strcmd.Append(" AND B.GROUPCOUNT = A.GROUPCOUNT");
-                strcmd.Append(" AND B.LINECOUNT = A.LINECOUNT");
+                strcmd.Append("   LEFT JOIN CONSTRUCTIONLEDGEREXCUTE AS B");
+                strcmd.Append("         ON B.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE");
+                strcmd.Append("         AND B.GROUPCOUNT = A.GROUPCOUNT");
+                strcmd.Append("         AND B.LINECOUNT = A.LINECOUNT");
+
+                strcmd.Append("   LEFT JOIN PurchaseOrderDetail As Odr");
+                strcmd.Append("         ON Odr.ConstructionCode = A.ConstructionCode");
+                strcmd.Append("         And Odr.SourceCode = A.SourceCode");
+                strcmd.Append("         And Odr.SourceDetailCnt = A.DetailCount");
+
+                strcmd.Append("   LEFT JOIN PurchaseOrderDetail As Odr2");
+                strcmd.Append("         ON Odr2.ConstructionCode = Odr.ConstructionCode");
+                strcmd.Append("         And Odr2.SeqNo = Odr.SeqNo");
+                strcmd.AppendFormat("   And Odr2.GroupCount = {0}", (int)PurchaseOrderDetail.GroupCountDef.StatutoryWelfare);
+
                 strcmd.AppendFormat(" WHERE A.CONSTRUCTIONCODE = {0}", m_ConstructionCode);
                 strcmd.Append(" ORDER BY A.GROUPCOUNT ASC, A.LINECOUNT ASC, A.DETAILCOUNT ASC, B.COLUMNCOUNT ASC");
 
@@ -3057,7 +3089,7 @@
             IOConstructionLedger LedgerDB = new IOConstructionLedger();
             IOConstructionLedgerDetail DetailDB = new IOConstructionLedgerDetail();
             IOProcessApproval ProAppDB = new IOProcessApproval();
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
             try
             {
                 // å·¥äº‹è©³ç´°å�°å¸³ãƒ‡ãƒ¼ã‚¿ã‚’èª­ã�¿è¾¼ã‚€
@@ -3168,6 +3200,16 @@
                         RowData[(int)GridColumn.EstimatePrice] = DetailRec.EstimatePrice.ToString("#,#");
                         RowData[(int)GridColumn.ExecPrice] = DetailRec.ExecutionAmount.ToString("#,0");
                         RowData[(int)GridColumn.Percent] = DetailRec.AmountConfigRate.ToString("0.00");
+                        
+                        // æ–½å·¥è²»ã�®ã�¿æ”¯æ‰•ã�„ä¸Šé™�ã‚’è¡¨ç¤ºã�™ã‚‹
+                        float fSwRate = CommonMotions.cnvFloat(objCurRec[DetailCnt + 3]);
+                        int swValue = CommonMotions.cnvInt(objCurRec[DetailCnt + 2]);
+                        if (DetailRec.GroupCount == (int)FrmConstructionLedger.DataGroup.ConstructionCosts
+                            && swValue > 0)
+                        {
+                            float fRate = 100.0f - fSwRate;
+                            RowData[(int)GridColumn.OrderPrice] = CommonMotions.cnvRound(((float)swValue / fRate) * 100.0f).ToString("#,#");
+                        }
                     }
                     // å¢—æ¸›å·¥äº‹ãƒ•ãƒ©ã‚°
                     RowData[(int)GridColumn.FluctuationFlg] = DetailRec.FluctuationFlg;
@@ -3406,7 +3448,7 @@
                 int PaymentPoint = (int)GridColumn.Payment;
 
                 // æ”¯æ‰•é‡‘é¡�ã�®å…ˆé ­ã�¯å¸¸ã�«å·¥äº‹é–‹å§‹æœˆã�«ã�™ã‚‹ 2018/05/23
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DateTime dtFMounth = CommonMotions.cnvDate(m_DspLabelCtrl[(int)DspLblCtrlName.StartingDate].Text);
                 string strFMounth = YearMonthFormat(dtFMounth.Year, dtFMounth.Month);
                 for (int ix = (int)GridColumn.Payment; ix < dgv.ColumnCount; ix++)
@@ -3563,7 +3605,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 // ã‚°ãƒ«ãƒ¼ãƒ—ã�”ã�¨ã�®å‡¦ç�†
                 switch (GroupCount)
                 {
@@ -3592,7 +3634,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 // ã‚°ãƒ«ãƒ¼ãƒ—ã�”ã�¨ã�®å‡¦ç�†
                 switch (DetailRec.GroupCount)
                 {
@@ -3699,7 +3741,7 @@
                 // ã‚°ãƒªãƒƒãƒ‰æ›¸è¾¼ã�¿ç¦�æ­¢æ™‚ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (dgvAllDisplay.ReadOnly) return;
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.CurrentRow;
                 int GroupCount = 0;
 
@@ -3771,7 +3813,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 bool bRet = false;
@@ -3816,7 +3858,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 // è¿½åŠ ã�§ã��ã‚‹ã�‹ã�®åˆ¤å®š
@@ -3833,7 +3875,7 @@
                 m_BeforeGridRow = InsertCnt;
 
                 // è¡Œä½œæˆ�
-                DataGridViewAction.CreateNewLine(dgv, ref InsertCnt);
+                dgvAllDisplay.CreateNewLine(ref InsertCnt);
 
                 // è¨­å®šãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
                 DataGridViewRow SetData = dgv.Rows[InsertCnt];
@@ -3921,7 +3963,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 int iCnt = 1;
                 for (int i = startLine; i < dgv.RowCount; i++, iCnt++)
                 {
@@ -3945,7 +3987,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 Array.Clear(m_CostsRowCount, 0, m_CostsRowCount.Length);
                 int GroupNo = -1;
                 int CompNo = -1;
@@ -4066,7 +4108,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 int RemoveCnt = 0;
@@ -4204,7 +4246,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // ã‚«ãƒ¬ãƒ³ãƒˆã‚’è¦ªè¡Œã�¸å¤‰æ›´ã�™ã‚‹
                 dgv.CurrentCell = dgv.Rows[ParentLine].Cells[(int)GridColumn.ItemName];
@@ -4228,7 +4270,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 int UpCnt = 0;
@@ -4266,7 +4308,7 @@
                 if (UpCnt == 0) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction(dgv, (int)GridColumn.FixFlg, (dgv.ColumnCount - 1));
+                dgvAllDisplay.GridRowUpAction((int)GridColumn.FixFlg, (dgv.ColumnCount - 1));
 
                 // è¡Œé�¸æŠžè‰²ã‚’å¤‰æ›´ã�™ã‚‹
                 DefaultALLRowChangeColor();
@@ -4287,7 +4329,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 int DownCnt = 0;
@@ -4324,7 +4366,7 @@
                 if (DownCnt == 0) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction(dgv, (int)GridColumn.FixFlg, (dgv.ColumnCount - 1));
+                dgvAllDisplay.GridRowDownAction((int)GridColumn.FixFlg, (dgv.ColumnCount - 1));
 
                 // è¡Œé�¸æŠžè‰²ã‚’å¤‰æ›´ã�™ã‚‹
                 DefaultALLRowChangeColor();
@@ -4451,7 +4493,7 @@
             {
                 int LineRet = 0;
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 for (int i = 0; i < m_CostsRowCount[(int)CostsRowLine.PurchaseCostsRowLine]; i++)
                 {
                     if (CommonMotions.cnvString(dgv.Rows[i].Cells[(int)GridColumn.ItemName].Value).IndexOf(Terget) >= 0
@@ -4480,7 +4522,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 int EstimatePriceValue = 0;
                 int ExecPriceValue = 0;
@@ -4664,7 +4706,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // çµŒè²»ãƒ‡ãƒ¼ã‚¿ã‚’å�–å¾—ã�™ã‚‹
                 int nGroupCount = (int)GridColumn.GroupCount;
@@ -4745,7 +4787,7 @@
                 string DelSQL = DetailDB.CreatePrimarykeyString(m_ConstructionCode);
                 DetailDB.DeleteAction(DelSQL, false);
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 int PaymentBurdenCol = dgv.ColumnCount + (int)ColPayTotal.PaymentBurdens;
                 int RowLineCnt = 0;
                 //int nOldLineCnt = 0;
@@ -4940,7 +4982,7 @@
                 // ã�¾ã�šå‰Šé™¤ã�™ã‚‹
                 string DelSQL = ExcuteDB.CreatePrimarykeyString(m_ConstructionCode);
                 ExcuteDB.DeleteAction(DelSQL, false);
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 int PayEnd = dgv.ColumnCount + (int)ColPayTotal.Totals;
                 int RowLineCnt = 0;
 
@@ -5034,7 +5076,7 @@
             int ErrorRowl = 0;
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 // æ˜Žç´°ãƒ�ã‚§ãƒƒã‚¯
                 foreach (DataGridViewRow wrkRow in dgvAllDisplay.Rows)
                 {
@@ -5372,7 +5414,7 @@
             FrmSubContractorDiag frm = new FrmSubContractorDiag();
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 frm.ConstructionCode = m_ConstructionCode;
                 frm.StartupSource = (int)ClsExcute.ProcessExecuteNo.ConstructionLedger;
@@ -5435,7 +5477,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 
                 int ResultCols = dgv.ColumnCount + (int)ColPayTotal.Results;
                 int OverpaymentCols = dgv.ColumnCount + (int)ColPayTotal.Overpayments;
@@ -5728,7 +5770,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // æ˜Žç´°ä»¥å¤–ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (CommonMotions.chkObjectIsNull(CurRow.Cells[(int)GridColumn.TotalFlg].Value)) return;
@@ -5823,8 +5865,13 @@
                         break;
                     default:
 
+                        int ExecPrice = CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.ExecPrice].Value);
+                        
+                        // æ–½å·¥è²»ã�¯æ³¨æ–‡æ›¸é‡‘é¡�ã�Œã�‚ã‚Œã�°æ³¨æ–‡æ›¸é‡‘é¡�ã‚ˆã‚Šè¨ˆç®—ã�™ã‚‹
+                        int OrderPrice = CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.OrderPrice].Value);
+                        if (OrderPrice > 0) ExecPrice = OrderPrice;
+
                         // å®Ÿç¸¾è¡¨ç¤º
-                        int ExecPrice = CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.ExecPrice].Value);
                         int ResultValue = (ExecPrice - RowTotal);
 
                         CurRow.Cells[TotalCols].Value = RowTotal.ToString("#,0");
@@ -5871,7 +5918,7 @@
                 CurRow.Cells[(int)GridColumn.ExecPrice].Value = ((int)(OrdersPrice * (percent / 100.0))).ToString("#,#");
                 CurRow.Cells[(int)GridColumn.Payment].Value = ((int)(OrdersPrice * (percent / 100.0))).ToString("#,#");
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 // å�ˆè¨ˆæ¬„ä½�ç½®å�–å¾—
                 int TotalPoint = dgv.ColumnCount + (int)ColPayTotal.Totals;
                 CurRow.Cells[TotalPoint].Value = ((int)(OrdersPrice * (percent / 100.0))).ToString("#,#");
@@ -6040,7 +6087,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 int GroupNo = (int)DataGroup.Expenses;
                 // å�—æ³¨é‡‘é¡�å�–å¾—
@@ -6154,7 +6201,7 @@
                 if (!DetailDB.SelectAction(strSQL, ref DetailList)) return false;
                 if (DetailList.Count == 0) return false;
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 int GroupNo = (int)DataGroup.ConstructionCosts;
                 int icnt = 0;
 
@@ -6187,7 +6234,7 @@
                 foreach (ConstructionBudgetDetail DetailRec in DetailList)
                 {
                     // è¡Œè¿½åŠ 
-                    DataGridViewAction.CreateNewLine(dgv, ref TargetLine);
+                    dgvAllDisplay.CreateNewLine(ref TargetLine);
 
                     DataGridViewRow GridRow = dgv.Rows[TargetLine];
 
@@ -6291,7 +6338,7 @@
                 if (!DetailDB.ExecuteReader(strSQL, ref DetailList)) return false;
                 if (DetailList.Count == 0) return true;
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 object[] wrkobj = (object[])DetailList[0];
 
                 // è¡Œä½�ç½®å�–å¾—
@@ -6375,7 +6422,7 @@
                         break;
                 }
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow RowData = dgv.Rows[TargetLine];
 
                 int[] NowValue = new int[3];
@@ -6505,7 +6552,7 @@
 
                 // æ‹…å½“è€…ã�Œå�Œã�˜ã�ªã‚‰ã�°é‡‘é¡�ã‚’å¤‰æ›´ã�™ã‚‹ã€�æ‹…å½“è€…ã�Œã�„ã�ªã�‘ã‚Œã�°è¡Œã‚’å¢—ã‚„ã�™
                 bool bExist = false;
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 for (int i = TargetLine; i < dgv.RowCount; i++, TargetLine++)
                 {
                     DataGridViewRow wrkRow = dgv.Rows[i];
@@ -6793,7 +6840,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 int GroupNo = (int)DataGroup.Expenses;
                 // å�—æ³¨é‡‘é¡�å�–å¾—
@@ -6949,7 +6996,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // å·¥äº‹å��ç§°å�–å¾—
                 string strName = "SELECT DETAILSTRING FROM CONSTRUCTIONBASEINFODETAIL";
@@ -6974,7 +7021,7 @@
                 // æ¬¡ã�®è¡Œã�‹ã‚‰è¿½åŠ 
                 TargetLine++;
                 // ã‚¿ã‚¤ãƒˆãƒ«è¿½åŠ 
-                DataGridViewAction.CreateNewLine(dgv, ref TargetLine);
+                dgvAllDisplay.CreateNewLine(ref TargetLine);
                 DataGridViewRow TitleRow = dgv.Rows[TargetLine];
                 TitleRow.Cells[(int)GridColumn.FixFlg].Value = "*";
                 TitleRow.Cells[(int)GridColumn.GroupCount].Value = GroupNo;
@@ -7022,7 +7069,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // è¡Œä½�ç½®å�–å¾—
                 int StartLine = m_CostsRowCount[(int)CostsRowLine.ConstructionCostLine];
@@ -7062,7 +7109,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // å·¥äº‹äºˆç®—æ›¸æ˜Žç´°ãƒ‡ãƒ¼ã‚¿ã‚’èª­ã�¿è¾¼ã‚€
                 List<ConstructionBudgetDetail> DetailList = new List<ConstructionBudgetDetail>();
@@ -7093,7 +7140,7 @@
                 foreach (ConstructionBudgetDetail DetailRec in DetailList)
                 {
                     // è¡Œè¿½åŠ 
-                    DataGridViewAction.CreateNewLine(dgv, ref TargetLine);
+                    dgvAllDisplay.CreateNewLine(ref TargetLine);
 
                     DataGridViewRow GridRow = dgv.Rows[TargetLine];
 
@@ -7148,7 +7195,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // å·¥äº‹è©³ç´°å�°å¸³æ˜Žç´°ãƒ‡ãƒ¼ã‚¿ã‚’èª­ã�¿è¾¼ã‚€
                 List<ConstructionLedgerDetail> DetailList = new List<ConstructionLedgerDetail>();
@@ -7169,7 +7216,7 @@
                 foreach (ConstructionLedgerDetail DetailRec in DetailList)
                 {
                     // è¡Œè¿½åŠ 
-                    DataGridViewAction.CreateNewLine(dgv, ref TargetLine);
+                    dgvAllDisplay.CreateNewLine(ref TargetLine);
 
                     DataGridViewRow GridRow = dgv.Rows[TargetLine];
 
@@ -7386,7 +7433,7 @@
                         break;
                 }
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow RowData = dgv.Rows[TargetLine];
 
                 RowData.Cells[(int)GridColumn.SourceCode].Value = m_ConstructionCode;
@@ -7594,7 +7641,7 @@
 
                 // æ‹…å½“è€…ã�Œå�Œã�˜ã�ªã‚‰ã�°é‡‘é¡�ã‚’å¤‰æ›´ã�™ã‚‹ã€�æ‹…å½“è€…ã�Œã�„ã�ªã�‘ã‚Œã�°è¡Œã‚’å¢—ã‚„ã�™
                 bool bExist = false;
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 for (int i = TargetLine; i < dgv.RowCount; i++, TargetLine++)
                 {
                     DataGridViewRow wrkRow = dgv.Rows[i];
@@ -7778,7 +7825,7 @@
                         break;
                 }
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // è¡Œæ•°ä¿�æŒ�ã�®ã‚¨ãƒªã‚¢ã‚’æ›´æ–°ã�™ã‚‹
                 SetCostsRowCount();
@@ -7957,7 +8004,7 @@
                 m_TargetDetailNo = -1;
                 m_TargetColumn = 0;
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.CurrentRow;
                 // æ–½å·¥è²»ä»¥å¤–ã�®é�¸æŠžã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.GroupCount].Value) != (int)DataGroup.ConstructionCosts)
@@ -8125,7 +8172,7 @@
                 // è«‹æ±‚å‡¦ç�†é€£æ�ºé‡‘é¡�
                 if (m_AddingRequestPrice < 0) return false;
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 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)
@@ -8202,7 +8249,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 foreach (DataGridViewRow CurRow in dgv.Rows)
                 {
                     // åŒºåˆ‡ã‚Šè¡Œã�¯å‡¦ç�†ã�—ã�ªã�„
@@ -8244,7 +8291,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 Color clrBack = lblReqSumType03.BackColor;
                 Color clrFore = lblReqSumType03.ForeColor;
@@ -8341,7 +8388,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // æœ€çµ‚ãƒ‡ãƒ¼ã‚¿ä½�ç½®å�–å¾—
                 int nDataGridLast = (dgv.ColumnCount - 1) - Enum.GetNames(typeof(ColPayTotal)).Length;
@@ -8369,7 +8416,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // ----- ã‚°ãƒªãƒƒãƒ‰ç¯„å›²ã‚’ä¼¸ã�°ã�™
                 // ç”»é�¢å¹´æœˆæ—¥å�–å¾—
@@ -8423,7 +8470,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // å¯¾è±¡æœˆæ–‡å­—åˆ—ä½œæˆ�
                 // å¯¾è±¡å¹´æœˆæ—¥å�–å¾—
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/ProcessControl.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/ProcessControl.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/ProcessControl.cs	(revision 355)
@@ -31,13 +31,13 @@
         /// è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�®ç•ªå�·ã‚’æŒ�ã�¤
         /// </summary>
         private static int s_CurrentProcessNo = (int)ClsExcute.ProcessExecuteNo.ConstructionLedger;
- 		#endregion
+        #endregion
 
         #region ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼å¤‰æ•°
         /// <summary>
         /// ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼
         /// </summary>
-        private ContextMenuStrip m_ProcessContextMenuStrip;
+        private ContextMenuStrip m_ProcessContextMenuStrip = new ContextMenuStrip();
         #endregion
 
         #region åˆ¥ãƒ—ãƒ­ã‚»ã‚¹ç§»å‹•ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä½œæˆ�
@@ -48,12 +48,8 @@
         {
             try
             {
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä¸€è¦§ã‚’ä½œæˆ�ã�™ã‚‹
-                m_ProcessContextMenuStrip = new ContextMenuStrip();
-
                 // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�®ã‚»ãƒƒãƒˆ
                 UpDateProcessContextMenu(bSubForm);
-
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/FrmConstructionLedgerList.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/FrmConstructionLedgerList.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/FrmConstructionLedgerList.cs	(revision 355)
@@ -598,7 +598,7 @@
         {
             if (e.RowIndex < 0) return;
 
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             DataGridViewRow CurRow = dgv.CurrentRow;
 
             // ƒf�[ƒ^‚ª‚È‚¢�ê�‡‚Í”²‚¯‚é
@@ -778,7 +778,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 lblCellTotal.Text = string.Empty;
 
@@ -822,7 +822,7 @@
         /// <param name="e"></param>
         private void dgvMaster_SelectionChanged(object sender, EventArgs e)
         {
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             DataGridViewRow CurRow = dgv.CurrentRow;
 
             // ƒf�[ƒ^‚ª‚È‚¢�ê�‡‚Í”²‚¯‚é
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/FrmConstructionLedgerListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/FrmConstructionLedgerListAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/FrmConstructionLedgerListAuxiliary.cs	(revision 355)
@@ -53,7 +53,7 @@
                 // ƒtƒH�[ƒ€ƒTƒCƒYŽæ“¾
                 m_FormWidthSize = this.Width;
 
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
                 m_GridWidthSize = dgv.Width;
 
@@ -165,7 +165,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 int NowPoint = ClsExcute.GetNowProcessPoint();
                 // Œ»�Ý�Ý’è’lƒNƒŠƒA
@@ -231,7 +231,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 // ’S“–ŽÒ‘I‘ð–³‚Í�ˆ—�‚µ‚È‚¢
@@ -343,7 +343,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 object[] objwrk = null;
                 long MaxOrder = -1;
@@ -441,7 +441,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 int NowPoint = ClsExcute.GetNowProcessPoint();
                 // ˆê”ÊŽg—pŽÒ‚Í‹‹—^‚Ì—“‚ªŒ©‚¦‚È‚¢‚æ‚¤‚É‚·‚é�i‹‹—^—“‚ÍŒ»�Ý”ñ•\Ž¦�j
@@ -488,7 +488,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 int idifference = 0;
                 // �Å‘å‰»‚Ì�ê�‡
                 if (!bNormal)
@@ -539,7 +539,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 // �s‚Ì�F‚ð•Ï‚¦‚é
                 for (int i = 0; i < dgv.ColumnCount; i++)
@@ -565,7 +565,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
 
                 // �s‚Ì�F‚ð•Ï‚¦‚é
@@ -588,7 +588,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 if (CurrentRow >= dgv.RowCount) return;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
 
@@ -687,7 +687,7 @@
                 }
 
                 // ----- Œo”ï‚Ì�WŒv
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 int SumData = 0;
                 for (int i = 1; i < CostDataOfPerson.DataNoStrArrary.Length; i++)
                 {
@@ -742,7 +742,7 @@
                 CommonLedgerData.GetPersonAuxiliaryCostValue(TargetYear, DepartmentCode, PersonCode, ref CostValue);
 
                 // ----- •â�•�U•ª‚Ì�WŒv
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 int SumData = 0;
                 int RowCnt = 0;
                 
@@ -830,7 +830,7 @@
             IOConstructionLedger LedgerDB = new IOConstructionLedger();
             IOMPersonInCharge SalaryDB = new IOMPersonInCharge();
             IOCostDataOfPerson CostDB = new IOCostDataOfPerson();
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             ProgressBar prgber = ProgressBar;
             try
             {
@@ -1992,7 +1992,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 // ƒJƒ‰ƒ€�”ƒ`ƒFƒbƒN
                 int DefFirstColCnt = Enum.GetNames(typeof(DCFirstHalf)).Length;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/ProcessControl.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/ProcessControl.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/ProcessControl.cs	(revision 355)
@@ -31,13 +31,13 @@
         /// è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�®ç•ªå�·ã‚’æŒ�ã�¤
         /// </summary>
         private static int s_CurrentProcessNo = (int)ClsExcute.ProcessExecuteNo.ConstructionLedger;
- 		#endregion
+        #endregion
 
         #region ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼å¤‰æ•°
         /// <summary>
         /// ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼
         /// </summary>
-        private ContextMenuStrip m_ProcessContextMenuStrip;
+        private ContextMenuStrip m_ProcessContextMenuStrip = new ContextMenuStrip();
         #endregion
 
         #region åˆ¥ãƒ—ãƒ­ã‚»ã‚¹ç§»å‹•ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä½œæˆ�
@@ -48,12 +48,8 @@
         {
             try
             {
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä¸€è¦§ã‚’ä½œæˆ�ã�™ã‚‹
-                m_ProcessContextMenuStrip = new ContextMenuStrip();
-
                 // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�®ã‚»ãƒƒãƒˆ
                 UpDateProcessContextMenu(bSubForm);
-
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionSplit/FrmConstructionSplit.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionSplit/FrmConstructionSplit.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionSplit/FrmConstructionSplit.Designer.cs	(revision 355)
@@ -42,7 +42,7 @@
             this.btnCancel = new System.Windows.Forms.Button();
             this.btnEntry = new System.Windows.Forms.Button();
             this.label1 = new System.Windows.Forms.Label();
-            this.dgvSource = new System.Windows.Forms.DataGridView();
+            this.dgvSource = new CustomControls.DataGridViewEX();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -58,7 +58,7 @@
             this.numUDConstPro = new System.Windows.Forms.NumericUpDown();
             this.label5 = new System.Windows.Forms.Label();
             this.label7 = new System.Windows.Forms.Label();
-            this.dgvMaster = new System.Windows.Forms.DataGridView();
+            this.dgvMaster = new CustomControls.DataGridViewEX();
             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -537,7 +537,7 @@
         private System.Windows.Forms.Button btnCancel;
         private System.Windows.Forms.Button btnEntry;
         private System.Windows.Forms.Label label1;
-        private System.Windows.Forms.DataGridView dgvSource;
+        private CustomControls.DataGridViewEX dgvSource;
         private ProcessManagement.Forms.CustomControls.GroupBoxEx groupBox1;
         private System.Windows.Forms.Label label13;
         private System.Windows.Forms.ComboBox cmbConstructionPerson;
@@ -547,7 +547,7 @@
         private System.Windows.Forms.NumericUpDown numUDConstPro;
         private System.Windows.Forms.Label label5;
         private System.Windows.Forms.Label label7;
-        private System.Windows.Forms.DataGridView dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Label label2;
         private System.Windows.Forms.Label label3;
         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/CostomerRegist/FrmCostomerRegist.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/CostomerRegist/FrmCostomerRegist.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/CostomerRegist/FrmCostomerRegist.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.DataEntry
+ï»¿namespace ProcessManagement.Forms.DataEntry
 {
     partial class FrmCostomerRegist
     {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/CostomerRegist/FrmCostomerRegistListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/CostomerRegist/FrmCostomerRegistListAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/CostomerRegist/FrmCostomerRegistListAuxiliary.cs	(revision 355)
@@ -129,7 +129,7 @@
             try
             {
                 this.Visible = false;
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 if (bNewFlg)
@@ -310,7 +310,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 int ino = 1;
                 int OPoint = -1;
                 int datamode = 0;
@@ -418,7 +418,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 // ƒOƒŠƒbƒh‚Ì�s‚ð0‚É–ß‚·
                 dgv.Rows.Clear();
@@ -442,7 +442,7 @@
             // ƒtƒH�[ƒ€ƒTƒCƒYŽæ“¾
             m_FormWidthSize = this.Width;
 
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
             m_GridWidthSize = dgv.Width;
 
@@ -463,7 +463,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 int idifference = 0;
                 // �Å‘å‰»‚Ì�ê�‡
                 if (!bNormal)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/FrmDRConstruction.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/FrmDRConstruction.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/FrmDRConstruction.cs	(revision 355)
@@ -41,9 +41,9 @@
 
         #region ’è�”
 
-        #region DataGridView–¼�Ì’è‹`
+        #region DataGridViewEX–¼�Ì’è‹`
         /// <summary>
-        /// DataGridView–¼�Ì’è‹`
+        /// DataGridViewEX–¼�Ì’è‹`
         /// </summary>
         private enum DataGridDefine
         {
@@ -329,9 +329,9 @@
         private Control[] m_DspControl;
 
         /// <summary>
-        /// DataGridView”z—ñ
+        /// DataGridViewEX”z—ñ
         /// </summary>
-        private DataGridView[] m_DgvArray;
+        private DataGridViewEX[] m_DgvArray;
 
         #region Cell•�ƒTƒCƒY
         private int[] m_CellSize1;
@@ -668,7 +668,7 @@
 
                 if (ActiveControl.Name.Equals(btnEnd.Name)) return;
 
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
                 DataGridViewRow dgvRow = dgv.CurrentRow;
 
                 // �ì‹Æ“à—eƒOƒŠƒbƒhˆÈŠO‚Í�ˆ—�‚µ‚È‚¢
@@ -731,7 +731,7 @@
                 if (!ActiveControl.GetType().Equals(typeof(DataGridViewEX))) return;
 
                 // ‘I‘ðƒOƒŠƒbƒh‚ð’T‚·
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
                 int ActiveGrid = -1;
                 if (dgv == m_DgvArray[(int)DataGridDefine.Detail]) ActiveGrid = (int)DataGridDefine.Detail;
                 if (dgv == m_DgvArray[(int)DataGridDefine.Vehicles]) ActiveGrid = (int)DataGridDefine.Vehicles;
@@ -850,11 +850,11 @@
             // ŽQ�ÆŽž‚Í�ˆ—�‚µ‚È‚¢
             if (m_EditLock) return;
 
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
 
             if (m_DgvArray[(int)DataGridDefine.Detail] != dgv) return;
             // �ì‹Æ“à—eƒOƒŠƒbƒh
-            CellDoubleClickGrid1((DataGridView)sender, e);
+            CellDoubleClickGrid1((DataGridViewEX)sender, e);
         }
         #endregion
 
@@ -947,7 +947,7 @@
             // ŽQ�ÆŽž‚Í�ˆ—�‚µ‚È‚¢
             if (m_EditLock) return;
 
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
 
             // �s•Ò�Wƒ{ƒ^ƒ“•\Ž¦�§Œä
             DisplayLineEditButton(sender);
@@ -1329,7 +1329,7 @@
             {
                 if (ActiveControl.Name.Equals(btnEnd.Name)) return;
 
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // ŒÅ’è•¶Žš—ñ‚¾‚¯‚ª‘Î�Û
                 if (e.ColumnIndex != (int)DispGridColumn5.No && e.ColumnIndex != (int)DispGridColumn5.Fix) return;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/FrmDRConstruction.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/FrmDRConstruction.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/FrmDRConstruction.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.DataEntry
+ï»¿namespace ProcessManagement.Forms.DataEntry
 {
     partial class FrmDRConstruction
     {
@@ -1826,11 +1824,11 @@
         private System.Windows.Forms.Label label10;
         private System.Windows.Forms.Label label19;
         private System.Windows.Forms.Label label4;
-        private DataGridViewEX dgvAllDisplay;
+        private CustomControls.DataGridViewEX dgvAllDisplay;
         private System.Windows.Forms.Label label3;
         private System.Windows.Forms.TextBox textBox;
         private System.Windows.Forms.Label label2;
-        private DataGridViewEX dataGridViewEX1;
+        private CustomControls.DataGridViewEX dataGridViewEX1;
         private System.Windows.Forms.Label lblGrid1Total3;
         private System.Windows.Forms.Label lblGrid1Total2;
         private System.Windows.Forms.Label lblGrid1Total1;
@@ -1848,7 +1846,7 @@
         private System.Windows.Forms.Label label36;
         private System.Windows.Forms.Label label37;
         private System.Windows.Forms.Label label38;
-        private DataGridViewEX dataGridViewEX2;
+        private CustomControls.DataGridViewEX dataGridViewEX2;
         private System.Windows.Forms.Label label27;
         private System.Windows.Forms.Label label31;
         private System.Windows.Forms.Label label30;
@@ -1862,11 +1860,11 @@
         private System.Windows.Forms.Label label41;
         private System.Windows.Forms.Label label42;
         private System.Windows.Forms.Label label46;
-        private DataGridViewEX dataGridViewEX4;
+        private CustomControls.DataGridViewEX dataGridViewEX4;
         private System.Windows.Forms.Label label43;
         private System.Windows.Forms.Label label44;
         private System.Windows.Forms.Label label45;
-        private DataGridViewEX dataGridViewEX3;
+        private CustomControls.DataGridViewEX dataGridViewEX3;
         private System.Windows.Forms.Label label47;
         private System.Windows.Forms.Label label48;
         private System.Windows.Forms.Label label49;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/FrmDRConstructionAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/FrmDRConstructionAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/FrmDRConstructionAuxiliary.cs	(revision 355)
@@ -102,7 +102,7 @@
                 //m_DspControl[(int)DspCtrlName.ConstructionType] = label21;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆå�–å¾—
-                m_DgvArray = new DataGridView[5];
+                m_DgvArray = new DataGridViewEX[5];
                 m_DgvArray[(int)DataGridDefine.Detail] = dgvAllDisplay;
                 m_DgvArray[(int)DataGridDefine.Vehicles] = dataGridViewEX1;
                 m_DgvArray[(int)DataGridDefine.Materials] = dataGridViewEX2;
@@ -110,7 +110,7 @@
                 m_DgvArray[(int)DataGridDefine.Field] = dataGridViewEX4;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚»ãƒ«ã‚µã‚¤ã‚ºå�–å¾—
-                DataGridView dgv = m_DgvArray[(int)DataGridDefine.Detail];
+                DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Detail];
                 m_CellSize1 = new int[dgv.ColumnCount];
                 foreach (DataGridViewColumn col in dgv.Columns)
                 {
@@ -272,7 +272,7 @@
         {
             try
             {
-                DataGridView dgv = m_DgvArray[(int)DataGridDefine.Detail];
+                DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Detail];
 
                 int CellWidth1 = m_CellSize1[(int)DispGridColumn1.JobCategoryName];
                 int CellWidth2 = m_CellSize1[(int)DispGridColumn1.CompanyName];
@@ -394,7 +394,7 @@
         {
             try
             {
-                DataGridView dgv = m_DgvArray[(int)DataGridDefine.Vehicles];
+                DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Vehicles];
 
                 int CellWidth1 = m_CellSize2[(int)DispGridColumn2.Model];
                 int CellWidth2 = m_CellSize2[(int)DispGridColumn2.Performance];
@@ -478,7 +478,7 @@
         {
             try
             {
-                DataGridView dgv = m_DgvArray[(int)DataGridDefine.Materials];
+                DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Materials];
 
                 int CellWidth1 = m_CellSize3[(int)DispGridColumn3.Materials];
                 int CellWidth2 = m_CellSize3[(int)DispGridColumn3.Production];
@@ -562,7 +562,7 @@
         {
             try
             {
-                DataGridView dgv = m_DgvArray[(int)DataGridDefine.Subcontractors];
+                DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Subcontractors];
 
                 int CellWidth1 = m_CellSize4[(int)DispGridColumn4.Attendee];
                 int CellWidth2 = m_CellSize4[(int)DispGridColumn4.ContentsText];
@@ -623,7 +623,7 @@
         {
             try
             {
-                DataGridView dgv = m_DgvArray[(int)DataGridDefine.Field];
+                DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Field];
 
                 int CellWidth1 = m_CellSize5[(int)DispGridColumn5.ContentsText];
                 // æœ€å¤§åŒ–ã�®å ´å�ˆ
@@ -859,7 +859,7 @@
         private void DisplayDetail()
         {
             IODailyDataDetail DetailDB = new IODailyDataDetail();
-            DataGridView dgv = m_DgvArray[(int)DataGridDefine.Detail];
+            DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Detail];
             try
             {
                 dgv.Rows.Clear();
@@ -1019,7 +1019,7 @@
         {
             try
             {
-                DataGridView dgv = m_DgvArray[(int)DataGridDefine.Detail];
+                DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Detail];
                 // ã‚°ãƒªãƒƒãƒ‰è¡¨ç¤º
                 double Total1 = 0;
                 double Total2 = 0;
@@ -1049,7 +1049,7 @@
         private void DisplayVehicles()
         {
             IODailyDataVehicles VehiclesDB = new IODailyDataVehicles();
-            DataGridView dgv = m_DgvArray[(int)DataGridDefine.Vehicles];
+            DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Vehicles];
             try
             {
 
@@ -1116,7 +1116,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰å�–å¾—
-                DataGridView dgv = m_DgvArray[(int)DataGridDefine.Vehicles];
+                DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Vehicles];
 
                 // ç•ªå�·ã‚’æŒ¯ã‚Šã�ªã�Šã�™
                 int ino = 1;
@@ -1140,7 +1140,7 @@
         private void DisplayMaterials()
         {
             IODailyDataMaterials MaterialsDB = new IODailyDataMaterials();
-            DataGridView dgv = m_DgvArray[(int)DataGridDefine.Materials];
+            DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Materials];
             try
             {
 
@@ -1200,7 +1200,7 @@
         private void DisplaySubcontractors()
         {
             IODailyDataSubcontractors SubcontractorsDB = new IODailyDataSubcontractors();
-            DataGridView dgv = m_DgvArray[(int)DataGridDefine.Subcontractors];
+            DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Subcontractors];
             try
             {
 
@@ -1257,7 +1257,7 @@
             IODailyDataField FieldDB = new IODailyDataField();
             try
             {
-                DataGridView dgv = m_DgvArray[(int)DataGridDefine.Field];
+                DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Field];
 
                 dgv.Rows.Clear();
 
@@ -1309,7 +1309,7 @@
         {
             try
             {
-                DataGridView dgv = m_DgvArray[FocusGridNo];
+                DataGridViewEX dgv = m_DgvArray[FocusGridNo];
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 // ç�¾å ´å·¡å›žã�¯å‡¦ç�†ã�—ã�ªã�„
@@ -1322,7 +1322,7 @@
                 if (InsertCnt < 1) return;
 
                 // è¡Œä½œæˆ�
-                DataGridViewAction.CreateNewLine(dgv, ref InsertCnt);
+                m_DgvArray[FocusGridNo].CreateNewLine(ref InsertCnt);
 
                 // è»Šä¸¡ã�¯æ™‚é–“ã�«æ–‡å­—ã‚»ãƒƒãƒˆ
                 if (FocusGridNo == (int)DataGridDefine.Vehicles)
@@ -1351,7 +1351,7 @@
         {
             try
             {
-                DataGridView dgv = m_DgvArray[FocusGridNo];
+                DataGridViewEX dgv = m_DgvArray[FocusGridNo];
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 // ç�¾å ´å·¡å›žã�¯å‡¦ç�†ã�—ã�ªã�„
@@ -1418,7 +1418,7 @@
         /// ã‚°ãƒªãƒƒãƒ‰è¡Œç•ªå�·ã‚’æŒ¯ã‚‹
         /// </summary>
         /// <param name="dgv"></param>
-        private void GridReNumber(DataGridView dgv)
+        private void GridReNumber(DataGridViewEX dgv)
         {
             try
             {
@@ -1634,7 +1634,7 @@
                 string DelSQL = DetailDB.CreatePrimarykeyString(m_PersonCode, CreateDate, m_ConstructionCode, 0);
                 DetailDB.DeleteAction(DelSQL, false);
 
-                DataGridView dgv = m_DgvArray[(int)DataGridDefine.Detail];
+                DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Detail];
                 int Seqno=1;
                 foreach (DataGridViewRow wrkRow in dgv.Rows)
                 {
@@ -1696,7 +1696,7 @@
                 string DelSQL = VehiclesDB.CreatePrimarykeyString(m_PersonCode, CreateDate, m_ConstructionCode, 0);
                 VehiclesDB.DeleteAction(DelSQL, false);
 
-                DataGridView dgv = m_DgvArray[(int)DataGridDefine.Vehicles];
+                DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Vehicles];
                 int Seqno = 1;
                 foreach (DataGridViewRow wrkRow in dgv.Rows)
                 {
@@ -1753,7 +1753,7 @@
                 string DelSQL = MaterialsDB.CreatePrimarykeyString(m_PersonCode, CreateDate, m_ConstructionCode, 0);
                 MaterialsDB.DeleteAction(DelSQL, false);
 
-                DataGridView dgv = m_DgvArray[(int)DataGridDefine.Materials];
+                DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Materials];
                 int Seqno = 1;
                 foreach (DataGridViewRow wrkRow in dgv.Rows)
                 {
@@ -1806,7 +1806,7 @@
                 string DelSQL = SubcontractorsDB.CreatePrimarykeyString(m_PersonCode, CreateDate, m_ConstructionCode, 0);
                 SubcontractorsDB.DeleteAction(DelSQL, false);
 
-                DataGridView dgv = m_DgvArray[(int)DataGridDefine.Subcontractors];
+                DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Subcontractors];
                 int Seqno = 1;
                 foreach (DataGridViewRow wrkRow in dgv.Rows)
                 {
@@ -1856,7 +1856,7 @@
                 string DelSQL = FieldDB.CreatePrimarykeyString(m_PersonCode, CreateDate, m_ConstructionCode, 0);
                 FieldDB.DeleteAction(DelSQL, false);
 
-                DataGridView dgv = m_DgvArray[(int)DataGridDefine.Field];
+                DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Field];
                 foreach (DataGridViewRow wrkRow in dgv.Rows)
                 {
                     string ContentsText = CommonMotions.cnvString(wrkRow.Cells[(int)DispGridColumn5.ContentsText].Value);
@@ -1917,7 +1917,7 @@
                 CommonMotions.chgBackColor(m_DgvArray[4].Rows[6].Cells[(int)DispGridColumn5.ContentsText], true);
                 CommonMotions.chgBackColor(m_DgvArray[4].Rows[9].Cells[(int)DispGridColumn5.ContentsText], true);
 
-                foreach (DataGridView dgv in m_DgvArray)
+                foreach (DataGridViewEX dgv in m_DgvArray)
                 {
                     ErrorRow = 0;
                     // æ˜Žç´°ãƒ�ã‚§ãƒƒã‚¯
@@ -2792,7 +2792,7 @@
                 // å¤©æ°—
                 m_DspControl[(int)DspCtrlName.Weather].Enabled = false;
 
-                foreach (DataGridView dgv in m_DgvArray)
+                foreach (DataGridViewEX dgv in m_DgvArray)
                 {
                     dgv.ReadOnly = true;
                 }
@@ -2897,7 +2897,7 @@
         /// <summary>
         /// ä½œæ¥­å†…å®¹ã‚°ãƒªãƒƒãƒ‰ãƒ€ãƒ–ãƒ«ã‚¯ãƒªãƒƒã‚¯å‡¦ç�†
         /// </summary>
-        private void CellDoubleClickGrid1(DataGridView sender, DataGridViewCellEventArgs e)
+        private void CellDoubleClickGrid1(DataGridViewEX sender, DataGridViewCellEventArgs e)
         {
             try
             {
@@ -2931,7 +2931,7 @@
             FrmSubConJobDiag frm = new FrmSubConJobDiag();
             try
             {
-                DataGridView dgv = m_DgvArray[(int)DataGridDefine.Detail];
+                DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Detail];
                 DataGridViewRow dgvRow = dgv.CurrentRow;
 
                 frm.ConstructionCode = m_ConstructionCode;
@@ -2979,7 +2979,7 @@
             FrmSubContractorJobCategory frm = new FrmSubContractorJobCategory();
             try
             {
-                DataGridView dgv = m_DgvArray[(int)DataGridDefine.Detail];
+                DataGridViewEX dgv = m_DgvArray[(int)DataGridDefine.Detail];
 
                 frm.DialogUsed = true;
                 frm.MultiSelect = false;
@@ -3114,7 +3114,7 @@
         /// </summary>
         /// <param name="dgv"></param>
         /// <param name="ColumnCount"></param>
-        private void CalculateGrid1(DataGridView dgv)
+        private void CalculateGrid1(DataGridViewEX dgv)
         {
             try
             {
@@ -3325,7 +3325,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 if (dgv == m_DgvArray[(int)DataGridDefine.Detail])
                 {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/ProcessControl.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/ProcessControl.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/ProcessControl.cs	(revision 355)
@@ -31,13 +31,13 @@
         /// è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�®ç•ªå�·ã‚’æŒ�ã�¤
         /// </summary>
         private static int s_CurrentProcessNo = (int)ClsExcute.ProcessExecuteNo.DRConstruction;
- 		#endregion
+        #endregion
 
         #region ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼å¤‰æ•°
         /// <summary>
         /// ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼
         /// </summary>
-        private ContextMenuStrip m_ProcessContextMenuStrip;
+        private ContextMenuStrip m_ProcessContextMenuStrip = new ContextMenuStrip();
         #endregion
 
         #region åˆ¥ãƒ—ãƒ­ã‚»ã‚¹ç§»å‹•ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä½œæˆ�
@@ -48,12 +48,8 @@
         {
             try
             {
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä¸€è¦§ã‚’ä½œæˆ�ã�™ã‚‹
-                m_ProcessContextMenuStrip = new ContextMenuStrip();
-
                 // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�®ã‚»ãƒƒãƒˆ
                 UpDateProcessContextMenu(bSubForm);
-
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRList/FrmDRList.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRList/FrmDRList.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRList/FrmDRList.cs	(revision 355)
@@ -164,7 +164,7 @@
         /// <param name="e"></param>
         private void btnDataSelect_Click(object sender, EventArgs e)
         {
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             DataGridViewRow dgvRow = dgv.CurrentRow;
 
             // ƒf�[ƒ^‚ª‚È‚¢�ê�‡‚Í”²‚¯‚é
@@ -230,7 +230,7 @@
         {
             if (e.RowIndex < 0) return;
 
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             DataGridViewRow dgvRow = dgv.CurrentRow;
 
             // ƒf�[ƒ^‚ª‚È‚¢�ê�‡‚Í”²‚¯‚é
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRList/FrmDRListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRList/FrmDRListAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRList/FrmDRListAuxiliary.cs	(revision 355)
@@ -115,7 +115,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 DataGridViewRow dgvRow = dgv.CurrentRow;
 
                 int NowPoint = ClsExcute.GetNowProcessPoint();
@@ -1054,7 +1054,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // ƒwƒbƒ_�[‚Í�ˆ—�‚µ‚È‚¢
                 if (e.RowIndex < 0) return;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.Designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.DataEntry
+ï»¿namespace ProcessManagement.Forms.DataEntry
 {
     partial class FrmDRWork
     {
@@ -639,7 +637,7 @@
             this.button4.BackColor = System.Drawing.Color.PaleGreen;
             this.button4.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.button4.ForeColor = System.Drawing.Color.Black;
-            this.button4.Location = new System.Drawing.Point(336, 453);
+            this.button4.Location = new System.Drawing.Point(336, 441);
             this.button4.Name = "button4";
             this.button4.Size = new System.Drawing.Size(80, 28);
             this.button4.TabIndex = 142;
@@ -654,7 +652,7 @@
             this.button5.BackColor = System.Drawing.Color.SpringGreen;
             this.button5.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.button5.ForeColor = System.Drawing.Color.Black;
-            this.button5.Location = new System.Drawing.Point(416, 453);
+            this.button5.Location = new System.Drawing.Point(416, 441);
             this.button5.Name = "button5";
             this.button5.Size = new System.Drawing.Size(80, 28);
             this.button5.TabIndex = 141;
@@ -669,7 +667,7 @@
             this.button3.BackColor = System.Drawing.Color.SkyBlue;
             this.button3.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.button3.ForeColor = System.Drawing.Color.Black;
-            this.button3.Location = new System.Drawing.Point(256, 453);
+            this.button3.Location = new System.Drawing.Point(256, 441);
             this.button3.Name = "button3";
             this.button3.Size = new System.Drawing.Size(80, 28);
             this.button3.TabIndex = 140;
@@ -684,7 +682,7 @@
             this.button1.BackColor = System.Drawing.Color.LightSeaGreen;
             this.button1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.button1.ForeColor = System.Drawing.Color.Black;
-            this.button1.Location = new System.Drawing.Point(96, 453);
+            this.button1.Location = new System.Drawing.Point(96, 441);
             this.button1.Name = "button1";
             this.button1.Size = new System.Drawing.Size(80, 28);
             this.button1.TabIndex = 140;
@@ -699,7 +697,7 @@
             this.button2.BackColor = System.Drawing.Color.SeaGreen;
             this.button2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.button2.ForeColor = System.Drawing.Color.Black;
-            this.button2.Location = new System.Drawing.Point(176, 453);
+            this.button2.Location = new System.Drawing.Point(176, 441);
             this.button2.Name = "button2";
             this.button2.Size = new System.Drawing.Size(80, 28);
             this.button2.TabIndex = 140;
@@ -714,7 +712,7 @@
             this.button9.BackColor = System.Drawing.Color.Olive;
             this.button9.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.button9.ForeColor = System.Drawing.Color.Black;
-            this.button9.Location = new System.Drawing.Point(736, 453);
+            this.button9.Location = new System.Drawing.Point(736, 441);
             this.button9.Name = "button9";
             this.button9.Size = new System.Drawing.Size(80, 28);
             this.button9.TabIndex = 140;
@@ -729,7 +727,7 @@
             this.button8.BackColor = System.Drawing.Color.Khaki;
             this.button8.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.button8.ForeColor = System.Drawing.Color.Black;
-            this.button8.Location = new System.Drawing.Point(656, 453);
+            this.button8.Location = new System.Drawing.Point(656, 441);
             this.button8.Name = "button8";
             this.button8.Size = new System.Drawing.Size(80, 28);
             this.button8.TabIndex = 140;
@@ -744,7 +742,7 @@
             this.button7.BackColor = System.Drawing.Color.LemonChiffon;
             this.button7.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.button7.ForeColor = System.Drawing.Color.Black;
-            this.button7.Location = new System.Drawing.Point(576, 453);
+            this.button7.Location = new System.Drawing.Point(576, 441);
             this.button7.Name = "button7";
             this.button7.Size = new System.Drawing.Size(80, 28);
             this.button7.TabIndex = 140;
@@ -759,7 +757,7 @@
             this.button6.BackColor = System.Drawing.Color.LightCoral;
             this.button6.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.button6.ForeColor = System.Drawing.Color.Black;
-            this.button6.Location = new System.Drawing.Point(496, 453);
+            this.button6.Location = new System.Drawing.Point(496, 441);
             this.button6.Name = "button6";
             this.button6.Size = new System.Drawing.Size(80, 28);
             this.button6.TabIndex = 140;
@@ -775,7 +773,7 @@
             this.label14.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label14.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.label14.ForeColor = System.Drawing.Color.Black;
-            this.label14.Location = new System.Drawing.Point(1038, 454);
+            this.label14.Location = new System.Drawing.Point(1038, 442);
             this.label14.Name = "label14";
             this.label14.Size = new System.Drawing.Size(54, 27);
             this.label14.TabIndex = 138;
@@ -788,7 +786,7 @@
             this.label13.BackColor = System.Drawing.Color.White;
             this.label13.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label13.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.label13.Location = new System.Drawing.Point(938, 454);
+            this.label13.Location = new System.Drawing.Point(938, 442);
             this.label13.Name = "label13";
             this.label13.Size = new System.Drawing.Size(100, 27);
             this.label13.TabIndex = 137;
@@ -802,7 +800,7 @@
             this.label48.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label48.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.label48.ForeColor = System.Drawing.Color.Black;
-            this.label48.Location = new System.Drawing.Point(8, 454);
+            this.label48.Location = new System.Drawing.Point(8, 442);
             this.label48.Name = "label48";
             this.label48.Size = new System.Drawing.Size(80, 27);
             this.label48.TabIndex = 130;
@@ -816,7 +814,7 @@
             this.label5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label5.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.label5.ForeColor = System.Drawing.Color.Black;
-            this.label5.Location = new System.Drawing.Point(838, 454);
+            this.label5.Location = new System.Drawing.Point(838, 442);
             this.label5.Name = "label5";
             this.label5.Size = new System.Drawing.Size(100, 27);
             this.label5.TabIndex = 130;
@@ -2114,7 +2112,7 @@
             this.dgvAllDisplay.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.Black;
             this.dgvAllDisplay.RowTemplate.Height = 24;
             this.dgvAllDisplay.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
-            this.dgvAllDisplay.Size = new System.Drawing.Size(1310, 446);
+            this.dgvAllDisplay.Size = new System.Drawing.Size(1310, 434);
             this.dgvAllDisplay.TabIndex = 37;
             this.dgvAllDisplay.TabStop = false;
             this.dgvAllDisplay.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellDoubleClick);
@@ -2202,7 +2200,7 @@
             dataGridViewCellStyle6.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
             this.Column5.DefaultCellStyle = dataGridViewCellStyle6;
             this.Column5.Frozen = true;
-            this.Column5.HeaderText = "æ®‹æ¥­é–‹å§‹";
+            this.Column5.HeaderText = "é–‹å§‹æ™‚é–“";
             this.Column5.Name = "Column5";
             this.Column5.ReadOnly = true;
             this.Column5.Resizable = System.Windows.Forms.DataGridViewTriState.False;
@@ -2214,7 +2212,7 @@
             dataGridViewCellStyle7.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
             this.Column8.DefaultCellStyle = dataGridViewCellStyle7;
             this.Column8.Frozen = true;
-            this.Column8.HeaderText = "æ®‹æ¥­çµ‚äº†";
+            this.Column8.HeaderText = "çµ‚äº†æ™‚é–“";
             this.Column8.Name = "Column8";
             this.Column8.ReadOnly = true;
             this.Column8.Resizable = System.Windows.Forms.DataGridViewTriState.False;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.cs	(revision 355)
@@ -635,7 +635,7 @@
             // åˆ�æœŸè¡¨ç¤ºã�¯å‡¦ç�†ã�—ã�ªã�„
             if (GetConstructionPersonCode() == 0) return;
 
-            DataGridView dgv = dgvAllDisplay;
+            DataGridViewEX dgv = dgvAllDisplay;
             // å�‚ç…§æ™‚ã�¯å‡¦ç�†ã�—ã�ªã�„
             if (m_EditLock) return;
             if (dgv.ReadOnly) return;
@@ -665,7 +665,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // å�‚ç…§æ™‚ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (m_EditLock) return;
@@ -722,7 +722,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // å�‚ç…§æ™‚ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (m_EditLock) return;
@@ -790,7 +790,7 @@
                 if (ActiveControl == null) return;
                 if (!ActiveControl.GetType().Equals(typeof(DataGridViewEX))) return;
 
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // èª­è¾¼å°‚ç”¨ã‚»ãƒ«ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (dgv.CurrentCell.ReadOnly) return;
@@ -821,7 +821,7 @@
                 // å�‚ç…§æ™‚ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (m_EditLock) return;
 
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
                 DataGridViewRow CurRow = dgv.CurrentRow;
                 double StartDis = 0;
                 double CompDis = 0;
@@ -883,7 +883,7 @@
         /// <param name="e"></param>
         private void dgvTransport_CurrentCellDirtyStateChanged(object sender, EventArgs e)
         {
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
             DataGridViewCell CurCell = dgv.CurrentCell;
             switch (CurCell.ColumnIndex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkAuxiliary.cs	(revision 355)
@@ -70,7 +70,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
             }
             catch (Exception ex)
@@ -254,7 +254,7 @@
             IOMHolidayCalender calDB = new IOMHolidayCalender();
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 dgv.Rows.Clear();
 
                 // é�¸æŠžå¹´æœˆã‚’å�–å¾—ã�™ã‚‹
@@ -263,7 +263,7 @@
 
                 // æ‹…å½“è€…ã‚’å�–å¾—ã�™ã‚‹
                 int PersonCode = GetConstructionPersonCode();
-                //if (PersonCode == 0) return;
+                if (!cmbConstructionPerson.Visible && PersonCode < 1) return;
 
                 m_HolidayCount = 0;
                 // æœˆã�®æœ€çµ‚æ—¥ã‚’æ±‚ã‚�ã‚‹
@@ -334,7 +334,7 @@
                                                 );
 
                     // ä¼‘æ—¥ã�®ãƒ�ã‚§ãƒƒã‚¯
-                    if (strHoliday.Length != 0)
+                    if (strHoliday.Length > 0)
                     {
                         SetHolidayColor(true, AddRow);
                         nWorkKindFlg = (int)AttendanceDailyData.WorkKindFlgDef.Holiday;
@@ -384,7 +384,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 Color FColor = Color.Black;
                 if (bHoliday) FColor = Color.Red;
 
@@ -419,7 +419,7 @@
 
                 // æ‹…å½“è€…ã‚’å�–å¾—ã�™ã‚‹
                 int PersonCode = GetConstructionPersonCode();
-                //if (PersonCode == 0) return;
+                if (!cmbConstructionPerson.Visible && PersonCode < 1) return;
 
                 //dgvTransport01.ReadOnly = false;
                 //dgvTransport02.ReadOnly = false;
@@ -456,11 +456,12 @@
 
                 ArrayList arList = new ArrayList();
                 if (!calDB.ExecuteReader(strSQL, ref arList)) return;
+
                 DateTime DispDate = DateTime.Now;
                 string strDispDay = string.Empty;
                 string strHoliday = string.Empty;
                 int AddRow = 0;
-                DataGridView dgv = dgvTransport01;
+                DataGridViewEX dgv = dgvTransport01;
                 bool[] bArrary = new bool[5];
 
                 // æ—¥ä»˜ã�®è¡¨ç¤º
@@ -491,17 +492,15 @@
                                                 bArrary[3],
                                                 bArrary[4]);
                     // ä¼‘æ—¥ã�®ãƒ�ã‚§ãƒƒã‚¯
-                    if (strHoliday.Length != 0)
+                    if (strHoliday.Length < 1) continue;
+
+                    DataGridViewRow CurRow = dgv.Rows[AddRow];
+
+                    foreach (DataGridViewCell CurCell in CurRow.Cells)
                     {
-                        DataGridViewRow CurRow = dgv.Rows[AddRow];
-
-                        foreach (DataGridViewCell CurCell in CurRow.Cells)
-                        {
-                            CurCell.Style.BackColor = Color.PeachPuff;
-                        }
-                        m_HolidayCount++;
-                        continue;
+                        CurCell.Style.BackColor = Color.PeachPuff;
                     }
+                    m_HolidayCount++;
                 }
                 // è·�é›¢ãƒ»å›žæ•°è¨ˆç®—
                 SetDistanceAndcount();
@@ -554,7 +553,7 @@
             try
             {
                 // å¯¾è±¡ã‚°ãƒªãƒƒãƒ‰å�–å¾—
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 // å¯¾è±¡æ—¥ä»˜å�–å¾—
@@ -574,7 +573,7 @@
                 }
 
                 // è¡Œä½œæˆ�
-                DataGridViewAction.CreateNewLine(dgv, ref InsertCnt);
+                dgvAllDisplay.CreateNewLine(ref InsertCnt);
 
                 // æ—¥ä»˜ã‚»ãƒƒãƒˆ
                 dgv.Rows[InsertCnt].Cells[(int)GridColumn01.AttendanceDate].Value = TargetDay;
@@ -607,7 +606,7 @@
             IOCostDataOfPerson CostDB = new IOCostDataOfPerson();
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 // ã‚«ãƒ¬ãƒ³ãƒˆè¡Œå�–å¾—
                 DataGridViewRow CurRow = dgv.CurrentRow;
                 int RemoveCnt = CurRow.Index;
@@ -1117,7 +1116,7 @@
             {
                 // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹ã‚ˆã‚Šé�¸æŠžæ‹…å½“è€…ã‚’å�–å¾—ã�™ã‚‹
                 int PersonCode = GetConstructionPersonCode();
-                if (PersonCode < 1) return false;
+                if (!cmbConstructionPerson.Visible && PersonCode < 1) return false;
 
                 int DepartmentCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
 
@@ -1273,7 +1272,7 @@
                 }
 
                 bool bRet = true;
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 string strWrk = string.Empty;
                 // ã‚°ãƒªãƒƒãƒ‰ã�®è¡Œåˆ†å‡¦ç�†ã‚’è¡Œã�†
                 foreach (DataGridViewRow wrkRow in dgv.Rows)
@@ -1400,7 +1399,7 @@
                 AttendanceDB.DeleteAction(strSQL, false);
 
                 // ã‚°ãƒªãƒƒãƒ‰å�–å¾—
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // ãƒ‡ãƒ¼ã‚¿ç·¨é›†
                 AttendanceData AttendanceRec = new AttendanceData();
@@ -1449,7 +1448,7 @@
                 AttendanceDB.DeleteAction(strSQL, false);
 
                 // ã‚°ãƒªãƒƒãƒ‰å�–å¾—
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã�®è¡Œåˆ†å‡¦ç�†ã‚’è¡Œã�†
                 int LineCnt = 1;
@@ -1842,7 +1841,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 if (dgv.RowCount == 0) return;
 
                 int WorkingCnt = 0;
@@ -1905,7 +1904,7 @@
                 m_DspControl[(int)DspCtrlName.WarehouseTodayCnt01].Text = "0";
 
                 // ã‚°ãƒªãƒƒãƒ‰ã�®è¡Œåˆ†å‡¦ç�†ã‚’è¡Œã�†
-                DataGridView dgv = dgvTransport01;
+                DataGridViewEX dgv = dgvTransport01;
                 foreach (DataGridViewRow wrkRow in dgv.Rows)
                 {
                     SetDistanceAndcount2(wrkRow);
@@ -2185,7 +2184,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.Rows[RowCnt];
 
                 // å‹¤å‹™åŒºåˆ†å�–å¾—
@@ -2224,7 +2223,7 @@
             FrmConstructionDiag frm = new FrmConstructionDiag();
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow dgvRow = dgv.CurrentRow;
 
                 // ä½œæ¥­å†…å®¹åˆ—ä»¥å¤–ã�¯å‡¦ç�†ã�—ã�ªã�„
@@ -2235,7 +2234,7 @@
 
                 // æ‹…å½“è€…ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹å€¤å�–å¾—
                 int PersonCode = GetConstructionPersonCode();
-                if (PersonCode == 0) return;
+                if (!cmbConstructionPerson.Visible && PersonCode == 0) return;
 
                 // å·¥äº‹æ‹…å½“è€…æ¤œç´¢
                 frm.PersonCharge = (int)FrmConstructionDiag.PersonChargePoint.Construction;
@@ -2336,7 +2335,7 @@
                         // ä¼‘æ—¥
                         break;
                 }
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 if (SetbResult) dgv.Rows[CurRowCnt].Cells[(int)GridColumn01.ActionResult].Value = strResult;
                 dgv.Rows[CurRowCnt].Cells[(int)GridColumn01.WorkingKind].Value = nWorkKind;
@@ -2359,7 +2358,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.CurrentRow;
                 Button btnWrk = (Button)sender;
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkList.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkList.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWorkList.cs	(revision 355)
@@ -348,7 +348,7 @@
                 StringBuilder strSQL = new StringBuilder();
                 CreateSQL(ref strSQL);
 
-                DataGridView dgv = dgvList;
+                DataGridViewEX dgv = dgvList;
                 dgv.Rows.Clear();
                 ArrayList arData = new ArrayList();
                 if (!AttDayDB.ExecuteReader(strSQL.ToString(), ref arData)) return;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepExpenssList/FrmDepExpenssList.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepExpenssList/FrmDepExpenssList.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepExpenssList/FrmDepExpenssList.cs	(revision 355)
@@ -313,7 +313,7 @@
         {
             if (e.RowIndex < 0) return;
 
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             DataGridViewRow CurRow = dgv.CurrentRow;
 
             // ƒf�[ƒ^‚ª‚È‚¢�ê�‡‚Í”²‚¯‚é
@@ -393,7 +393,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 lblCellTotal.Text = string.Empty;
 
@@ -437,7 +437,7 @@
         /// <param name="e"></param>
         private void dgvMaster_SelectionChanged(object sender, EventArgs e)
         {
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             DataGridViewRow CurRow = dgv.CurrentRow;
 
             // ƒf�[ƒ^‚ª‚È‚¢�ê�‡‚Í”²‚¯‚é
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepExpenssList/FrmDepExpenssListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepExpenssList/FrmDepExpenssListAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepExpenssList/FrmDepExpenssListAuxiliary.cs	(revision 355)
@@ -72,7 +72,7 @@
                 // ƒtƒH�[ƒ€ƒTƒCƒYŽæ“¾
                 m_FormWidthSize = this.Width;
 
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
                 m_GridWidthSize = dgv.Width;
 
@@ -321,7 +321,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 // ‘Î�Ûƒf�[ƒ^‚ðŽæ“¾‚·‚é
                 var SumData = arData.Cast<object[]>().Max(y => CommonMotions.cnvLong(y[(int)DBGetData.OrdersDecisionprice]));
@@ -629,7 +629,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 int idifference = 0;
                 // �Å‘å‰»‚Ì�ê�‡
                 if (!bNormal)
@@ -680,7 +680,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 // �s‚Ì�F‚ð•Ï‚¦‚é
                 for (int i = 0; i < dgv.ColumnCount; i++)
@@ -706,7 +706,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
 
                 // �s‚Ì�F‚ð•Ï‚¦‚é
@@ -729,7 +729,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 if (CurrentRow >= dgv.RowCount) return;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
 
@@ -816,7 +816,7 @@
             IOConstructionLedger LedgerDB = new IOConstructionLedger();
             IOMPersonInCharge SalaryDB = new IOMPersonInCharge();
             IOCostDataOfPerson CostDB = new IOCostDataOfPerson();
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             ProgressBar prgber = ProgressBar;
             int initDataCount = 0;
             try
@@ -998,7 +998,7 @@
                                     IOMPersonInCharge SalaryDB, IOConstructionLedger LedgerDB, IOCostDataOfPerson CostDB,
                                     List<SalaryClass> ArrarySalary, List<PersonExpensesCost> ArraryCost)
         {
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             ProgressBar prgber = ProgressBar;
             try
             {
@@ -1582,7 +1582,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 // ƒJƒ‰ƒ€�”ƒ`ƒFƒbƒN
                 int DefFirstColCnt = Enum.GetNames(typeof(DCFirstHalf)).Length;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCostList.resx
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCostList.resx	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCostList.resx	(nonexistent)
@@ -1,135 +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="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="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>
-</root>
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCostList.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCostList.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCostList.designer.cs	(nonexistent)
@@ -1,357 +0,0 @@
-ï»¿namespace ProcessManagement.Forms.DataEntry
-{
-    partial class FrmDepartmentCost
-    {
-        /// <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 dataGridViewCellStyle7 = 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();
-            this.btnEnd = new System.Windows.Forms.Button();
-            this.label1 = new System.Windows.Forms.Label();
-            this.lblCellTotal = new System.Windows.Forms.Label();
-            this.ProgressBar = new System.Windows.Forms.ProgressBar();
-            this.dgvMaster = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
-            this.groupBox1 = new ProcessManagement.Forms.CustomControls.GroupBoxEx();
-            this.cmbDepartment = new System.Windows.Forms.ComboBox();
-            this.label2 = 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.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvMaster)).BeginInit();
-            this.groupBox1.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.numUDConstPro)).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;
-            // 
-            // 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 = 29;
-            // 
-            // ProgressBar
-            // 
-            this.ProgressBar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.ProgressBar.Location = new System.Drawing.Point(10, 619);
-            this.ProgressBar.Name = "ProgressBar";
-            this.ProgressBar.Size = new System.Drawing.Size(388, 30);
-            this.ProgressBar.TabIndex = 30;
-            this.ProgressBar.Visible = false;
-            // 
-            // dgvMaster
-            // 
-            this.dgvMaster.AllowUserToAddRows = false;
-            this.dgvMaster.AllowUserToDeleteRows = false;
-            this.dgvMaster.AllowUserToResizeColumns = false;
-            this.dgvMaster.AllowUserToResizeRows = false;
-            dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
-            this.dgvMaster.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
-            this.dgvMaster.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.dgvMaster.BackgroundColor = System.Drawing.Color.White;
-            this.dgvMaster.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.dgvMaster.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
-            this.dgvMaster.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
-            this.dgvMaster.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.Column1,
-            this.Column3,
-            this.Column2,
-            this.Column4,
-            this.Column5});
-            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Window;
-            dataGridViewCellStyle7.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.ControlText;
-            dataGridViewCellStyle7.SelectionBackColor = System.Drawing.Color.LightSeaGreen;
-            dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvMaster.DefaultCellStyle = dataGridViewCellStyle7;
-            this.dgvMaster.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
-            this.dgvMaster.EnableHeadersVisualStyles = false;
-            this.dgvMaster.Location = new System.Drawing.Point(10, 103);
-            this.dgvMaster.Name = "dgvMaster";
-            this.dgvMaster.RowHeadersVisible = false;
-            this.dgvMaster.RowHeadersWidth = 20;
-            this.dgvMaster.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
-            this.dgvMaster.RowTemplate.Height = 21;
-            this.dgvMaster.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
-            this.dgvMaster.Size = new System.Drawing.Size(1260, 508);
-            this.dgvMaster.TabIndex = 5;
-            this.dgvMaster.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvMaster_CellDoubleClick);
-            this.dgvMaster.SelectionChanged += new System.EventHandler(this.dgvMaster_SelectionChanged);
-            this.dgvMaster.Leave += new System.EventHandler(this.dgvMaster_Leave);
-            this.dgvMaster.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvMaster_MouseUp);
-            // 
-            // groupBox1
-            // 
-            this.groupBox1.Anchor = System.Windows.Forms.AnchorStyles.Top;
-            this.groupBox1.BackColor = System.Drawing.Color.MediumSlateBlue;
-            this.groupBox1.BorderColor = System.Drawing.Color.White;
-            this.groupBox1.Controls.Add(this.cmbDepartment);
-            this.groupBox1.Controls.Add(this.label2);
-            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.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;
-            // 
-            // 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(400, 23);
-            this.cmbDepartment.TabIndex = 1;
-            // 
-            // label2
-            // 
-            this.label2.BackColor = System.Drawing.Color.PaleGoldenrod;
-            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 = 40;
-            this.label2.Text = "éƒ¨ã€€ã€€ç½²";
-            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label4
-            // 
-            this.label4.BackColor = System.Drawing.Color.PaleGoldenrod;
-            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 = 38;
-            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;
-            // 
-            // 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 = 0;
-            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 = 0;
-            this.label7.Text = "ç¬¬";
-            this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // Column1
-            // 
-            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column1.DefaultCellStyle = dataGridViewCellStyle3;
-            this.Column1.Frozen = true;
-            this.Column1.HeaderText = "â„–";
-            this.Column1.Name = "Column1";
-            this.Column1.ReadOnly = true;
-            this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.False;
-            this.Column1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column1.Width = 50;
-            // 
-            // Column3
-            // 
-            this.Column3.HeaderText = "éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
-            this.Column3.Name = "Column3";
-            this.Column3.ReadOnly = true;
-            this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column3.Visible = false;
-            this.Column3.Width = 5;
-            // 
-            // Column2
-            // 
-            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle4.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black;
-            this.Column2.DefaultCellStyle = dataGridViewCellStyle4;
-            this.Column2.HeaderText = "éƒ¨ç½²å��";
-            this.Column2.Name = "Column2";
-            this.Column2.ReadOnly = true;
-            this.Column2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column2.Width = 400;
-            // 
-            // Column4
-            // 
-            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle5.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle5.ForeColor = System.Drawing.Color.Black;
-            this.Column4.DefaultCellStyle = dataGridViewCellStyle5;
-            this.Column4.HeaderText = "æ˜Žç´°æ•°";
-            this.Column4.Name = "Column4";
-            this.Column4.ReadOnly = true;
-            this.Column4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            // 
-            // Column5
-            // 
-            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle6.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle6.ForeColor = System.Drawing.Color.Black;
-            this.Column5.DefaultCellStyle = dataGridViewCellStyle6;
-            this.Column5.HeaderText = "å‡ºç´�é‡‘é¡�";
-            this.Column5.Name = "Column5";
-            this.Column5.ReadOnly = true;
-            this.Column5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column5.Width = 200;
-            // 
-            // FrmDepartmentCost
-            // 
-            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.ProgressBar);
-            this.Controls.Add(this.lblCellTotal);
-            this.Controls.Add(this.dgvMaster);
-            this.Controls.Add(this.groupBox1);
-            this.Controls.Add(this.label1);
-            this.Controls.Add(this.btnEnd);
-            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 = "FrmDepartmentCost";
-            this.ShowIcon = false;
-            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
-            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmConstructionLedgerList_FormClosing);
-            this.Load += new System.EventHandler(this.FrmDepartmentCost_Load);
-            this.SizeChanged += new System.EventHandler(this.FrmConstructionLedgerList_SizeChanged);
-            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FrmConstructionLedgerList_KeyDown);
-            ((System.ComponentModel.ISupportInitialize)(this.dgvMaster)).EndInit();
-            this.groupBox1.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.numUDConstPro)).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 label7;
-        private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvMaster;
-        private System.Windows.Forms.NumericUpDown numUDConstPro;
-        private System.Windows.Forms.Label label5;
-        private System.Windows.Forms.Label label4;
-        private System.Windows.Forms.ComboBox cmbDepartment;
-        private System.Windows.Forms.Label label2;
-        private System.Windows.Forms.Label lblCellTotal;
-        private System.Windows.Forms.ProgressBar ProgressBar;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
-    }
-}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCostListAux.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCostListAux.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCostListAux.cs	(nonexistent)
@@ -1,913 +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;
-//*---------------------------- •”��•Ê�o”[ˆê——‰æ–Ê ----------------------------*
-//  2016/05/11  Ver1.0.0.0      Create Source           
-//
-//
-//
-//*----------------------------------------------------------------------------*
-namespace ProcessManagement.Forms.DataEntry
-{
-    partial class FrmDepartmentCost
-    {
-        #region ’è�”
-        #endregion
-
-        #region •Ï�”
-        #endregion
-
-        #region ƒvƒ�ƒpƒeƒB
-        #endregion
-
-        #region ƒRƒ“ƒgƒ��[ƒ‹ƒCƒxƒ“ƒg’Ç‰Á�ˆ—�
-        /// <summary>
-        /// ƒRƒ“ƒgƒ��[ƒ‹ƒCƒxƒ“ƒg’Ç‰Á�ˆ—�
-        /// </summary>
-        /// <param name="EventCon"></param>
-        private void SetControlEvent()
-        {
-            try
-            {
-                numUDConstPro.ValueChanged += new EventHandler(numUDConstPro_ValueChanged);
-                cmbDepartment.SelectedIndexChanged += new EventHandler(cmbDepartment_SelectedIndexChanged);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒRƒ“ƒgƒ��[ƒ‹ƒCƒxƒ“ƒg�í�œ�ˆ—�
-        /// <summary>
-        /// ƒRƒ“ƒgƒ��[ƒ‹ƒCƒxƒ“ƒg�í�œ�ˆ—�
-        /// </summary>
-        /// <param name="EventCon"></param>
-        private void SubControlEvent()
-        {
-            try
-            {
-                numUDConstPro.ValueChanged -= new EventHandler(numUDConstPro_ValueChanged);
-                cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region •\Ž¦ƒIƒuƒWƒFƒNƒg‚ÌŽæ“¾
-        /// <summary>
-        /// •\Ž¦ƒIƒuƒWƒFƒNƒg‚ÌŽæ“¾
-        /// </summary>
-        private void SetDisplayObject()
-        {
-            // ƒtƒH�[ƒ€ƒTƒCƒYŽæ“¾
-            m_FormWidthSize = this.Width;
-
-            DataGridView dgv = dgvMaster;
-            // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
-            m_GridWidthSize = dgv.Width;
-
-            // ƒOƒŠƒbƒhƒJƒ‰ƒ€•�Žæ“¾
-            int ColCount = Enum.GetNames(typeof(DispColumn)).Length;
-            m_CellSize = new int[ColCount];
-            foreach (DataGridViewColumn wrkCell in dgvMaster.Columns)
-            {
-                m_CellSize[wrkCell.Index] = wrkCell.Width;
-            }
-        }
-        #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)
-        {
-            try
-            {
-                DataGridView dgv = dgvMaster;
-
-                int NowPoint = ClsExcute.GetNowProcessPoint();
-                // Œ»�Ý�Ý’è’lƒNƒŠƒA
-                ClsExcute.ClearSaveParameter(NowPoint);
-                // ----- ‰æ–Ê�î•ñ‘Þ”ð
-                // ŒŸ�õ”N
-                ClsExcute.ProcControlPara[NowPoint].StringSaveParameter.Add(numUDConstPro.Value.ToString());
-                // ŒŸ�õ•”��
-                ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add(CommonMotions.cnvInt(cmbDepartment.SelectedValue));
-                // •\Ž¦�æ“ª�s
-                ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add(dgv.FirstDisplayedScrollingRowIndex);
-                // Œ»�Ý“ª�s
-                ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add(dgv.CurrentRow.Index);
-
-                // ƒ\�[ƒg�ó‘Ô
-                if (dgvMaster.SortedColumn != null)
-                {
-                    ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add((int)dgvMaster.SortedColumn.Index);
-                    ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Add((int)dgvMaster.SortOrder);
-                }
-
-                // ŽŸ‹N“®ƒvƒ�ƒZƒXƒZƒbƒg
-                NowPoint = ClsExcute.NextProcess((int)(int)ClsExcute.ProcessExecuteNo.ConstructionLedger);
-                // ‘I‘ð�HŽ–”Ô�†ƒZƒbƒg
-                ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(para_ConstructionCode);
-                
-                // •”��‘ä’ ˆê——‚æ‚è‚Ì‹N“®‚Í’¼�ÚŽ©ƒvƒ�ƒZƒX‚ð‹N“®‚·‚é
-                if (!m_FirstStartFlg)
-                {
-                    ClsExcute.ProcessExecuteNo_ConstructionLedger(ClsExcute.ProcControlPara[NowPoint]);
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                // •”��‘ä’ ˆê——‚æ‚è‚Ì‹N“®
-                if (m_FirstStartFlg)
-                {
-                    // ƒNƒ��[ƒY�ˆ—�‚ðOFF‚É‚·‚é�B
-                    m_CloseingProcessOff = true;
-                    // ‰æ–ÊƒNƒ��[ƒY
-                    this.Close();
-                }
-                else
-                {
-                    // ƒf�[ƒ^�Ä•\Ž¦
-                    InitDataLoad();
-                }
-            }
-        }
-        #endregion
-
-        #region ŒŸ�õSQL‚ÌƒZƒLƒ…ƒŠƒeƒB”»’è•”•ª‚ð�ì�¬‚·‚é
-        /// <summary>
-        /// ŒŸ�õSQL‚ÌƒZƒLƒ…ƒŠƒeƒB”»’è•”•ª‚ð�ì�¬‚·‚é
-        /// </summary>
-        /// <param name="strSQL"></param>
-        private void CreateSecuritySQL(ref StringBuilder strSecurity)
-        {
-            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“–ŽÒ‚Ì‚Ý
-
-                // ƒ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
-                    int iStatus = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("Œ©�Ï’ñ�o")).Key;
-                    int iStatus2 = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("•”��ˆøŒp")).Key;
-
-                    strSecurity.Append(" And (D.SalesPersonCode IN (Select A1.PersonCode From PersonInChargeMaster A1");
-                    strSecurity.AppendFormat(" Where A1.DepartmentCode IN (SELECT A2.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A2 WHERE A2.PERSONCODE = {0}))", CommonMotions.LoginUserData.PersonCode);
-
-                    strSecurity.AppendFormat(" Or (D.ConstructionStatusFlg >= {0}", iStatus);
-
-                    strSecurity.Append(" And (D.ConstructionPersonCode IN (Select A3.PersonCode From PersonInChargeMaster A3");
-                    strSecurity.AppendFormat(" Where A3.DepartmentCode IN (SELECT A4.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A4 WHERE A4.PERSONCODE = {0}))", CommonMotions.LoginUserData.PersonCode);
-
-                    strSecurity.Append(" Or D.CONSTRSUBPERSONCODE IN (Select A5.PersonCode From PersonInChargeMaster A5");
-                    strSecurity.AppendFormat(" Where A5.DepartmentCode IN (SELECT A6.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A6 WHERE A6.PERSONCODE = {0}))", CommonMotions.LoginUserData.PersonCode);
-
-                    strSecurity.Append(" Or D.ConstructionInstructor IN (Select A7.PersonCode From PersonInChargeMaster A7");
-                    strSecurity.AppendFormat(" Where A7.DepartmentCode IN (SELECT A8.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A8 WHERE A8.PERSONCODE = {0}))))", CommonMotions.LoginUserData.PersonCode);
-
-                    strSecurity.AppendFormat(" Or (D.ConstructionStatusFlg >= {0} And D.ConstructionPersonCode = 0)", iStatus);          // �Š‘®’·‚ÍŒ©�Ï’ñ�oŒã‚Å�HŽ–’S“–ŽÒ‚ª“ü‚Á‚Ä‚¢‚È‚¢�ê�‡•\Ž¦
-                    strSecurity.AppendFormat(" Or (D.ConstructionStatusFlg = {0}", iStatus2);                                            // •”��ˆøŒpŽž‚ÍˆøŒp•”��‚Ì‚à‚Ì‚ÍŒ©‚¦‚é
-                    strSecurity.AppendFormat(" And D.TransferConstruction = {0}))", CommonMotions.LoginUserData.DepartmentCode);
-                }
-                else if (CommonMotions.LoginUserSecurity.SecRange == CommonDefine.SecurityRangeList[None].Key)
-                {
-                    // ˆê”ÊŽg—pŽÒ
-                    int iStatus = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("Œ©�Ï’ñ�o")).Key;
-
-                    strSecurity.AppendFormat(" And (D.SalesPersonCode = {0}", CommonMotions.LoginUserData.PersonCode);
-
-                    strSecurity.AppendFormat(" Or (D.ConstructionStatusFlg > {0}", iStatus);
-
-                    strSecurity.AppendFormat(" And (D.ConstructionPersonCode = {0}", CommonMotions.LoginUserData.PersonCode);
-
-                    strSecurity.AppendFormat(" Or D.CONSTRSUBPERSONCODE = {0}", CommonMotions.LoginUserData.PersonCode);
-
-                    strSecurity.AppendFormat(" Or D.ConstructionInstructor = {0})))", CommonMotions.LoginUserData.PersonCode);
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", ex.Message, strSecurity);
-            }
-        }
-        #endregion
-
-        #region �‰ŠúŽžƒf�[ƒ^Žæ“¾
-        /// <summary>
-        /// �‰ŠúŽžƒf�[ƒ^Žæ“¾
-        /// </summary>
-        private void InitDataLoad()
-        {
-            try
-            {
-                DataGridView dgv = dgvMaster;
-
-                int NowPoint = ClsExcute.GetNowProcessPoint();
-
-                // ƒ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 ‰æ–Êƒ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 = dgvMaster;
-                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));
-                    int formdiff = (dgv.Width - m_GridWidthSize);
-
-                    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 �s�F�Ý’è
-        /// <summary>
-        /// �s‚ð‘I‘ð�F‚É‚·‚é
-        /// </summary>
-        /// <param name="CurrentRow"></param>
-        private void SetRowColor(DataGridViewRow CurRow, Color BackColor, Color ForeColor)
-        {
-            try
-            {
-                DataGridView dgv = dgvMaster;
-
-                // �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 = dgvMaster;
-                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 = dgvMaster;
-                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ƒ�ƒOƒŒƒXƒo�[•\Ž¦�§Œä
-        /// <summary>
-        /// ƒvƒ�ƒOƒŒƒXƒo�[•\Ž¦�§Œä
-        /// </summary>
-        /// <param name="bDisp"></param>
-        private void DisplayControlProgressBar(bool bDisp)
-        {
-            try
-            {
-                ProgressBar.Visible = bDisp;
-                ProgressBar.Minimum = 0;
-                ProgressBar.Value = 0;
-
-                btnEnd.Visible = !bDisp;
-
-                numUDConstPro.Enabled = !bDisp;
-                cmbDepartment.Enabled = !bDisp;
-
-                this.Update();
-            }
-            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()
-        {
-            try
-            {
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-            }
-        }
-        #endregion
-
-        #region ‚c‚aŽæ“¾�‡”Ô
-        /// <summary>
-        /// ‚c‚aŽæ“¾�‡”Ô
-        /// </summary>
-        private enum DBGetData
-        {
-            ConstructionCode,
-            CreatorCode,
-            CreatorName,
-            DetailString,
-            OrdersDecisionPrice,
-            CompanyExpenses,
-            DepartmentExpenses,
-            SalesExpenses,
-            TotalPayment,
-            GrossProfit,
-            Allowance,
-            NetProfit,
-            ComplateFlg,
-            DepartmentDisplayOrder,
-            PoersonDisplayOrder,
-            DepartmentCode,
-            DepartmentString,
-            ConstructionStatusflg
-        }
-        #endregion
-
-        #region ƒf�[ƒ^Žæ“¾SQL�ì�¬
-        /// <summary>
-        /// •\Ž¦—pƒf�[ƒ^Žæ“¾SQL�ì�¬
-        /// </summary>
-        private void CreateInitSQL(ref StringBuilder strSQL)
-        {
-            try
-            {
-                // SQL‚ÉƒAƒNƒZƒX�§ŒÀ‚ð‚©‚¯‚é
-                StringBuilder strSecurity = new StringBuilder();
-                CreateSecuritySQL(ref strSecurity);
-
-                // •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX’lŽæ“¾
-                int DepartmentCode = GetDepartmentCode();
-
-                int NotOrder = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("”ñ Žó ’�")).Key;
-                // ----- ‚r‚p‚k�ì�¬
-                // ‘¶�Ý�Ú�×‘ä’ ƒf�[ƒ^ŒŸ�õ
-                strSQL.Append(" SELECT");
-                strSQL.Append(" A.CONSTRUCTIONCODE");
-                strSQL.Append(", A.CREATORCODE");
-                strSQL.Append(", C.PERSONNAME");
-                strSQL.Append(", B.DETAILSTRING");
-                strSQL.Append(", A.ORDERSDECISIONPRICE");
-                strSQL.Append(", A.COMPANYEXPENSES");
-                strSQL.Append(", A.DEPARTMENTEXPENSES");
-                strSQL.Append(", A.SALESEXPENSES");
-                strSQL.Append(", A.TOTALPAYMENT");
-                strSQL.Append(", A.GROSSPROFIT");
-                strSQL.Append(", A.ALLOWANCE");
-                strSQL.Append(", A.NETPROFIT");
-                strSQL.Append(", A.COMPLATEFLG");
-                strSQL.Append(", E.DISPLAYORDER");
-                strSQL.Append(", C.DISPLAYORDER");
-                strSQL.Append(", C.DEPARTMENTCODE");
-                strSQL.Append(", ifnull(F.DetailString, '')");
-                strSQL.Append(", D.CONSTRUCTIONSTATUSFLG");
-                strSQL.Append(" FROM CONSTRUCTIONLEDGER A");
-                strSQL.Append(" LEFT JOIN CONSTRUCTIONBASEINFODETAIL F On F.ConstructionCode = A.ConstructionCode");
-                strSQL.AppendFormat(" And F.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.ConstrDepartmentName);
-                strSQL.Append(", CONSTRUCTIONBASEINFODETAIL B");
-                strSQL.Append(", PERSONINCHARGEMASTER C");
-                strSQL.Append(", CONSTRUCTIONBASEINFO D,");
-                strSQL.Append(" DEPARTMENTMASTER E");
-                strSQL.Append(" WHERE A.CONSTRUCTIONCODE = D.CONSTRUCTIONCODE");
-                strSQL.AppendFormat(" AND D.TyingFlg != {0}", (int)ConstructionBaseInfo.TyingFlgDef.Tying);
-                strSQL.Append(" AND (A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE");
-                strSQL.AppendFormat(" AND B.DETAILNO = {0})", (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName);
-                strSQL.AppendFormat(" AND A.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
-                strSQL.Append(" AND D.CONSTRUCTIONPERSONCODE = C.PERSONCODE");
-                strSQL.Append(" AND C.DEPARTMENTCODE = E.DEPARTMENTCODE");
-                strSQL.AppendFormat(" AND D.CONSTRUCTIONSTATUSFLG != {0}", NotOrder);
-                strSQL.Append(" AND A.CREATORCODE = C.PERSONCODE");
-                if (strSecurity.Length > 0) strSQL.Append(strSecurity.ToString());
-                if (DepartmentCode > 0)
-                {
-                    strSQL.AppendFormat(" AND (D.ConstrDepCode = {0}", DepartmentCode);
-                    strSQL.AppendFormat(" AND F.DetailString = '{0}')", cmbDepartment.Text);
-                }
-
-                strSQL.AppendFormat(" ORDER BY {0} ASC, {1} ASC, {2} ASC, {3} ASC, {4} ASC",
-                                                    ((int)DBGetData.ComplateFlg + 1),
-                                                    ((int)DBGetData.DepartmentDisplayOrder + 1),
-                                                    ((int)DBGetData.ConstructionStatusflg + 1),
-                                                    ((int)DBGetData.PoersonDisplayOrder + 1),
-                                                    ((int)DBGetData.ConstructionCode + 1));
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", ex.Message, strSQL);
-            }
-        }
-        #endregion
-
-        #region •”��ƒRƒ“ƒ{‚æ‚èƒR�[ƒh‚ðŽæ“¾‚·‚é
-        /// <summary>
-        /// •”��ƒRƒ“ƒ{‚æ‚èƒR�[ƒh‚ðŽæ“¾‚·‚é
-        /// </summary>
-        /// <returns></returns>
-        private int GetDepartmentCode()
-        {
-            try
-            {
-                return CommonMotions.cnvInt(cmbDepartment.SelectedValue);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}", ex.Message);
-                return 0;
-            }
-        }
-        #endregion
-
-        #region ’S“–ŽÒ–ˆ‚ÌŽw’èŠú‚Ì�HŽ–ŠJŽn“ú‚ðŽæ“¾‚·‚é
-        /// <summary>
-        /// ’S“–ŽÒ–ˆ‚ÌŽw’èŠú‚Ì�HŽ–ŠJŽn“ú‚ðŽæ“¾‚·‚é
-        /// </summary>
-        /// <returns></returns>
-        private DateTime GetConstructionDate(int PersonCode, bool bStart = true)
-        {
-            IOConstructionBaseInfo BaseDB = new IOConstructionBaseInfo();
-            try
-            {
-                // ‹ó‚Ì�ê�‡‚Íƒ�ƒOƒCƒ“ƒ†�[ƒU�[
-                if (PersonCode == 0) PersonCode = CommonMotions.LoginUserData.PersonCode;
-
-                // ŠJŽn“úŽæ“¾
-                StringBuilder strSQL = new StringBuilder();
-                strSQL.Append("SELECT A.CONSTRUCTIONPERSONCODE, MIN(B.CONSTRUCTIONSTART) FROM CONSTRUCTIONBASEINFO A, CONSTRUCTIONBUDGET B");
-                // �I—¹Žw’è‚Í�I—¹‚ÌMAX‚É•Ï�X
-                if (!bStart) strSQL.Replace("MIN(B.CONSTRUCTIONSTART)", "MAX(B.CONSTRUCTIONEND)");
-
-                strSQL.AppendFormat(" WHERE A.CONSTRUCTIONPERSONCODE = {0}", PersonCode);
-                strSQL.AppendFormat("  AND A.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
-                strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE GROUP BY A.CONSTRUCTIONPERSONCODE");
-                ArrayList ArrayList = new ArrayList();
-                if (!BaseDB.ExecuteReader(strSQL.ToString(), ref ArrayList)) return DateTime.MinValue;
-                if (ArrayList.Count == 0) return DateTime.MinValue;
-
-                object[] objRec = (object[])ArrayList[0];
-
-                return CommonMotions.cnvDate(objRec[1]);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return DateTime.MinValue;
-            }
-            finally
-            {
-                BaseDB.close(); BaseDB = null;
-            }
-        }
-        #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();
-            try
-            {
-                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
-
-                int nTargetCount = (int)numUDConstPro.Value;
-                // •”��ƒ}ƒXƒ^‚ðŒŸ�õ‚·‚é
-                StringBuilder strSQL = new StringBuilder();
-                CommonMotions.CreateDepCombBoxSQL(ref strSQL, nTargetCount);
-
-                // •”��ƒ}ƒXƒ^“Ç�ž
-                ArrayList arList = new ArrayList();
-                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
-
-                List<KeyValuePair<int, string>> ConstructionDataList = new List<KeyValuePair<int, string>>();
-                ConstructionDataList.Add(new KeyValuePair<int, string>(0, ""));
-
-                foreach (object[] work in arList)
-                {
-                    KeyValuePair<int, string> keyval = new KeyValuePair<int, string>(CommonMotions.cnvInt(work[0])
-                                                                                    , CommonMotions.cnvString(work[1]));
-
-                    ConstructionDataList.Add(keyval);
-                }
-
-                cmbDepartment.DataSource = null;
-                cmbDepartment.Items.Clear();
-                cmbDepartment.Text = "";
-
-                // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
-                ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
-
-                cmbDepartment.SelectedValue = nBeforeCode;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                depDB.close(); depDB = null;
-            }
-        }
-        #endregion
-
-        #region •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒXƒf�[ƒ^Žæ“¾‚r‚p‚k�ì�¬
-        /// <summary>
-        /// •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒXƒf�[ƒ^Žæ“¾‚r‚p‚k�ì�¬
-        /// </summary>
-        /// <param name="strSQL"></param>
-        public static void CreateDepCombBoxSQL(ref StringBuilder strSQL, int nTargetCount, bool bInput = false)
-        {
-            try
-            {
-                // �¡Šú‚Ìƒf�[ƒ^‚©‚Ç‚¤‚©‚ð”»’è‚·‚é
-                bool bNowSeason = CommonMotions.CheckNowSeason(nTargetCount);
-
-                strSQL.Append("SELECT");
-                strSQL.Append(" A.DEPARTMENTCODE");
-                strSQL.Append(", A.DEPARTMENTSTRING");
-                strSQL.Append(", A.DISPLAYORDER");
-                strSQL.Append(", COUNT(*)");
-                strSQL.Append(" FROM");
-                if (bNowSeason)
-                {
-                    // �¡Šú‚Ìƒvƒ‰ƒCƒ}ƒŠƒe�[ƒuƒ‹‚Í•”��ƒ}ƒXƒ^
-                    strSQL.Append(" DEPARTMENTMASTER A");
-                }
-                else
-                {   // ‰ß‹Ž‚Ìƒf�[ƒ^‚Í�HŽ–�î•ñ‚æ‚èŽæ“¾‚·‚é
-                    strSQL.Append(" (");
-                    strSQL.Append("Select");
-                    strSQL.Append(" A1.SalesDepCode As DEPARTMENTCODE");
-                    strSQL.Append(", B1.DetailString As DEPARTMENTSTRING");
-                    strSQL.Append(", ifnull(C1.DisplayOrder, 10) As DISPLAYORDER");
-                    strSQL.Append(" From Constructionbaseinfo As A1");
-                    strSQL.Append("  Inner Join constructionbaseinfodetail As B1");
-                    strSQL.Append("        On B1.ConstructionCode = A1.ConstructionCode");
-                    strSQL.AppendFormat("  And B1.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.SalesDepartmentName);
-                    strSQL.Append("  Left Join departmentmaster As C1");
-                    strSQL.Append("       On C1.DepartmentCode = A1.SalesDepCode");
-                    strSQL.AppendFormat(" Where A1.ConstructionPeriod = {0}", nTargetCount);
-                    strSQL.Append("       And A1.SalesDepCode != 0");
-
-                    strSQL.Append(" Union Select");
-                    strSQL.Append(" A2.ConstrDepCode As DEPARTMENTCODE");
-                    strSQL.Append(", B2.DetailString As DEPARTMENTSTRING");
-                    strSQL.Append(", ifnull(C2.DisplayOrder, 10) As DISPLAYORDER");
-                    strSQL.Append(" From Constructionbaseinfo As A2");
-                    strSQL.Append(" Inner Join constructionbaseinfodetail As B2");
-                    strSQL.Append("       On B2.ConstructionCode = A2.ConstructionCode");
-                    strSQL.AppendFormat(" And B2.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.ConstrDepartmentName);
-                    strSQL.Append(" Left Join departmentmaster As C2");
-                    strSQL.Append("      On C2.DepartmentCode = A2.ConstrDepCode");
-                    strSQL.AppendFormat(" Where A2.ConstructionPeriod = {0}", nTargetCount);
-                    strSQL.Append("       And A2.ConstrDepCode != 0");
-
-                    strSQL.Append(" Union Select");
-                    strSQL.Append(" A3.ConstrSubDepCode As DEPARTMENTCODE");
-                    strSQL.Append(", B3.DetailString As DEPARTMENTSTRING");
-                    strSQL.Append(", ifnull(C3.DisplayOrder, 10) As DISPLAYORDER");
-                    strSQL.Append(" From Constructionbaseinfo As A3");
-                    strSQL.Append(" Inner Join constructionbaseinfodetail As B3");
-                    strSQL.Append("       On B3.ConstructionCode = A3.ConstructionCode");
-                    strSQL.AppendFormat(" And B3.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.ConstrSubDepartmentName);
-                    strSQL.Append(" Left Join departmentmaster As C3");
-                    strSQL.Append("      On C3.DepartmentCode = A3.ConstrSubDepCode");
-                    strSQL.AppendFormat(" Where A3.ConstructionPeriod = {0}", nTargetCount);
-                    strSQL.Append("       And A3.ConstrSubDepCode != 0");
-
-                    strSQL.Append(" Union Select");
-                    strSQL.Append(" A4.ConstrInstrDepCode As DEPARTMENTCODE");
-                    strSQL.Append(", B4.DetailString As DEPARTMENTSTRING");
-                    strSQL.Append(", ifnull(C4.DisplayOrder, 10) As DISPLAYORDER");
-                    strSQL.Append(" From Constructionbaseinfo As A4");
-                    strSQL.Append(" Inner Join constructionbaseinfodetail As B4");
-                    strSQL.Append("       On B4.ConstructionCode = A4.ConstructionCode");
-                    strSQL.AppendFormat(" And B4.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.InstrDepartmentName);
-                    strSQL.Append(" Left Join departmentmaster As C4");
-                    strSQL.Append("      On C4.DepartmentCode = A4.ConstrInstrDepCode");
-                    strSQL.AppendFormat(" Where A4.ConstructionPeriod = {0}", nTargetCount);
-                    strSQL.Append("       And A4.ConstrInstrDepCode != 0");
-                    strSQL.Append(") As A");
-                }
-
-                if (bNowSeason)
-                {   // ‘Î�Û‚ª�¡Šú‚Ì�ê�‡
-                    if (!bInput) strSQL.Append(", CONSTRUCTIONBASEINFO C");
-                    strSQL.Append(" WHERE");
-
-                    // �í�œ‚³‚ê‚Ä‚¢‚È‚¢‚à‚Ì
-                    strSQL.AppendFormat(" A.DELETEFLG = {0}", (int)CommonDefine.DataRowDeleteDef.Exists);
-                    DateTime dtDefaultEnd = CommonMotions.GetOpeningEndDate(nTargetCount, false);
-
-                    strSQL.AppendFormat(" And DATE(A.StartDate) <= DATE('{0}')", dtDefaultEnd.ToShortDateString());
-                    if (!bInput) strSQL.Append(" And C.ConstrDepCode = A.DepartmentCode");
-
-                    // ƒVƒXƒeƒ€ŠÇ—�ŽÒˆÈŠO‚Í•”��ŽQ�Æƒ}ƒXƒ^‚æ‚èƒf�[ƒ^Žæ“¾
-                    if (CommonMotions.LoginUserData.PersonCode != CommonDefine.AdminCode)
-                    {
-                        // ŽQ�Æ•”��ƒ}ƒXƒ^‚æ‚èŽæ“¾‚·‚é
-                        strSQL.Append(" And A.DEPARTMENTCODE");
-                        strSQL.Append(" IN (SELECT A1.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A1");
-                        strSQL.AppendFormat(" WHERE A1.PERSONCODE = {0})", CommonMotions.LoginUserData.PersonCode);
-                    }
-                }
-                else
-                {   // ‘Î�Û‚ª‰ß‹Ž‚Ì�ê�‡
-                    strSQL.Append(", CONSTRUCTIONBASEINFO C");
-                    strSQL.Append(" WHERE");
-
-                    strSQL.AppendFormat(" (C.ConstructionPeriod = {0}", nTargetCount);
-                    strSQL.Append(" And A.DepartmentCode IN(C.SalesDepCode, C.ConstrDepCode, C.ConstrSubDepCode, C.ConstrInstrDepCode))");
-                }
-                strSQL.Append(" GROUP BY A.DEPARTMENTCODE, A.DEPARTMENTSTRING, A.DISPLAYORDER");
-                strSQL.Append(" ORDER BY A.DISPLAYORDER ASC");
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ‘ä’ �ó‹µŠm”F‰æ–ÊƒNƒ��[ƒY
-        /// <summary>
-        /// ‘ä’ �ó‹µŠm”F‰æ–Ê‚ÌƒNƒ��[ƒY‚ðŽæ“¾‚·‚é
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmPriceOfBudget_FormClosed(object sender, FormClosedEventArgs e)
-        {
-            try
-            {
-                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PriceOfBudget;
-                FrmPriceOfBudget frm = (FrmPriceOfBudget)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle;
-
-                // ƒnƒ“ƒhƒ‹ƒNƒŠƒA
-                if (ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle != null)
-                {
-                    ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle.Dispose();
-                    ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle = null;
-                    ClsExcute.SubFormHandleList[ProcessNo].ProcessNo = (int)ClsExcute.ProcessExecuteNo.MainMenu;
-                }
-
-                this.Activate();
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ‘Î�Û”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.GetPeriodYearMinMax(ref minval, ref maxval);
-
-                numUDConstPro.Minimum = minval;
-                numUDConstPro.Maximum = maxval;
-                numUDConstPro.Value = CommonMotions.GetPeriodYear();
-            }
-            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
-            {
-                int NowPoint = ClsExcute.GetNowProcessPoint();
-
-                // �‰Šú•\Ž¦Žž‚É‘¼‚Ì‰æ–Ê‚æ‚è‚Ìƒpƒ‰ƒ��[ƒ^‚ª‚ ‚Á‚½�ê�‡
-                if (!m_FirstStartFlg && m_initDataLoad)
-                {
-                    numUDConstPro.Value = m_FirstStartPeriod;                       // ”N“x
-                    SetcmbDepartment();
-                    cmbDepartment.SelectedValue = m_FirstStartDepartmentCode;       // •”��
-                }
-                else
-                {
-                    // ----- ‘Þ”ðŒŸ�õƒf�[ƒ^‚ª‚ ‚Á‚½�ê�‡‚ÍƒZƒbƒg‚·‚é
-                    if (ClsExcute.ProcControlPara[NowPoint].StringSaveParameter.Count > 0)
-                    {
-                        int Period = CommonMotions.cnvInt(ClsExcute.ProcControlPara[NowPoint].StringSaveParameter[0]); // ”N“x
-                        numUDConstPro.Value = Period;
-                        // •”���E’S“–ŽÒ
-                        if (ClsExcute.ProcControlPara[NowPoint].IntSaveParameter.Count > 0)
-                            cmbDepartment.SelectedValue = ClsExcute.ProcControlPara[NowPoint].IntSaveParameter[0];
-                    }
-                    else
-                    {
-                        // ‘I‘ð•”��‚ª•¡�”‚ÌŽÒ‚ÍƒZƒbƒg‚µ‚È‚¢
-                        if (cmbDepartment.Items.Count > 2) return;
-                        cmbDepartment.SelectedValue = CommonMotions.LoginUserData.DepartmentCode;
-                    }
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ƒ_ƒ~�[ƒf�[ƒ^“o˜^�i–¢Žg—p‚¾‚ª•K—v�j
-        /// <summary>
-        /// ƒ_ƒ~�[ƒf�[ƒ^“o˜^
-        /// </summary>
-        /// <returns></returns>
-        private bool DataEntryProcess()
-        {
-            try
-            {
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-    }
-}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCostList.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCostList.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCostList.cs	(nonexistent)
@@ -1,662 +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;
-using ProcessManagement.Forms.SubForms;
-//*---------------------------- •”��•Ê�o”[ˆê——‰æ–Ê ----------------------------*
-//  2017/04/06  Ver1.0.0.0      Create Source           
-//
-//
-//
-//*----------------------------------------------------------------------------*
-namespace ProcessManagement.Forms.DataEntry
-{
-    public partial class FrmDepartmentCost : Form
-    {
-        #region Žg—p’è‹`
-        //log4netƒ�ƒO‚ðŽg—p‚·‚é
-        private static readonly log4net.ILog logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
-        #endregion
-
-        #region ’è�”
-        #region •\Ž¦ƒJƒ‰ƒ€
-        /// <summary>
-        /// •\Ž¦ƒJƒ‰ƒ€
-        /// </summary>
-        private enum DispColumn
-        {
-            /// <summary>
-            /// ‡‚
-            /// </summary>
-            No = 0,
-            /// <summary>
-            /// •”��ƒR�[ƒh
-            /// </summary>
-            DepartmentCode,
-            /// <summary>
-            /// •”��–¼
-            /// </summary>
-            DepartmentName,
-            /// <summary>
-            /// �o”[‹àŠz
-            /// </summary>
-            PaymentValue,
-        }
-        #endregion
-
-        #region �s‘I‘ð�F
-        /// <summary>
-        /// �s‘I‘ð�F
-        /// </summary>
-        private static Color s_RowSelectBackColor = Color.Blue;
-        private static Color s_RowSelectForeColor = Color.White;
-        #endregion
-
-        #region �‡Œv�s�F
-        /// <summary>
-        /// �‡Œv�s�F
-        /// </summary>
-        private static Color s_RowTotalBackColor = Color.Black;
-        private static Color s_RowTotalForeColor = Color.White;
-        #endregion
-
-        #region �sƒ^ƒCƒgƒ‹
-        /// <summary>
-        /// �sƒ^ƒCƒgƒ‹•À‚Ñ�‡
-        /// </summary>
-        private enum RowTitleNum
-        {
-            /// <summary>
-            /// Ž{�H’†�‡Œv
-            /// </summary>
-            Execution = 0,
-            /// <summary>
-            /// Š®—¹�ÏŒv
-            /// </summary>
-            Completed,
-            /// <summary>
-            /// ‘S�HŽ–Œv
-            /// </summary>
-            AllConstrutions,
-            /// <summary>
-            /// Œo”ï�‡Œv
-            /// </summary>
-            Expenses,
-            /// <summary>
-            /// •â�•�U•ªŒv
-            /// </summary>
-            Auxiliary,
-            /// <summary>
-            /// ‘��‡Œv
-            /// </summary>
-            AllTotal,
-        }
-
-        /// <summary>
-        /// �‡Œv�sƒ^ƒCƒgƒ‹
-        /// </summary>
-        private static string[] s_TotalTitleArray = new string[] {  "�–Ž{�@�H�@’†�@�‡�@Œv�–",
-                                                                    "�–Š®�@—¹�@�Ï�@�‡�@Œv�–",
-                                                                    "�–‘S�@�H�@Ž–�@�‡�@Œv�–",
-                                                                    "�–�@Œo�@�@”ï�@�@Œv�@�–",
-                                                                    "�–�l Œ� ”ï �U •ª Œv�–",
-                                                                    "�–�–�@‘��@�‡�@Œv�@�–�–",
-                                                                };
-        #endregion
-
-        #region ƒOƒŠƒbƒh�€–Ú�sƒ^ƒCƒgƒ‹
-        /// <summary>
-        /// ƒOƒŠƒbƒh�€–Ú�sƒ^ƒCƒgƒ‹
-        /// </summary>
-        private static string[] s_GroupTitle = new string[] {" •›’S“–ŽÒŽû‰v ",
-                                                             "  Žw“±ˆõŽû‰v  ",
-                                                             "’S“–ŽÒ‹‹—^�·Šz"};
-        #endregion
-
-        #endregion
-
-        #region •Ï�”
-
-        /// <summary>
-        /// �‰Šú•\Ž¦ƒtƒ‰ƒO
-        /// </summary>
-        private bool m_initDataLoad = true;
-
-        /// <summary>
-        /// ‹N“®ƒtƒ‰ƒO
-        /// </summary>
-        private int m_ExecuteFlg = 0;
-
-        /// <summary>
-        /// ƒf�[ƒ^’Ç‰Áƒ{ƒ^ƒ“•\Ž¦ƒtƒ‰ƒO
-        /// </summary>
-        private bool m_DataAddtionButton = false;
-        /// <summary>
-        /// �I—¹ƒ{ƒ^ƒ“‰Ÿ‰ºƒtƒ‰ƒO
-        /// </summary>
-        private bool m_CloseingProcessOff = false;
-
-        #region ƒOƒŠƒbƒhƒJƒ‰ƒ€ƒTƒCƒY
-        /// <summary>
-        /// ƒOƒŠƒbƒhƒJƒ‰ƒ€ƒTƒCƒY
-        /// </summary>
-        int[] m_CellSize = null;
-        #endregion
-
-        #region ƒtƒH�[ƒ€•�
-        /// <summary>
-        /// ƒtƒH�[ƒ€•�
-        /// </summary>
-        private int m_FormWidthSize = 0;
-        #endregion
-
-        #region ‘�ŒvƒOƒŠƒbƒh•�ƒTƒCƒY
-        /// <summary>
-        /// ‘�ŒvƒOƒŠƒbƒh•�ƒTƒCƒY
-        /// </summary>
-        private int m_GridWidthSize = 0;
-        #endregion
-
-        #region �‰Šú‘I‘ð–³‚µƒtƒ‰ƒO
-        /// <summary>
-        /// �‰Šú‘I‘ð–³‚µƒtƒ‰ƒO
-        /// </summary>
-        private bool m_FirstStartFlg = true;
-        #endregion
-
-        #region �‰Šú‘I‘ð”N“x
-        /// <summary>
-        /// �‰Šú‘I‘ð”N“x
-        /// </summary>
-        private int m_FirstStartPeriod = 0;
-        #endregion
-
-        #region �‰Šú‘I‘ð•”��ƒR�[ƒh
-        /// <summary>
-        /// �‰Šú‘I‘ð•”��ƒR�[ƒh
-        /// </summary>
-        private int m_FirstStartDepartmentCode = CommonMotions.LoginUserData.DepartmentCode;
-        #endregion
-
-        #region �‰Šú‘I‘ð’S“–ŽÒƒR�[ƒh
-        /// <summary>
-        /// �‰Šú‘I‘ð’S“–ŽÒƒR�[ƒh
-        /// </summary>
-        private int m_FirstStartPersonCode = CommonMotions.LoginUserData.PersonCode;
-        #endregion
-
-        #region ŽŸƒvƒ�ƒZƒX‹N“®ƒtƒ‰ƒO
-        /// <summary>
-        /// ŽŸƒvƒ�ƒZƒX‹N“®ƒtƒ‰ƒO
-        /// </summary>
-        private bool m_NextProcFlg = false;
-        #endregion
-
-        // *-----* ‹¤’Ê�ˆ—��Ý’è *-----*
-        /// <summary>
-        /// ŒÄ�oŒ³�I—¹ƒtƒ‰ƒO
-        /// </summary>
-        private bool m_ParentEnd = false;
-        // *-----* ‹¤’Ê�ˆ—��Ý’è *-----*
-
-        /// <summary>
-        /// �I—¹ƒ{ƒ^ƒ“‰Ÿ‰ºƒtƒ‰ƒO
-        /// </summary>
-        private bool m_CloseingProcessOn = true;
-
-        /// <summary>
-        /// ƒAƒNƒZƒX�§ŒÀƒtƒ‰ƒO
-        /// </summary>
-        private bool m_EditLock = false;
-
-        /// <summary>
-        /// ŠY“–�HŽ–Šî–{�î•ñ
-        /// </summary>
-        private ConstructionBaseInfo m_ConstructionBaseInfo = new ConstructionBaseInfo();
-
-        /// <summary>
-        /// ŠY“–�HŽ–’S“–ŽÒ
-        /// </summary>
-        private PersonInChargeMaster m_PersonInChargeMaster = new PersonInChargeMaster();
-        #endregion
-
-        #region ƒvƒ�ƒpƒeƒB
-
-        #region ‹N“®ƒtƒ‰ƒO
-        /// <summary>
-        /// ‹N“®ƒtƒ‰ƒO
-        /// </summary>
-        public int ExecuteFlg
-        {
-            get { return m_ExecuteFlg; }
-            set { m_ExecuteFlg = value; }
-        }
-        #endregion
-
-        #region ƒf�[ƒ^’Ç‰Áƒ{ƒ^ƒ“•\Ž¦
-        /// <summary>
-        /// ƒf�[ƒ^’Ç‰Áƒ{ƒ^ƒ“•\Ž¦
-        /// </summary>
-        public bool DataAddtionButton
-        {
-            get { return m_DataAddtionButton; }
-            set { m_DataAddtionButton = value; }
-        }
-        #endregion
-
-        #region �‰Šú‘I‘ð–³‚µƒtƒ‰ƒO
-        /// <summary>
-        /// �‰Šú‘I‘ð–³‚µƒtƒ‰ƒO
-        /// </summary>
-        public bool FirstStartFlg
-        {
-            get { return m_FirstStartFlg; }
-            set { m_FirstStartFlg = value; }
-        }
-        #endregion
-
-        #region �‰Šú‘I‘ð”N“x
-        /// <summary>
-        /// �‰Šú‘I‘ð”N“x
-        /// </summary>
-        public int FirstStartPeriod
-        {
-            get { return m_FirstStartPeriod; }
-            set { m_FirstStartPeriod = value; }
-        }
-        #endregion
-
-        #region �‰Šú‘I‘ð•”��ƒR�[ƒh
-        /// <summary>
-        /// �‰Šú‘I‘ð•”��ƒR�[ƒh
-        /// </summary>
-        public int FirstStartDepartmentCode
-        {
-            get { return m_FirstStartDepartmentCode; }
-            set { m_FirstStartDepartmentCode = value; }
-        }
-        #endregion
-
-        #region �‰Šú‘I‘ð’S“–ŽÒƒR�[ƒh
-        /// <summary>
-        /// �‰Šú‘I‘ð’S“–ŽÒƒR�[ƒh
-        /// </summary>
-        public int FirstStartPersonCode
-        {
-            get { return m_FirstStartPersonCode; }
-            set { m_FirstStartPersonCode = value; }
-        }
-        #endregion
-
-        #region ŽŸƒvƒ�ƒZƒX‹N“®ƒtƒ‰ƒO
-        /// <summary>
-        /// ŽŸƒvƒ�ƒZƒX‹N“®ƒtƒ‰ƒO
-        /// </summary>
-        public bool NextProcFlg
-        {
-            get { return m_NextProcFlg; }
-            set { m_NextProcFlg = value; }
-        }
-        #endregion
-
-        /// <summary>
-        /// ƒAƒNƒZƒX�§ŒÀƒtƒ‰ƒO
-        /// </summary>
-        public bool EditLock
-        {
-            get { return m_EditLock; }
-            set { m_EditLock = value; }
-        }
-
-        // *-----* ‹¤’Ê�ˆ—��Ý’è *-----*
-        /// <summary>
-        /// ŒÄ�oŒ³�I—¹ƒtƒ‰ƒO
-        /// </summary>
-        public bool ParentEnd
-        {
-            get { return m_ParentEnd; }
-            set { m_ParentEnd = value; }
-        }
-        // *-----* ‹¤’Ê�ˆ—��Ý’è *-----*
-
-        /// <summary>
-        /// �I—¹ƒ{ƒ^ƒ“‰Ÿ‰ºƒtƒ‰ƒO
-        /// </summary>
-        public bool CloseingProcessOn
-        {
-            get { return m_CloseingProcessOn; }
-            set { m_CloseingProcessOn = value; }
-        }
-        #endregion
-
-        #region ƒRƒ“ƒXƒgƒ‰ƒNƒ^
-        public FrmDepartmentCost()
-        {
-            InitializeComponent();
-        }
-        #endregion
-        #region ƒfƒXƒgƒ‰ƒNƒ^
-        ~FrmDepartmentCost()
-        {
-            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 FrmConstructionLedgerList_FormClosing(object sender, FormClosingEventArgs e)
-        {
-            try
-            {
-                if (m_CloseingProcessOff) return;
-
-                // ‘Oƒvƒ�ƒZƒX‚É–ß‚é
-                ClsExcute.BackProcess();
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #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 ƒtƒH�[ƒ€ƒ��[ƒh
-        /// <summary>
-        /// �‰ŠúƒtƒH�[ƒ€ƒ��[ƒh
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmDepartmentCost_Load(object sender, EventArgs e)
-        {
-            SetInitnumUDConstPro();
-            // ƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒg
-            SetcmbDepartment();
-
-            // ƒOƒŠƒbƒh�‰Šú�Ý’è
-            SetDisplayObject();
-
-            // ƒ�ƒOƒCƒ“ŽÒ‚ÌƒZƒbƒg
-            InitDepPersonCode();
-
-            // �‰Šú•\Ž¦
-            InitDataLoad();
-
-            // ƒCƒxƒ“ƒgƒZƒbƒg
-            SetControlEvent();
-
-            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;
-
-            DataGridView dgv = dgvMaster;
-            DataGridViewRow CurRow = dgv.CurrentRow;
-
-            // ƒf�[ƒ^‚ª‚È‚¢�ê�‡‚Í”²‚¯‚é
-            if (dgv.RowCount == 0) return;
-
-            if (CommonMotions.chkCellBlank(CurRow.Cells[(int)DispColumn.DepartmentCode].Value)) return;
-
-            // Še�ˆ—�‹N“®
-            SubProcessExecute(CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.DepartmentCode].Value));
-        }
-        #endregion
-
-        #region EntryƒL�[‚Å‚ÌˆÚ“®�ˆ—�
-        /// <summary>
-        /// EntryƒL�[‚Å‚ÌˆÚ“®�ˆ—�
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmConstructionLedgerList_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 ƒf�[ƒ^ƒRƒs�[
-        /// <summary>
-        /// ƒf�[ƒ^ƒRƒs�[‹@”\
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnDataCopy_Click(object sender, EventArgs e)
-        {
-            // ŽŸ‹N“®ƒvƒ�ƒZƒXƒZƒbƒg
-            int NowPoint = ClsExcute.NextProcess((int)ClsExcute.ProcessExecuteNo.ConstructionCopyList);
-            // Š®—¹�HŽ–ˆê——
-            ClsExcute.ProcControlPara[NowPoint].IntExecParameter.Add(0);
-
-            // ƒNƒ��[ƒY�ˆ—�‚ðOFF‚É‚·‚é�B
-            m_CloseingProcessOff = true;
-            // ‰æ–ÊƒNƒ��[ƒY
-            this.Close();
-        }
-        #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)
-        {
-            // ƒCƒxƒ“ƒgƒNƒŠƒA
-            SubControlEvent();
-
-            // •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
-            SetcmbDepartment();
-
-            // ƒf�[ƒ^•\Ž¦
-            DataDisplay();
-
-            // ƒCƒxƒ“ƒgƒZƒbƒg
-            SetControlEvent();
-        }
-        #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_SelectedIndexChanged(object sender, EventArgs e)
-        {
-            // ƒCƒxƒ“ƒgƒNƒŠƒA
-            SubControlEvent();
-
-            // ƒf�[ƒ^•\Ž¦
-            DataDisplay();
-
-            // ƒCƒxƒ“ƒgƒZƒbƒg
-            SetControlEvent();
-        }
-        #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 FrmConstructionLedgerList_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 ƒOƒŠƒbƒhƒ}ƒEƒXƒAƒbƒv
-        /// <summary>
-        /// ƒOƒŠƒbƒhƒ}ƒEƒXƒAƒbƒv
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void dgvMaster_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
-
-        // ƒ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 dgvMaster_SelectionChanged(object sender, EventArgs e)
-        {
-            DataGridView dgv = dgvMaster;
-            DataGridViewRow CurRow = dgv.CurrentRow;
-
-            // ƒf�[ƒ^‚ª‚È‚¢�ê�‡‚Í”²‚¯‚é
-            if (dgv.RowCount == 0) return;
-            //if (CommonMotions.chkCellBlank(CurRow.Cells[(int)DispColumn.SelectionCode].Value) &&
-            //    CommonMotions.chkCellBlank(CurRow.Cells[(int)DispColumn.SelectionName].Value))
-            //{
-            //    return;
-            //}
-            //else
-            //{
-            //    // �‡Œv�s‚Í�ˆ—�‚µ‚È‚¢
-            //    string strWork = CommonMotions.cnvString(CurRow.Cells[(int)DispColumn.SelectionName].Value);
-            //    bool bTitle = false;
-            //    foreach (string strTitle in s_TotalTitleArray)
-            //    {
-            //        if (strWork.Equals(strTitle))
-            //        {
-            //            bTitle = true;
-            //            break;
-            //        }
-            //    }
-            //    if (bTitle) return;
-            //}
-            // �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‚©‚çƒtƒH�[ƒJƒX‚ªŠO‚ê‚½�ê�‡
-        /// <summary>
-        /// ƒOƒŠƒbƒh‚©‚çƒtƒH�[ƒJƒX‚ªŠO‚ê‚½�ê�‡
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void dgvMaster_Leave(object sender, EventArgs e)
-        {
-            lblCellTotal.Text = string.Empty;
-        }
-        #endregion
-    }
-}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCost.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCost.cs	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCost.cs	(revision 355)
@@ -0,0 +1,832 @@
+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;
+using ProcessManagement.Forms.SubForms;
+//*---------------------------- •”��•Ê�o”[‰æ–Ê --------------------------------*
+//  2017/06/06  Ver1.0.0.0      Create Source           
+//
+//
+//
+//*----------------------------------------------------------------------------*
+namespace ProcessManagement.Forms.DataEntry
+{
+    public partial class FrmDepCost : Form
+    {
+        #region Žg—p’è‹`
+        //log4netƒ�ƒO‚ðŽg—p‚·‚é
+        private static readonly log4net.ILog logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
+        #endregion
+
+        #region ’è�”
+        #region •\Ž¦ƒJƒ‰ƒ€
+        /// <summary>
+        /// ˆê——•\Ž¦ƒJƒ‰ƒ€
+        /// </summary>
+        private enum DispColType1
+        {
+            /// <summary>
+            /// 0:•”��ƒR�[ƒh
+            /// </summary>
+            DepCode = 0,
+            /// <summary>
+            /// 1:•”��–¼
+            /// </summary>
+            DepName,
+            /// <summary>
+            /// 2:Žx•¥Œ��”
+            /// </summary>
+            PaymentCnt,
+            /// <summary>
+            /// 3:‹àŠz�i�Å”²�j
+            /// </summary>
+            EntryPrice,
+            /// <summary>
+            /// 4:‹àŠz�i�Å�ž�j
+            /// </summary>
+            EntryTax,
+        }
+        /// <summary>
+        /// –¾�×•\Ž¦ƒJƒ‰ƒ€
+        /// </summary>
+        private enum DispColType2
+        {
+            /// <summary>
+            ///  0:�s•Ò�W�ó‘Ô
+            /// </summary>
+            RowStatus = 0,
+            /// <summary>
+            ///  1:•\Ž¦�o”[“ú
+            /// </summary>
+            DspCostDate,
+            /// <summary>
+            ///  2:Žx•¥�æƒR�[ƒh
+            /// </summary>
+            SuppliersCode,
+            /// <summary>
+            ///  3:Žx•¥�æ–¼
+            /// </summary>
+            SuppliersName,
+            /// <summary>
+            ///  4:Žx•¥“à—e
+            /// </summary>
+            PaymentContent,
+            /// <summary>
+            ///  5:Žx•¥ƒ{ƒ^ƒ“
+            /// </summary>
+            SRButton1,
+            /// <summary>
+            ///  6:Žû“üƒ{ƒ^ƒ“
+            /// </summary>
+            SRButton2,
+            /// <summary>
+            ///  7:�o”[‹æ•ªƒtƒ‰ƒO
+            /// </summary>
+            SRType,
+            /// <summary>
+            ///  8:�o”[‹æ•ªƒtƒ‰ƒO–¼�Ì
+            /// </summary>
+            SRNamne,
+            /// <summary>
+            ///  9:‹àŠz�i�Å”²�j
+            /// </summary>
+            EntryPrice,
+            /// <summary>
+            /// 10:‹àŠz�i�Å�ž�j
+            /// </summary>
+            EntryTax,
+            /// <summary>
+            /// 11:”õ�l
+            /// </summary>
+            Coment,
+            /// <summary>
+            /// 12:•”��ƒR�[ƒh
+            /// </summary>
+            DepCode,
+            /// <summary>
+            /// 13:�o”[“ú
+            /// </summary>
+            CostDate,
+            /// <summary>
+            /// 14:ƒŒƒR�[ƒh”Ô�†
+            /// </summary>
+            RecSeqNo,
+        }
+        #endregion
+
+        #region �s‘I‘ð�F
+        /// <summary>
+        /// �s‘I‘ð�F
+        /// </summary>
+        private static Color s_RowSelectBackColor = Color.Blue;
+            private static Color s_RowSelectForeColor = Color.White;
+            #endregion
+
+        #region �‡Œv�s�F
+        /// <summary>
+        /// �‡Œv�s�F
+        /// </summary>
+        private static Color s_RowTotalBackColor = Color.Black;
+        private static Color s_RowTotalForeColor = Color.White;
+        #endregion
+
+        #region �sƒ^ƒCƒgƒ‹
+        /// <summary>
+        /// �sƒ^ƒCƒgƒ‹•À‚Ñ�‡
+        /// </summary>
+        private enum RowTitleNum
+        {
+            /// <summary>
+            /// Ž{�H’†�‡Œv
+            /// </summary>
+            Execution = 0,
+            /// <summary>
+            /// Š®—¹�ÏŒv
+            /// </summary>
+            Completed,
+            /// <summary>
+            /// ‘S�HŽ–Œv
+            /// </summary>
+            AllConstrutions,
+            /// <summary>
+            /// Œo”ï�‡Œv
+            /// </summary>
+            Expenses,
+            /// <summary>
+            /// •â�•�U•ªŒv
+            /// </summary>
+            Auxiliary,
+            /// <summary>
+            /// ‘��‡Œv
+            /// </summary>
+            AllTotal,
+        }
+
+        /// <summary>
+        /// �‡Œv�sƒ^ƒCƒgƒ‹
+        /// </summary>
+        private static string[] s_TotalTitleArray = new string[] {  "�–Ž{�@�H�@’†�@�‡�@Œv�–",
+                                                                    "�–Š®�@—¹�@�Ï�@�‡�@Œv�–",
+                                                                    "�–‘S�@�H�@Ž–�@�‡�@Œv�–",
+                                                                    "�–�@Œo�@�@”ï�@�@Œv�@�–",
+                                                                    "�–�l Œ� ”ï �U •ª Œv�–",
+                                                                    "�–�–�@‘��@�‡�@Œv�@�–�–",
+                                                                };
+        #endregion
+
+        #region ƒOƒŠƒbƒh�€–Ú�sƒ^ƒCƒgƒ‹
+        /// <summary>
+        /// ƒOƒŠƒbƒh�€–Ú�sƒ^ƒCƒgƒ‹
+        /// </summary>
+        private static string[] s_GroupTitle = new string[] {" •›’S“–ŽÒŽû‰v ",
+                                                             "  Žw“±ˆõŽû‰v  ",
+                                                             "’S“–ŽÒ‹‹—^�·Šz"};
+        #endregion
+
+        #region �o”[–¼�Ì
+        /// <summary>
+        /// �o”[–¼�Ì
+        /// </summary>
+        private static Dictionary<int, string> s_SendReceiveName = new Dictionary<int, string>() { { -1, "Žx•¥‹àŠz" }, { 0, "" }, { 1, "Žû“ü‹àŠz" } };
+        #endregion
+
+        #endregion
+
+        #region •Ï�”
+
+        /// <summary>
+        /// ‹N“®ƒtƒ‰ƒO
+        /// </summary>
+        private int m_ExecuteFlg = 0;
+
+        /// <summary>
+        /// ƒf�[ƒ^•Ï�Xƒtƒ‰ƒO
+        /// </summary>
+        private bool m_bChengeAns = false;
+
+        /// <summary>
+        /// �I—¹�ó‘Ôƒtƒ‰ƒO
+        /// </summary>
+        private DialogResult m_EndButton = DialogResult.None;
+
+        #region ƒOƒŠƒbƒhƒJƒ‰ƒ€ƒTƒCƒY
+        /// <summary>
+        /// ƒOƒŠƒbƒhƒJƒ‰ƒ€ƒTƒCƒY
+        /// </summary>
+        int[] m_CellSize = null;
+        #endregion
+
+        #region ƒtƒH�[ƒ€•�
+        /// <summary>
+        /// ƒtƒH�[ƒ€•�
+        /// </summary>
+        private int m_FormWidthSize = 0;
+        #endregion
+
+        #region ‘�ŒvƒOƒŠƒbƒh•�ƒTƒCƒY
+        /// <summary>
+        /// ‘�ŒvƒOƒŠƒbƒh•�ƒTƒCƒY
+        /// </summary>
+        private int m_GridWidthSize = 0;
+        #endregion
+
+        #region �‰Šú‘I‘ð”N“x
+        /// <summary>
+        /// �‰Šú‘I‘ð”N“x
+        /// </summary>
+        private int m_FirstStartPeriod = 0;
+        #endregion
+
+        #region �‰Šú‘I‘ð•”��ƒR�[ƒh
+        /// <summary>
+        /// �‰Šú‘I‘ð•”��ƒR�[ƒh
+        /// </summary>
+        private int m_FirstStartDepartmentCode = CommonMotions.LoginUserData.DepartmentCode;
+        #endregion
+
+        #region �‰Šú‘I‘ð’S“–ŽÒƒR�[ƒh
+        /// <summary>
+        /// �‰Šú‘I‘ð’S“–ŽÒƒR�[ƒh
+        /// </summary>
+        private int m_FirstStartPersonCode = CommonMotions.LoginUserData.PersonCode;
+        #endregion
+
+        #region ŽŸƒvƒ�ƒZƒX‹N“®ƒtƒ‰ƒO
+        /// <summary>
+        /// ŽŸƒvƒ�ƒZƒX‹N“®ƒtƒ‰ƒO
+        /// </summary>
+        private bool m_NextProcFlg = false;
+        #endregion
+
+        // *-----* ‹¤’Ê�ˆ—��Ý’è *-----*
+        /// <summary>
+        /// ŒÄ�oŒ³�I—¹ƒtƒ‰ƒO
+        /// </summary>
+        private bool m_ParentEnd = false;
+        // *-----* ‹¤’Ê�ˆ—��Ý’è *-----*
+
+        /// <summary>
+        /// ƒAƒNƒZƒX�§ŒÀƒtƒ‰ƒO
+        /// </summary>
+        private bool m_EditLock = false;
+
+        /// <summary>
+        /// ŠY“–�HŽ–Šî–{�î•ñ
+        /// </summary>
+        private ConstructionBaseInfo m_ConstructionBaseInfo = new ConstructionBaseInfo();
+
+        /// <summary>
+        /// ŠY“–�HŽ–’S“–ŽÒ
+        /// </summary>
+        private PersonInChargeMaster m_PersonInChargeMaster = new PersonInChargeMaster();
+        
+        #region “®�ìƒRƒ“ƒeƒLƒXƒgƒ�ƒjƒ…�[•Ï�”
+        /// <summary>
+        /// “®�ìƒRƒ“ƒeƒLƒXƒgƒ�ƒjƒ…�[
+        /// </summary>
+        private ContextMenuStrip m_ExecMenuStrip = new ContextMenuStrip();
+        #endregion
+
+        #endregion
+
+        #region ƒvƒ�ƒpƒeƒB
+
+        #region ‹N“®ƒtƒ‰ƒO
+        /// <summary>
+        /// ‹N“®ƒtƒ‰ƒO
+        /// </summary>
+        public int ExecuteFlg
+        {
+            get { return m_ExecuteFlg; }
+            set { m_ExecuteFlg = value; }
+        }
+        #endregion
+
+        #region �‰Šú‘I‘ð”N“x
+        /// <summary>
+        /// �‰Šú‘I‘ð”N“x
+        /// </summary>
+        public int FirstStartPeriod
+        {
+            get { return m_FirstStartPeriod; }
+            set { m_FirstStartPeriod = value; }
+        }
+        #endregion
+
+        #region �‰Šú‘I‘ð•”��ƒR�[ƒh
+        /// <summary>
+        /// �‰Šú‘I‘ð•”��ƒR�[ƒh
+        /// </summary>
+        public int FirstStartDepartmentCode
+        {
+            get { return m_FirstStartDepartmentCode; }
+            set { m_FirstStartDepartmentCode = value; }
+        }
+        #endregion
+
+        #region �‰Šú‘I‘ð’S“–ŽÒƒR�[ƒh
+        /// <summary>
+        /// �‰Šú‘I‘ð’S“–ŽÒƒR�[ƒh
+        /// </summary>
+        public int FirstStartPersonCode
+        {
+            get { return m_FirstStartPersonCode; }
+            set { m_FirstStartPersonCode = value; }
+        }
+        #endregion
+
+        #region ŽŸƒvƒ�ƒZƒX‹N“®ƒtƒ‰ƒO
+        /// <summary>
+        /// ŽŸƒvƒ�ƒZƒX‹N“®ƒtƒ‰ƒO
+        /// </summary>
+        public bool NextProcFlg
+        {
+            get { return m_NextProcFlg; }
+            set { m_NextProcFlg = value; }
+        }
+        #endregion
+
+        #region ƒAƒNƒZƒX�§ŒÀƒtƒ‰ƒO
+        /// <summary>
+        /// ƒAƒNƒZƒX�§ŒÀƒtƒ‰ƒO
+        /// </summary>
+        public bool EditLock
+        {
+            get { return m_EditLock; }
+            set { m_EditLock = value; }
+        }
+        #endregion
+
+        #region �I—¹ƒ{ƒ^ƒ“‰Ÿ‰º
+        /// <summary>
+        /// �I—¹ƒ{ƒ^ƒ“‰Ÿ‰º
+        /// </summary>
+        public DialogResult EndButton
+        {
+            get { return m_EndButton; }
+        }
+        #endregion
+
+        #region *-----* ‹¤’Ê�ˆ—��Ý’è *-----*
+        // *-----* ‹¤’Ê�ˆ—��Ý’è *-----*
+        /// <summary>
+        /// ŒÄ�oŒ³�I—¹ƒtƒ‰ƒO
+        /// </summary>
+        public bool ParentEnd
+        {
+            get { return m_ParentEnd; }
+            set { m_ParentEnd = value; }
+        }
+        // *-----* ‹¤’Ê�ˆ—��Ý’è *-----*
+        #endregion
+
+        #endregion
+
+        #region ƒRƒ“ƒXƒgƒ‰ƒNƒ^
+        public FrmDepCost()
+        {
+            InitializeComponent();
+        }
+        #endregion
+        #region ƒfƒXƒgƒ‰ƒNƒ^
+        ~FrmDepCost()
+        {
+            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 FrmConstructionLedgerList_FormClosing(object sender, FormClosingEventArgs e)
+        {
+            try
+            {
+                if (m_bChengeAns)
+                {
+                    if (MessageBox.Show("ƒf�[ƒ^‚É•Ï�X‚ª‚ ‚è‚Ü‚·�A“o˜^‚¹‚¸‚É�I—¹‚µ‚Ä‚æ‚ë‚µ‚¢‚Å‚·‚©�H�B", "�I—¹Šm”F"
+                                    , MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.No)
+                    {
+                        e.Cancel = true;
+                        return;
+                    }
+                }
+
+                // ‘Oƒvƒ�ƒZƒX‚É–ß‚é
+                ClsExcute.BackProcess();
+            }
+            catch (System.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 FrmDepartmentCost_Load(object sender, EventArgs e)
+        {
+            // ƒRƒ“ƒ{ƒ{ƒbƒNƒXƒZƒbƒg
+            SetInitnumUDConstPro();
+            SetcmbDepartment();
+
+            // –¾�×ƒOƒŠƒbƒh�sƒRƒ“ƒeƒLƒXƒgƒ�ƒjƒ…�[�ì�¬
+            SetExecMenuStrip();
+
+            // ƒOƒŠƒbƒh�‰Šú�Ý’è
+            SetDisplayObject();
+
+            // �‰Šú•\Ž¦
+            InitDataLoad();
+
+            // ƒCƒxƒ“ƒgƒZƒbƒg
+            SetControlEvent(true);
+
+            m_bChengeAns = false;
+        }
+        #endregion
+
+        #region “o˜^ƒ{ƒ^ƒ“
+        /// <summary>
+        /// “o˜^ƒ{ƒ^ƒ“
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnDataEntry_Click(object sender, EventArgs e)
+        {
+            // ƒf�[ƒ^“o˜^
+            if (!DataEntryProcess()) return;
+
+            CommonMotions.EntryEndMessage("•”��•Ê�o”[’ ƒf�[ƒ^");
+
+            m_bChengeAns = false;
+        }
+        #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)
+        {
+            m_EndButton = DialogResult.OK;
+
+            this.Close();
+        }
+        #endregion
+
+        #region EntryƒL�[‚Å‚ÌˆÚ“®�ˆ—�
+        /// <summary>
+        /// EntryƒL�[‚Å‚ÌˆÚ“®�ˆ—�
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void FrmConstructionLedgerList_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)
+        {
+            // ƒCƒxƒ“ƒgƒNƒŠƒA
+            SetControlEvent(false);
+
+            // •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒX•Ï�X
+            SetcmbDepartment();
+
+            // ƒf�[ƒ^•\Ž¦
+            DataDisplay();
+
+            // ƒEƒBƒ“ƒhƒEƒTƒCƒYƒ`ƒFƒbƒN
+            FrmConstructionLedgerList_SizeChanged(sender, e);
+
+            // ƒCƒxƒ“ƒgƒZƒbƒg
+            SetControlEvent(true);
+        }
+        #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_SelectedIndexChanged(object sender, EventArgs e)
+        {
+            // ƒCƒxƒ“ƒgƒNƒŠƒA
+            SetControlEvent(false);
+
+            // ƒf�[ƒ^•\Ž¦
+            DataDisplay();
+
+            // ƒEƒBƒ“ƒhƒEƒTƒCƒYƒ`ƒFƒbƒN
+            FrmConstructionLedgerList_SizeChanged(sender, e);
+
+            // ƒCƒxƒ“ƒgƒZƒbƒg
+            SetControlEvent(true);
+        }
+        #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 FrmConstructionLedgerList_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 ˆê——ƒOƒŠƒbƒhƒ}ƒEƒXƒAƒbƒv
+        /// <summary>
+        /// ˆê——ƒOƒŠƒbƒhƒ}ƒEƒXƒAƒbƒv
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvList_MouseUp(object sender, MouseEventArgs e)
+        {
+            // ˆê——Žw’è�s‚ð‰ÁŽZ‚·‚é
+            dgvList_CalcTarget(sender);
+        }
+        #endregion
+
+        #region –¾�×ƒOƒŠƒbƒhƒ}ƒEƒXƒAƒbƒv
+        /// <summary>
+        /// –¾�×ƒOƒŠƒbƒhƒ}ƒEƒXƒAƒbƒv
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvMaster_MouseUp(object sender, MouseEventArgs e)
+        {
+            // –¾�×Žw’è�s‚ð‰ÁŽZ‚·‚é
+            dgvMaster_CalcTarget(sender);
+        }
+        #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 dgvMaster_SelectionChanged(object sender, EventArgs e)
+        {
+            DataGridViewEX dgv = dgvMaster;
+            DataGridViewRow CurRow = dgv.CurrentRow;
+
+            // ƒf�[ƒ^‚ª‚È‚¢�ê�‡‚Í”²‚¯‚é
+            if (dgv.RowCount == 0) return;
+            //if (CommonMotions.chkCellBlank(CurRow.Cells[(int)DispColumn.SelectionCode].Value) &&
+            //    CommonMotions.chkCellBlank(CurRow.Cells[(int)DispColumn.SelectionName].Value))
+            //{
+            //    return;
+            //}
+            //else
+            //{
+            //    // �‡Œv�s‚Í�ˆ—�‚µ‚È‚¢
+            //    string strWork = CommonMotions.cnvString(CurRow.Cells[(int)DispColumn.SelectionName].Value);
+            //    bool bTitle = false;
+            //    foreach (string strTitle in s_TotalTitleArray)
+            //    {
+            //        if (strWork.Equals(strTitle))
+            //        {
+            //            bTitle = true;
+            //            break;
+            //        }
+            //    }
+            //    if (bTitle) return;
+            //}
+            // �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‚©‚çƒtƒH�[ƒJƒX‚ªŠO‚ê‚½�ê�‡
+        /// <summary>
+        /// ƒOƒŠƒbƒh‚©‚çƒtƒH�[ƒJƒX‚ªŠO‚ê‚½�ê�‡
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvMaster_Leave(object sender, EventArgs e)
+        {
+            lblCellTotal2.Text = string.Empty;
+        }
+        #endregion
+
+        #region ˆê——ƒOƒŠƒbƒhƒ_ƒuƒ‹ƒNƒŠƒbƒN
+        /// <summary>
+        /// ˆê——ƒOƒŠƒbƒhƒ_ƒuƒ‹ƒNƒŠƒbƒN
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvList_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
+        {
+            DataGridViewEX dgv = dgvList;
+            int nCurRowCnt = dgv.CurrentRow.Index;
+            int nDepCode = CommonMotions.cnvInt(dgv.Rows[nCurRowCnt].Cells[(int)DispColType1.DepCode].Value);
+
+            if (nDepCode < 1) return;
+
+            cmbDepartment.SelectedValue = nDepCode;
+        }
+        #endregion
+
+        #region –¾�×ƒOƒŠƒbƒh’l•Ï‰»
+        /// <summary>
+        /// –¾�×ƒOƒŠƒbƒh’l•Ï‰»
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvMaster_CellValueChanged(object sender, DataGridViewCellEventArgs e)
+        {
+            // •Ò�Wƒtƒ‰ƒOON
+            SetModifyFlg(sender, e);
+        }
+        #endregion
+
+        #region ƒOƒŠƒbƒh�o”[ƒ{ƒ^ƒ“‰Ÿ‰º
+        /// <summary>
+        /// ƒOƒŠƒbƒh�o”[ƒ{ƒ^ƒ“‰Ÿ‰º
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvMaster_CellContentClick(object sender, DataGridViewCellEventArgs e)
+        {
+            try
+            {
+                // ŽQ�ÆŽž‚Í�ˆ—�‚µ‚È‚¢
+                if (m_EditLock) return;
+
+                if (e.ColumnIndex != (int)DispColType2.SRButton1
+                    && e.ColumnIndex != (int)DispColType2.SRButton2) return;
+
+                // •Ò�Wƒtƒ‰ƒOON
+                SetModifyFlg(sender, e);
+
+                // ƒ{ƒ^ƒ“‰Ÿ‰º�ˆ—�
+                GridButtonClick(sender, e);
+
+                /// –¾�×ƒOƒŠƒbƒh�‡Œv�ˆ—�
+                CalcDetialTotal();
+
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region �s’Ç‰Áƒ{ƒ^ƒ“
+        /// <summary>
+        /// �s’Ç‰Áƒ{ƒ^ƒ“
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnLineAdd_Click(object sender, EventArgs e)
+        {
+            // –¾�×ƒOƒŠƒbƒh‘}“ü�ˆ—�
+            GridRowInsertExecute(sender, e);
+        }
+        #endregion
+
+        #region �s�í�œƒ{ƒ^ƒ“
+        /// <summary>
+        /// �s�í�œƒ{ƒ^ƒ“
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void btnLineDel_Click(object sender, EventArgs e)
+        {
+            // –¾�×ƒOƒŠƒbƒh�í�œ�ˆ—�
+            GridRowRemoveExecute(sender, e);
+        }
+        #endregion
+
+        #region ƒZƒ‹“ü—ÍŒã�ˆ—�
+        /// <summary>
+        /// ƒZƒ‹“ü—ÍŒã�ˆ—�
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvMaster_CellValidated(object sender, DataGridViewCellEventArgs e)
+        {
+            // –¾�×ƒOƒŠƒbƒh�Å‹àŠzŒvŽZ�ˆ—�
+            CalcGridDetailField(sender, e);
+        }
+        #endregion
+
+        #region –¾�×ƒOƒŠƒbƒh“ü—Í‘O�ˆ—�
+        /// <summary>
+        /// –¾�×ƒOƒŠƒbƒh“ü—Í‘O�ˆ—�
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvMaster_CellEnter(object sender, DataGridViewCellEventArgs e)
+        {
+            // –¾�×ƒOƒŠƒbƒh“ü—Í‘O�ˆ—�
+            dgvMaster_EntryCell(sender, e);
+        }
+        #endregion
+
+        #region –¾�×ƒOƒŠƒbƒhƒNƒŠƒbƒN
+        /// <summary>
+        /// –¾�×ƒOƒŠƒbƒhƒNƒŠƒbƒN
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvMaster_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
+        {
+            //‰EƒNƒŠƒbƒN‚Ì‚Æ‚«‚Ì‚Ý
+            if (e.Button != MouseButtons.Right) return;
+
+            // ‰EƒNƒŠƒbƒNƒRƒ“ƒeƒLƒXƒgƒ�ƒjƒ…�[•\Ž¦
+            dgvMaster_ContextMenu(sender, e);
+        }
+        #endregion
+
+        #region –¾�×ƒOƒŠƒbƒhƒ_ƒuƒ‹ƒNƒŠƒbƒN
+        /// <summary>
+        /// –¾�×ƒOƒŠƒbƒhƒ_ƒuƒ‹ƒNƒŠƒbƒN
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvMaster_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
+        {
+            // ƒZƒ‹ƒ_ƒuƒ‹ƒNƒŠƒbƒNŒã�ˆ—�
+            CellDoubleClickProc(sender, e);
+        }
+        #endregion
+    }
+}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCost.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCost.designer.cs	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCost.designer.cs	(revision 355)
@@ -0,0 +1,758 @@
+ï»¿namespace ProcessManagement.Forms.DataEntry
+{
+    partial class FrmDepCost
+    {
+        /// <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 dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
+            this.btnEnd = new System.Windows.Forms.Button();
+            this.label1 = new System.Windows.Forms.Label();
+            this.ProgressBar = new System.Windows.Forms.ProgressBar();
+            this.btnOtherProc = new System.Windows.Forms.Button();
+            this.btnLineDel = new System.Windows.Forms.Button();
+            this.btnLineAdd = new System.Windows.Forms.Button();
+            this.btnDataEntry = new System.Windows.Forms.Button();
+            this.groupBox1 = new ProcessManagement.Forms.CustomControls.GroupBoxEx();
+            this.cmbDepartment = new System.Windows.Forms.ComboBox();
+            this.label3 = new System.Windows.Forms.Label();
+            this.label2 = new System.Windows.Forms.Label();
+            this.numUDConstPro = new System.Windows.Forms.NumericUpDown();
+            this.label5 = new System.Windows.Forms.Label();
+            this.label4 = new System.Windows.Forms.Label();
+            this.groupBox3 = new ProcessManagement.Forms.CustomControls.GroupBoxEx();
+            this.dgvMaster = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
+            this.Column001 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column002 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column003 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column004 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column2 = new System.Windows.Forms.DataGridViewButtonColumn();
+            this.Column5 = new System.Windows.Forms.DataGridViewButtonColumn();
+            this.Column005 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column006 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column007 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column008 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column009 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column010 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column011 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column012 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.lblCellTotal2 = new System.Windows.Forms.Label();
+            this.label9 = new System.Windows.Forms.Label();
+            this.label8 = new System.Windows.Forms.Label();
+            this.groupBox2 = new ProcessManagement.Forms.CustomControls.GroupBoxEx();
+            this.lblCellTotal1 = new System.Windows.Forms.Label();
+            this.label7 = new System.Windows.Forms.Label();
+            this.label6 = new System.Windows.Forms.Label();
+            this.dgvList = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
+            this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.groupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.numUDConstPro)).BeginInit();
+            this.groupBox3.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvMaster)).BeginInit();
+            this.groupBox2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvList)).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(1190, 620);
+            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(460, 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;
+            // 
+            // ProgressBar
+            // 
+            this.ProgressBar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.ProgressBar.Location = new System.Drawing.Point(10, 619);
+            this.ProgressBar.Name = "ProgressBar";
+            this.ProgressBar.Size = new System.Drawing.Size(600, 30);
+            this.ProgressBar.TabIndex = 30;
+            this.ProgressBar.Visible = false;
+            // 
+            // btnOtherProc
+            // 
+            this.btnOtherProc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.btnOtherProc.BackColor = System.Drawing.Color.SpringGreen;
+            this.btnOtherProc.Location = new System.Drawing.Point(7, 619);
+            this.btnOtherProc.Name = "btnOtherProc";
+            this.btnOtherProc.Size = new System.Drawing.Size(160, 30);
+            this.btnOtherProc.TabIndex = 119;
+            this.btnOtherProc.TabStop = false;
+            this.btnOtherProc.Text = "ä»–ã�®ç”»é�¢ã�¸";
+            this.btnOtherProc.UseVisualStyleBackColor = false;
+            this.btnOtherProc.Visible = false;
+            // 
+            // btnLineDel
+            // 
+            this.btnLineDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnLineDel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
+            this.btnLineDel.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold);
+            this.btnLineDel.Location = new System.Drawing.Point(766, 620);
+            this.btnLineDel.Name = "btnLineDel";
+            this.btnLineDel.Size = new System.Drawing.Size(130, 30);
+            this.btnLineDel.TabIndex = 124;
+            this.btnLineDel.Text = "è¡Œã€€å‰Šã€€é™¤";
+            this.btnLineDel.UseVisualStyleBackColor = false;
+            this.btnLineDel.Visible = false;
+            this.btnLineDel.Click += new System.EventHandler(this.btnLineDel_Click);
+            // 
+            // btnLineAdd
+            // 
+            this.btnLineAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnLineAdd.BackColor = System.Drawing.Color.PaleGreen;
+            this.btnLineAdd.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold);
+            this.btnLineAdd.Location = new System.Drawing.Point(628, 620);
+            this.btnLineAdd.Name = "btnLineAdd";
+            this.btnLineAdd.Size = new System.Drawing.Size(130, 30);
+            this.btnLineAdd.TabIndex = 123;
+            this.btnLineAdd.Text = "è¡Œã€€æŒ¿ã€€å…¥";
+            this.btnLineAdd.UseVisualStyleBackColor = false;
+            this.btnLineAdd.Visible = false;
+            this.btnLineAdd.Click += new System.EventHandler(this.btnLineAdd_Click);
+            // 
+            // btnDataEntry
+            // 
+            this.btnDataEntry.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnDataEntry.BackColor = System.Drawing.Color.Green;
+            this.btnDataEntry.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.btnDataEntry.ForeColor = System.Drawing.Color.White;
+            this.btnDataEntry.Location = new System.Drawing.Point(934, 620);
+            this.btnDataEntry.Name = "btnDataEntry";
+            this.btnDataEntry.Size = new System.Drawing.Size(120, 30);
+            this.btnDataEntry.TabIndex = 122;
+            this.btnDataEntry.Text = "ç™»ã€€éŒ²";
+            this.btnDataEntry.UseVisualStyleBackColor = false;
+            this.btnDataEntry.Click += new System.EventHandler(this.btnDataEntry_Click);
+            // 
+            // groupBox1
+            // 
+            this.groupBox1.Anchor = System.Windows.Forms.AnchorStyles.Top;
+            this.groupBox1.BackColor = System.Drawing.Color.MediumSlateBlue;
+            this.groupBox1.BorderColor = System.Drawing.Color.White;
+            this.groupBox1.Controls.Add(this.cmbDepartment);
+            this.groupBox1.Controls.Add(this.label3);
+            this.groupBox1.Controls.Add(this.label2);
+            this.groupBox1.Controls.Add(this.numUDConstPro);
+            this.groupBox1.Controls.Add(this.label5);
+            this.groupBox1.Controls.Add(this.label4);
+            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(1300, 55);
+            this.groupBox1.TabIndex = 0;
+            this.groupBox1.TabStop = false;
+            // 
+            // 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(260, 23);
+            this.cmbDepartment.TabIndex = 1;
+            // 
+            // label3
+            // 
+            this.label3.BackColor = System.Drawing.Color.PaleGoldenrod;
+            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(294, 19);
+            this.label3.Name = "label3";
+            this.label3.Size = new System.Drawing.Size(120, 25);
+            this.label3.TabIndex = 40;
+            this.label3.Text = "éƒ¨ã€€ã€€ç½²";
+            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label2
+            // 
+            this.label2.BackColor = System.Drawing.Color.PaleGoldenrod;
+            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(20, 19);
+            this.label2.Name = "label2";
+            this.label2.Size = new System.Drawing.Size(120, 25);
+            this.label2.TabIndex = 38;
+            this.label2.Text = "å–¶æ¥­æœŸ";
+            this.label2.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;
+            // 
+            // 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 = 0;
+            this.label5.Text = "æœŸ";
+            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // label4
+            // 
+            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(148, 23);
+            this.label4.Name = "label4";
+            this.label4.Size = new System.Drawing.Size(25, 16);
+            this.label4.TabIndex = 0;
+            this.label4.Text = "ç¬¬";
+            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
+            // groupBox3
+            // 
+            this.groupBox3.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.groupBox3.BackColor = System.Drawing.Color.MediumSlateBlue;
+            this.groupBox3.BorderColor = System.Drawing.Color.White;
+            this.groupBox3.Controls.Add(this.dgvMaster);
+            this.groupBox3.Controls.Add(this.lblCellTotal2);
+            this.groupBox3.Controls.Add(this.label9);
+            this.groupBox3.Controls.Add(this.label8);
+            this.groupBox3.ForeColor = System.Drawing.Color.White;
+            this.groupBox3.Location = new System.Drawing.Point(10, 101);
+            this.groupBox3.Name = "groupBox3";
+            this.groupBox3.Size = new System.Drawing.Size(1300, 504);
+            this.groupBox3.TabIndex = 121;
+            this.groupBox3.TabStop = false;
+            // 
+            // dgvMaster
+            // 
+            this.dgvMaster.AllowUserToAddRows = false;
+            this.dgvMaster.AllowUserToDeleteRows = false;
+            this.dgvMaster.AllowUserToResizeRows = false;
+            this.dgvMaster.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.dgvMaster.BackgroundColor = System.Drawing.Color.White;
+            this.dgvMaster.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvMaster.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+            this.dgvMaster.ColumnHeadersHeight = 24;
+            this.dgvMaster.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
+            this.dgvMaster.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.Column001,
+            this.Column002,
+            this.Column1,
+            this.Column003,
+            this.Column004,
+            this.Column2,
+            this.Column5,
+            this.Column005,
+            this.Column006,
+            this.Column007,
+            this.Column008,
+            this.Column009,
+            this.Column010,
+            this.Column011,
+            this.Column012});
+            this.dgvMaster.Location = new System.Drawing.Point(5, 10);
+            this.dgvMaster.Name = "dgvMaster";
+            this.dgvMaster.RowHeadersVisible = false;
+            this.dgvMaster.RowHeadersWidth = 20;
+            this.dgvMaster.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
+            this.dgvMaster.RowTemplate.Height = 24;
+            this.dgvMaster.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
+            this.dgvMaster.Size = new System.Drawing.Size(1290, 460);
+            this.dgvMaster.TabIndex = 124;
+            this.dgvMaster.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvMaster_CellContentClick);
+            this.dgvMaster.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvMaster_CellDoubleClick);
+            this.dgvMaster.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvMaster_CellEnter);
+            this.dgvMaster.CellMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvMaster_CellMouseClick);
+            this.dgvMaster.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvMaster_CellValidated);
+            this.dgvMaster.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvMaster_CellValueChanged);
+            this.dgvMaster.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvMaster_MouseUp);
+            // 
+            // Column001
+            // 
+            this.Column001.HeaderText = "RowStatus";
+            this.Column001.Name = "Column001";
+            this.Column001.Visible = false;
+            // 
+            // Column002
+            // 
+            this.Column002.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
+            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle2.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black;
+            this.Column002.DefaultCellStyle = dataGridViewCellStyle2;
+            this.Column002.HeaderText = "æ—¥ä»˜";
+            this.Column002.Name = "Column002";
+            this.Column002.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column002.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // Column1
+            // 
+            this.Column1.HeaderText = "å‡ºç´�å…ˆã‚³ãƒ¼ãƒ‰";
+            this.Column1.Name = "Column1";
+            this.Column1.Visible = false;
+            // 
+            // Column003
+            // 
+            this.Column003.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
+            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Black;
+            this.Column003.DefaultCellStyle = dataGridViewCellStyle3;
+            this.Column003.HeaderText = "å‡ºã€€ç´�ã€€å…ˆã€€å��";
+            this.Column003.Name = "Column003";
+            this.Column003.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column003.Width = 250;
+            // 
+            // Column004
+            // 
+            this.Column004.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
+            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black;
+            this.Column004.DefaultCellStyle = dataGridViewCellStyle4;
+            this.Column004.HeaderText = "å‡ºã€€ç´�ã€€å†…ã€€å®¹";
+            this.Column004.Name = "Column004";
+            this.Column004.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column004.Width = 250;
+            // 
+            // Column2
+            // 
+            this.Column2.HeaderText = "å‡º";
+            this.Column2.Name = "Column2";
+            this.Column2.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column2.Width = 30;
+            // 
+            // Column5
+            // 
+            this.Column5.HeaderText = "ç´�";
+            this.Column5.Name = "Column5";
+            this.Column5.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column5.Width = 30;
+            // 
+            // Column005
+            // 
+            this.Column005.HeaderText = "å‡ºç´�ãƒ•ãƒ©ã‚°";
+            this.Column005.Name = "Column005";
+            this.Column005.ReadOnly = true;
+            this.Column005.Visible = false;
+            // 
+            // Column006
+            // 
+            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle5.ForeColor = System.Drawing.Color.Black;
+            this.Column006.DefaultCellStyle = dataGridViewCellStyle5;
+            this.Column006.HeaderText = "å‡ºç´�å��ç§°";
+            this.Column006.Name = "Column006";
+            this.Column006.ReadOnly = true;
+            this.Column006.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.Column006.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // Column007
+            // 
+            this.Column007.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
+            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle6.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle6.ForeColor = System.Drawing.Color.Black;
+            this.Column007.DefaultCellStyle = dataGridViewCellStyle6;
+            this.Column007.HeaderText = "ç¨ŽæŠœé‡‘é¡�";
+            this.Column007.Name = "Column007";
+            this.Column007.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column007.Width = 120;
+            // 
+            // Column008
+            // 
+            this.Column008.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
+            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle7.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle7.ForeColor = System.Drawing.Color.Black;
+            this.Column008.DefaultCellStyle = dataGridViewCellStyle7;
+            this.Column008.HeaderText = "ç¨Žè¾¼é‡‘é¡�";
+            this.Column008.Name = "Column008";
+            this.Column008.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column008.Width = 120;
+            // 
+            // Column009
+            // 
+            this.Column009.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
+            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle8.ForeColor = System.Drawing.Color.Black;
+            this.Column009.DefaultCellStyle = dataGridViewCellStyle8;
+            this.Column009.HeaderText = "å‚™ã€€è€ƒ";
+            this.Column009.Name = "Column009";
+            this.Column009.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column009.Width = 270;
+            // 
+            // Column010
+            // 
+            this.Column010.HeaderText = "éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
+            this.Column010.Name = "Column010";
+            this.Column010.ReadOnly = true;
+            this.Column010.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column010.Visible = false;
+            // 
+            // Column011
+            // 
+            this.Column011.HeaderText = "æ—¥ä»˜";
+            this.Column011.Name = "Column011";
+            this.Column011.ReadOnly = true;
+            this.Column011.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column011.Visible = false;
+            // 
+            // Column012
+            // 
+            this.Column012.HeaderText = "ãƒ¬ã‚³ãƒ¼ãƒ‰ç•ªå�·";
+            this.Column012.Name = "Column012";
+            this.Column012.ReadOnly = true;
+            this.Column012.Visible = false;
+            // 
+            // lblCellTotal2
+            // 
+            this.lblCellTotal2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.lblCellTotal2.AutoSize = true;
+            this.lblCellTotal2.BackColor = System.Drawing.Color.MediumSlateBlue;
+            this.lblCellTotal2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.lblCellTotal2.ForeColor = System.Drawing.Color.White;
+            this.lblCellTotal2.Location = new System.Drawing.Point(100, 476);
+            this.lblCellTotal2.Name = "lblCellTotal2";
+            this.lblCellTotal2.Size = new System.Drawing.Size(0, 13);
+            this.lblCellTotal2.TabIndex = 123;
+            // 
+            // label9
+            // 
+            this.label9.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
+            this.label9.BackColor = System.Drawing.Color.White;
+            this.label9.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label9.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label9.ForeColor = System.Drawing.Color.Black;
+            this.label9.Location = new System.Drawing.Point(886, 470);
+            this.label9.Name = "label9";
+            this.label9.Size = new System.Drawing.Size(120, 25);
+            this.label9.TabIndex = 122;
+            this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // label8
+            // 
+            this.label8.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
+            this.label8.BackColor = System.Drawing.Color.White;
+            this.label8.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label8.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label8.ForeColor = System.Drawing.Color.Black;
+            this.label8.Location = new System.Drawing.Point(766, 470);
+            this.label8.Name = "label8";
+            this.label8.Size = new System.Drawing.Size(120, 25);
+            this.label8.TabIndex = 121;
+            this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // groupBox2
+            // 
+            this.groupBox2.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.groupBox2.BackColor = System.Drawing.Color.MediumSlateBlue;
+            this.groupBox2.BorderColor = System.Drawing.Color.White;
+            this.groupBox2.Controls.Add(this.lblCellTotal1);
+            this.groupBox2.Controls.Add(this.label7);
+            this.groupBox2.Controls.Add(this.label6);
+            this.groupBox2.Controls.Add(this.dgvList);
+            this.groupBox2.ForeColor = System.Drawing.Color.White;
+            this.groupBox2.Location = new System.Drawing.Point(10, 101);
+            this.groupBox2.Name = "groupBox2";
+            this.groupBox2.Size = new System.Drawing.Size(1300, 504);
+            this.groupBox2.TabIndex = 120;
+            this.groupBox2.TabStop = false;
+            // 
+            // lblCellTotal1
+            // 
+            this.lblCellTotal1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.lblCellTotal1.AutoSize = true;
+            this.lblCellTotal1.BackColor = System.Drawing.Color.MediumSlateBlue;
+            this.lblCellTotal1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.lblCellTotal1.ForeColor = System.Drawing.Color.White;
+            this.lblCellTotal1.Location = new System.Drawing.Point(100, 476);
+            this.lblCellTotal1.Name = "lblCellTotal1";
+            this.lblCellTotal1.Size = new System.Drawing.Size(0, 13);
+            this.lblCellTotal1.TabIndex = 124;
+            // 
+            // label7
+            // 
+            this.label7.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
+            this.label7.BackColor = System.Drawing.Color.White;
+            this.label7.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label7.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label7.ForeColor = System.Drawing.Color.Black;
+            this.label7.Location = new System.Drawing.Point(841, 470);
+            this.label7.Name = "label7";
+            this.label7.Size = new System.Drawing.Size(160, 25);
+            this.label7.TabIndex = 120;
+            this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // label6
+            // 
+            this.label6.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
+            this.label6.BackColor = System.Drawing.Color.White;
+            this.label6.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label6.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label6.ForeColor = System.Drawing.Color.Black;
+            this.label6.Location = new System.Drawing.Point(681, 470);
+            this.label6.Name = "label6";
+            this.label6.Size = new System.Drawing.Size(160, 25);
+            this.label6.TabIndex = 120;
+            this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+            // 
+            // dgvList
+            // 
+            this.dgvList.AllowUserToAddRows = false;
+            this.dgvList.AllowUserToDeleteRows = false;
+            this.dgvList.AllowUserToResizeColumns = false;
+            this.dgvList.AllowUserToResizeRows = false;
+            this.dgvList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
+            this.dgvList.BackgroundColor = System.Drawing.Color.White;
+            this.dgvList.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle9.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9;
+            this.dgvList.ColumnHeadersHeight = 24;
+            this.dgvList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
+            this.dgvList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.dataGridViewTextBoxColumn1,
+            this.dataGridViewTextBoxColumn6,
+            this.dataGridViewTextBoxColumn7,
+            this.dataGridViewTextBoxColumn8,
+            this.dataGridViewTextBoxColumn9});
+            this.dgvList.Location = new System.Drawing.Point(280, 10);
+            this.dgvList.Name = "dgvList";
+            this.dgvList.RowHeadersVisible = false;
+            this.dgvList.RowHeadersWidth = 20;
+            this.dgvList.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
+            this.dgvList.RowTemplate.Height = 24;
+            this.dgvList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
+            this.dgvList.Size = new System.Drawing.Size(740, 460);
+            this.dgvList.TabIndex = 119;
+            this.dgvList.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvList_CellDoubleClick);
+            this.dgvList.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvList_MouseUp);
+            // 
+            // dataGridViewTextBoxColumn1
+            // 
+            this.dataGridViewTextBoxColumn1.HeaderText = "éƒ¨ç½²ã‚³ãƒ¼ãƒ‰";
+            this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
+            this.dataGridViewTextBoxColumn1.ReadOnly = true;
+            this.dataGridViewTextBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dataGridViewTextBoxColumn1.Visible = false;
+            this.dataGridViewTextBoxColumn1.Width = 5;
+            // 
+            // dataGridViewTextBoxColumn6
+            // 
+            this.dataGridViewTextBoxColumn6.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
+            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle10.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle10;
+            this.dataGridViewTextBoxColumn6.HeaderText = "éƒ¨ã€€ç½²ã€€å��";
+            this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
+            this.dataGridViewTextBoxColumn6.ReadOnly = true;
+            this.dataGridViewTextBoxColumn6.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dataGridViewTextBoxColumn6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dataGridViewTextBoxColumn6.Width = 300;
+            // 
+            // dataGridViewTextBoxColumn7
+            // 
+            this.dataGridViewTextBoxColumn7.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
+            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle11.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle11.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle11;
+            this.dataGridViewTextBoxColumn7.HeaderText = "å‡ºç´�ä»¶æ•°";
+            this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
+            this.dataGridViewTextBoxColumn7.ReadOnly = true;
+            this.dataGridViewTextBoxColumn7.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dataGridViewTextBoxColumn7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            // 
+            // dataGridViewTextBoxColumn8
+            // 
+            this.dataGridViewTextBoxColumn8.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
+            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle12.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle12.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle12;
+            this.dataGridViewTextBoxColumn8.HeaderText = "å‡ºç´�ç¨ŽæŠœé‡‘é¡�";
+            this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
+            this.dataGridViewTextBoxColumn8.ReadOnly = true;
+            this.dataGridViewTextBoxColumn8.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dataGridViewTextBoxColumn8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dataGridViewTextBoxColumn8.Width = 160;
+            // 
+            // dataGridViewTextBoxColumn9
+            // 
+            this.dataGridViewTextBoxColumn9.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
+            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle13.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle13.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle13;
+            this.dataGridViewTextBoxColumn9.HeaderText = "å‡ºç´�ç¨Žè¾¼é‡‘é¡�";
+            this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
+            this.dataGridViewTextBoxColumn9.ReadOnly = true;
+            this.dataGridViewTextBoxColumn9.Resizable = System.Windows.Forms.DataGridViewTriState.False;
+            this.dataGridViewTextBoxColumn9.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.dataGridViewTextBoxColumn9.Width = 160;
+            // 
+            // FrmDepCost
+            // 
+            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(1320, 657);
+            this.Controls.Add(this.btnLineDel);
+            this.Controls.Add(this.btnLineAdd);
+            this.Controls.Add(this.btnDataEntry);
+            this.Controls.Add(this.btnOtherProc);
+            this.Controls.Add(this.ProgressBar);
+            this.Controls.Add(this.groupBox1);
+            this.Controls.Add(this.label1);
+            this.Controls.Add(this.btnEnd);
+            this.Controls.Add(this.groupBox3);
+            this.Controls.Add(this.groupBox2);
+            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 = "FrmDepCost";
+            this.ShowIcon = false;
+            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmConstructionLedgerList_FormClosing);
+            this.Load += new System.EventHandler(this.FrmDepartmentCost_Load);
+            this.SizeChanged += new System.EventHandler(this.FrmConstructionLedgerList_SizeChanged);
+            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FrmConstructionLedgerList_KeyDown);
+            this.groupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.numUDConstPro)).EndInit();
+            this.groupBox3.ResumeLayout(false);
+            this.groupBox3.PerformLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvMaster)).EndInit();
+            this.groupBox2.ResumeLayout(false);
+            this.groupBox2.PerformLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvList)).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 label4;
+        private System.Windows.Forms.NumericUpDown numUDConstPro;
+        private System.Windows.Forms.Label label5;
+        private System.Windows.Forms.Label label2;
+        private System.Windows.Forms.ComboBox cmbDepartment;
+        private System.Windows.Forms.Label label3;
+        private System.Windows.Forms.ProgressBar ProgressBar;
+        private System.Windows.Forms.Button btnOtherProc;
+        private ProcessManagement.Forms.CustomControls.GroupBoxEx groupBox2;
+        private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvList;
+        private ProcessManagement.Forms.CustomControls.GroupBoxEx groupBox3;
+        private System.Windows.Forms.Label label7;
+        private System.Windows.Forms.Label label6;
+        private System.Windows.Forms.Label label9;
+        private System.Windows.Forms.Label label8;
+        private System.Windows.Forms.Button btnLineDel;
+        private System.Windows.Forms.Button btnLineAdd;
+        private System.Windows.Forms.Button btnDataEntry;
+        private System.Windows.Forms.Label lblCellTotal2;
+        private CustomControls.DataGridViewEX dgvMaster;
+        private System.Windows.Forms.Label lblCellTotal1;
+        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
+        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
+        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
+        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
+        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column001;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column002;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column003;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column004;
+        private System.Windows.Forms.DataGridViewButtonColumn Column2;
+        private System.Windows.Forms.DataGridViewButtonColumn Column5;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column005;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column006;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column007;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column008;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column009;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column010;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column011;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column012;
+    }
+}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCost.resx
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCost.resx	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCost.resx	(revision 355)
@@ -0,0 +1,180 @@
+<?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="Column001.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column002.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column003.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column004.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="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column005.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column006.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column007.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column008.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column009.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column010.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column011.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column012.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="dataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="dataGridViewTextBoxColumn6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="dataGridViewTextBoxColumn7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="dataGridViewTextBoxColumn8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="dataGridViewTextBoxColumn9.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/DepartmentCost/FrmDepartmentCostAux.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCostAux.cs	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DepartmentCost/FrmDepartmentCostAux.cs	(revision 355)
@@ -0,0 +1,2108 @@
+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 FrmDepCost
+    {
+        #region –¾�×ƒOƒŠƒbƒh�sƒRƒ“ƒeƒLƒXƒgƒ�ƒjƒ…�[�ì�¬
+        /// <summary>
+        /// –¾�×ƒOƒŠƒbƒh�sƒRƒ“ƒeƒLƒXƒgƒ�ƒjƒ…�[�ì�¬
+        /// </summary>
+        private void SetExecMenuStrip()
+        {
+            try
+            {
+                m_ExecMenuStrip.Items.Clear();
+
+                for (int i = 0; i < 5; i++)
+                {
+                    //ƒCƒxƒ“ƒg‚Ì“o˜^
+                    string strExecName = string.Empty;
+                    EventHandler handle = null;
+                    switch (i)
+                    {
+                        case 0:
+                            strExecName = "ƒRƒs�[";
+                            handle = GridRowCopyExecute;
+                            break;
+                        case 1:
+                            strExecName = "“\‚è•t‚¯";
+                            handle = GridRowPasteExecute;
+                            break;
+                        case 2:
+                            strExecName = "‚P�s�í�œ";
+                            handle = GridRowRemoveExecute;
+                            break;
+                        case 3:
+                            strExecName = "‚P�s‘}“ü";
+                            handle = GridRowInsertExecute;
+                            break;
+                        case 4:
+                            strExecName = "‚P�s’Ç‰Á";
+                            handle = GridRowAddExecute;
+                            break;
+                    }
+                    // ‹æ�Ø‚è�ü
+                    if (i > 0) m_ExecMenuStrip.Items.Add("-");
+                    // �s‚ÌƒZƒbƒg
+                    m_ExecMenuStrip.Items.Add(new ToolStripMenuItem(strExecName, null, handle));
+                }
+                // ƒRƒ“ƒeƒLƒXƒgƒ�ƒjƒ…�[‚ðƒZƒbƒg‚·‚é
+                //dgvMaster.ContextMenuStrip = m_ExecMenuStrip;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ƒRƒ“ƒgƒ��[ƒ‹ƒCƒxƒ“ƒg’Ç‰Á�ˆ—�
+        /// <summary>
+        /// ƒRƒ“ƒgƒ��[ƒ‹ƒCƒxƒ“ƒg’Ç‰Á�ˆ—�
+        /// </summary>
+        /// <param name="EventCon"></param>
+        private void SetControlEvent(bool bAddEvent)
+        {
+            try
+            {
+                if (bAddEvent)
+                {
+                    numUDConstPro.ValueChanged += new EventHandler(numUDConstPro_ValueChanged);
+                    cmbDepartment.SelectedIndexChanged += new EventHandler(cmbDepartment_SelectedIndexChanged);
+                }
+                else
+                {
+                    numUDConstPro.ValueChanged -= new EventHandler(numUDConstPro_ValueChanged);
+                    cmbDepartment.SelectedIndexChanged -= new EventHandler(cmbDepartment_SelectedIndexChanged);
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region •\Ž¦ƒIƒuƒWƒFƒNƒg‚ÌŽæ“¾
+        /// <summary>
+        /// •\Ž¦ƒIƒuƒWƒFƒNƒg‚ÌŽæ“¾
+        /// </summary>
+        private void SetDisplayObject()
+        {
+            // ƒtƒH�[ƒ€ƒTƒCƒYŽæ“¾
+            m_FormWidthSize = this.Width;
+
+            DataGridViewEX dgv = dgvMaster;
+            // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
+            m_GridWidthSize = dgv.Width;
+
+            // ƒOƒŠƒbƒhƒJƒ‰ƒ€•�Žæ“¾
+            int ColCount = Enum.GetNames(typeof(DispColType2)).Length;
+            m_CellSize = new int[ColCount];
+            foreach (DataGridViewColumn wrkCell in dgvMaster.Columns)
+            {
+                m_CellSize[wrkCell.Index] = wrkCell.Width;
+            }
+        }
+        #endregion
+
+        #region ŒŸ�õSQL‚ÌƒZƒLƒ…ƒŠƒeƒB”»’è•”•ª‚ð�ì�¬‚·‚é
+        /// <summary>
+        /// ŒŸ�õSQL‚ÌƒZƒLƒ…ƒŠƒeƒB”»’è•”•ª‚ð�ì�¬‚·‚é
+        /// </summary>
+        /// <param name="strSQL"></param>
+        private void CreateSecuritySQL(ref StringBuilder strSecurity)
+        {
+            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“–ŽÒ‚Ì‚Ý
+
+                // ƒ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
+                    int iStatus = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("Œ©�Ï’ñ�o")).Key;
+                    int iStatus2 = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("•”��ˆøŒp")).Key;
+
+                    strSecurity.Append(" And (D.SalesPersonCode IN (Select A1.PersonCode From PersonInChargeMaster A1");
+                    strSecurity.AppendFormat(" Where A1.DepartmentCode IN (SELECT A2.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A2 WHERE A2.PERSONCODE = {0}))", CommonMotions.LoginUserData.PersonCode);
+
+                    strSecurity.AppendFormat(" Or (D.ConstructionStatusFlg >= {0}", iStatus);
+
+                    strSecurity.Append(" And (D.ConstructionPersonCode IN (Select A3.PersonCode From PersonInChargeMaster A3");
+                    strSecurity.AppendFormat(" Where A3.DepartmentCode IN (SELECT A4.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A4 WHERE A4.PERSONCODE = {0}))", CommonMotions.LoginUserData.PersonCode);
+
+                    strSecurity.Append(" Or D.CONSTRSUBPERSONCODE IN (Select A5.PersonCode From PersonInChargeMaster A5");
+                    strSecurity.AppendFormat(" Where A5.DepartmentCode IN (SELECT A6.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A6 WHERE A6.PERSONCODE = {0}))", CommonMotions.LoginUserData.PersonCode);
+
+                    strSecurity.Append(" Or D.ConstructionInstructor IN (Select A7.PersonCode From PersonInChargeMaster A7");
+                    strSecurity.AppendFormat(" Where A7.DepartmentCode IN (SELECT A8.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A8 WHERE A8.PERSONCODE = {0}))))", CommonMotions.LoginUserData.PersonCode);
+
+                    strSecurity.AppendFormat(" Or (D.ConstructionStatusFlg >= {0} And D.ConstructionPersonCode = 0)", iStatus);          // �Š‘®’·‚ÍŒ©�Ï’ñ�oŒã‚Å�HŽ–’S“–ŽÒ‚ª“ü‚Á‚Ä‚¢‚È‚¢�ê�‡•\Ž¦
+                    strSecurity.AppendFormat(" Or (D.ConstructionStatusFlg = {0}", iStatus2);                                            // •”��ˆøŒpŽž‚ÍˆøŒp•”��‚Ì‚à‚Ì‚ÍŒ©‚¦‚é
+                    strSecurity.AppendFormat(" And D.TransferConstruction = {0}))", CommonMotions.LoginUserData.DepartmentCode);
+                }
+                else if (CommonMotions.LoginUserSecurity.SecRange == CommonDefine.SecurityRangeList[None].Key)
+                {
+                    // ˆê”ÊŽg—pŽÒ
+                    int iStatus = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("Œ©�Ï’ñ�o")).Key;
+
+                    strSecurity.AppendFormat(" And (D.SalesPersonCode = {0}", CommonMotions.LoginUserData.PersonCode);
+
+                    strSecurity.AppendFormat(" Or (D.ConstructionStatusFlg > {0}", iStatus);
+
+                    strSecurity.AppendFormat(" And (D.ConstructionPersonCode = {0}", CommonMotions.LoginUserData.PersonCode);
+
+                    strSecurity.AppendFormat(" Or D.CONSTRSUBPERSONCODE = {0}", CommonMotions.LoginUserData.PersonCode);
+
+                    strSecurity.AppendFormat(" Or D.ConstructionInstructor = {0})))", CommonMotions.LoginUserData.PersonCode);
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", ex.Message, strSecurity);
+            }
+        }
+        #endregion
+
+        #region �‰ŠúŽžƒf�[ƒ^Žæ“¾
+        /// <summary>
+        /// �‰ŠúŽžƒf�[ƒ^Žæ“¾
+        /// </summary>
+        private void InitDataLoad()
+        {
+            try
+            {
+                // ƒf�[ƒ^•\Ž¦
+                DataDisplay();
+            }
+            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
+            {
+                DataGridViewEX dgv = dgvMaster;
+                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 && !dgv.Columns[i].GetType().Equals(typeof(DataGridViewButtonColumn)))
+                        {
+                            ColumnCount++;
+                        }
+                        else
+                        {
+                            NotVisibleSize += m_CellSize[i];
+                        }
+                    }
+
+                    // ‘å‚«‚­‚È‚Á‚½ƒTƒCƒY
+                    //int formdiff = (dgv.Width - (m_GridWidthSize - NotVisibleSize));
+                    int formdiff = (dgv.Width - m_GridWidthSize);
+
+                    idifference = formdiff / ColumnCount;
+                }
+
+                // ƒZƒ‹ƒTƒCƒY•Ï�X
+                for (int i = 0; i < dgv.ColumnCount; i++)
+                {
+                    DataGridViewColumn wrkCol = dgv.Columns[i];
+                    if (wrkCol.GetType().Equals(typeof(DataGridViewButtonColumn))) continue;
+                    wrkCol.Width = m_CellSize[i] + idifference;
+                }
+
+                // –¾�×�‡ŒvƒGƒŠƒAˆÊ’u•Ï�X
+                PointTotalArea();
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region –¾�×�‡ŒvƒGƒŠƒAˆÊ’u•Ï�X
+        /// <summary>
+        /// –¾�×�‡ŒvƒGƒŠƒAˆÊ’u•Ï�X
+        /// </summary>
+        private void PointTotalArea()
+        {
+            try
+            {
+                if (!groupBox3.Visible) return;
+
+                DataGridViewEX dgv = dgvMaster;
+                int nXpoint = dgv.Location.X + 1;
+                // •\Ž¦�o”[“ú
+                nXpoint += dgv.Columns[(int)DispColType2.DspCostDate].Width;
+                // Žx•¥�æ–¼
+                nXpoint += dgv.Columns[(int)DispColType2.SuppliersName].Width;
+                // Žx•¥“à—e
+                nXpoint += dgv.Columns[(int)DispColType2.PaymentContent].Width;
+                // �o”[ƒ{ƒ^ƒ“‚P
+                nXpoint += dgv.Columns[(int)DispColType2.SRButton1].Width;
+                // �o”[ƒ{ƒ^ƒ“‚Q
+                nXpoint += dgv.Columns[(int)DispColType2.SRButton2].Width;
+                // �o”[–¼�Ì
+                nXpoint += dgv.Columns[(int)DispColType2.SRNamne].Width;
+
+                // ˆÊ’u•Ï�X
+                Point po = label8.Location;
+                po.X = nXpoint;
+                label8.Location = po;
+                label8.Width = dgv.Columns[(int)DispColType2.EntryPrice].Width;
+
+                // ‹àŠz�i�Å”²�j
+                nXpoint += dgv.Columns[(int)DispColType2.EntryPrice].Width;
+                Point po2 = label9.Location;
+                po2.X = nXpoint;
+                label9.Location = po2;
+                label9.Width = dgv.Columns[(int)DispColType2.EntryTax].Width;
+            }
+            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
+            {
+                DataGridViewEX dgv = dgvMaster;
+
+                // �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
+            {
+                DataGridViewEX dgv = dgvMaster;
+                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
+            {
+                DataGridViewEX dgv = dgvMaster;
+                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ƒ�ƒOƒŒƒXƒo�[•\Ž¦�§Œä
+        /// <summary>
+        /// ƒvƒ�ƒOƒŒƒXƒo�[•\Ž¦�§Œä
+        /// </summary>
+        /// <param name="bDisp"></param>
+        private void DisplayControlProgressBar(bool bDisp)
+        {
+            try
+            {
+                ProgressBar.Visible = bDisp;
+                ProgressBar.Minimum = 0;
+                ProgressBar.Value = 0;
+
+                btnEnd.Visible = !bDisp;
+
+                numUDConstPro.Enabled = !bDisp;
+                cmbDepartment.Enabled = !bDisp;
+
+                this.Update();
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ˆê——ƒf�[ƒ^•\Ž¦‚r‚p‚k�ì�¬
+        /// <summary>
+        /// ˆê——ƒf�[ƒ^•\Ž¦‚r‚p‚k�ì�¬
+        /// </summary>
+        /// <param name="strSQL"></param>
+        private void CreateDispDataSQLType1(ref StringBuilder strSQL)
+        {
+            try
+            {
+                int nTargetCount = (int)numUDConstPro.Value;
+                // �¡Šú‚Ìƒf�[ƒ^‚©‚Ç‚¤‚©‚ð”»’è‚·‚é
+                bool bNowSeason = CommonMotions.CheckNowSeason(nTargetCount);
+
+                // ŠúŽñ�EŠú––Žæ“¾
+                //DateTime dtStart = CommonMotions.GetOpeningEndDate(nTargetCount);
+                //DateTime dtComp = CommonMotions.GetOpeningEndDate(nTargetCount, false);
+                if (bNowSeason)
+                {
+                    // �¡Šú‚Ìƒvƒ‰ƒCƒ}ƒŠƒe�[ƒuƒ‹‚Í•”��ƒ}ƒXƒ^
+                    strSQL.Append("Select");
+                    strSQL.Append(" B.DepartmentCode");
+                    strSQL.Append(", B.DepartmentString");
+                    strSQL.Append(", ifnull(C.DataCount, 0)");
+                    strSQL.Append(", ifnull(C.EntryPrice, 0)");
+                    strSQL.Append(", ifnull(C.EntryTax, 0)");
+                    strSQL.Append(" From departmentmaster As B");
+                    strSQL.Append(" Left Join(Select");
+                    strSQL.Append("           A.DepartmentCode");
+                    strSQL.Append("         , count(*) As DataCount");
+                    strSQL.Append("         , SUM((A.EntryPrice * A.SendReceiveFlg)) As EntryPrice");
+                    strSQL.Append("         , SUM((A.EntryTax * A.SendReceiveFlg)) As EntryTax");
+                    strSQL.Append("         From costdataofdepartment As A");
+                    strSQL.Append("         Where");
+                    strSQL.AppendFormat("       A.ConstrYear = {0}", nTargetCount);
+                    //strSQL.AppendFormat("     DATE ('{0}') <= DATE(A.CostDate)", dtStart.ToShortDateString());
+                    //strSQL.AppendFormat("     And DATE(A.CostDate) <= DATE('{0}')", dtComp.ToShortDateString());
+
+                    strSQL.Append("         Group By A.DepartmentCode) As C");
+                    strSQL.Append("     On C.DepartmentCode = B.DepartmentCode");
+                    strSQL.AppendFormat(" Where B.DELETEFLG = {0}", (int)CommonDefine.DataRowDeleteDef.Exists);
+                    strSQL.Append(" Order By B.DisplayOrder");
+                }
+                else
+                {   // ‰ß‹Ž‚Ìƒf�[ƒ^‚Í•”���o”[ƒf�[ƒ^‚æ‚èŽæ“¾‚·‚é
+                    strSQL.Append("Select");
+                    strSQL.Append(" A.DepartmentCode");
+                    strSQL.Append(", A.DepartmentName");
+                    strSQL.Append(", count(*) As DataCount");
+                    strSQL.Append(", SUM((A.EntryPrice * A.SendReceiveFlg)) As EntryPrice");
+                    strSQL.Append(", SUM((A.EntryTax * A.SendReceiveFlg)) As EntryTax");
+                    strSQL.Append(" From costdataofdepartment As A");
+                    strSQL.Append(" Inner Join departmentmaster As B");
+                    strSQL.Append("        On B.DepartmentCode = A.DepartmentCode");
+                    strSQL.Append(" Where");
+                    strSQL.AppendFormat("  A.ConstrYear = {0}", nTargetCount);
+                    //strSQL.AppendFormat(" DATE ('{0}') <= DATE(A.CostDate)", dtStart.ToShortDateString());
+                    //strSQL.AppendFormat(" And DATE(A.CostDate) <= DATE('{0}')", dtComp.ToShortDateString());
+                    strSQL.Append(" Group By A.DepartmentCode");
+                    strSQL.Append(" Order By B.DisplayOrder");
+                }
+            }
+            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 DataDisplayType1()
+        {
+            IOCostDataOfDepartment CostDepDB = new IOCostDataOfDepartment();
+            DataGridViewEX dgv = dgvList;
+            try
+            {
+                // ƒf�[ƒ^Žæ“¾‚r‚p‚k�ì�¬
+                StringBuilder strSQL = new StringBuilder();
+                CreateDispDataSQLType1(ref strSQL);
+
+                ArrayList ArList = new ArrayList();
+                if (!CostDepDB.ExecuteReader(strSQL.ToString(), ref ArList)) return;
+
+                dgv.Rows.Clear();
+                label6.Text = string.Empty;
+                label7.Text = string.Empty;
+
+                long lTotal1 = 0;
+                long lTotal2 = 0;
+                foreach (object[] objRec in ArList)
+                {
+                    int nRowCnt = dgv.Rows.Add(
+                                                CommonMotions.cnvInt(objRec[0]),
+                                                CommonMotions.cnvString(objRec[1]),
+                                                CommonMotions.cnvInt(objRec[2]),
+                                                CommonMotions.cnvInt(objRec[3]).ToString("#,0"),
+                                                CommonMotions.cnvInt(objRec[4]).ToString("#,0")
+                                    );
+                    lTotal1 += CommonMotions.cnvInt(objRec[3]);
+                    lTotal2 += CommonMotions.cnvInt(objRec[4]);
+                }
+                // �‡Œv•\Ž¦
+                label6.Text = lTotal1.ToString("#,0");
+                label7.Text = lTotal2.ToString("#,0");
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                CostDepDB.close(); CostDepDB = null;
+                int nDpsRow = 20 - dgv.RowCount;
+                if (nDpsRow > 0) dgv.RowCount += nDpsRow;
+            }
+        }
+        #endregion
+
+        #region �o”[•¶Žš
+        /// <summary>
+        /// �o”[•¶Žš
+        /// </summary>
+        private static string[] s_SRTypeMark = new string[] { "�£", "�œ" };
+        #endregion
+
+        #region –¾�×ƒf�[ƒ^•\Ž¦‚r‚p‚k�ì�¬
+        /// <summary>
+        /// –¾�×ƒf�[ƒ^•\Ž¦‚r‚p‚k�ì�¬
+        /// </summary>
+        /// <param name="strSQL"></param>
+        private void CreateDispDataSQLType2(ref StringBuilder strSQL)
+        {
+            try
+            {
+                int nTargetCount = (int)numUDConstPro.Value;
+                // ŠúŽñ�EŠú––Žæ“¾
+                //DateTime dtStart = CommonMotions.GetOpeningEndDate(nTargetCount);
+                //DateTime dtComp = CommonMotions.GetOpeningEndDate(nTargetCount, false);
+                // •”��ƒR�[ƒhŽæ“¾
+                int nDepCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
+
+                strSQL.Append("Select");
+                strSQL.Append(" A.DepartmentCode");     //  0
+                strSQL.Append(", DATE(A.CostDate)");    //  1
+                strSQL.Append(", A.SeqNo");             //  2
+                strSQL.Append(", A.CostDate");          //  3
+                strSQL.Append(", A.SuppliersCode");     //  4
+                strSQL.Append(", A.SuppliersName");     //  5
+                strSQL.Append(", A.PaymentContent");    //  6
+                strSQL.Append(", A.EntryPrice");        //  7
+                strSQL.Append(", A.EntryTax");          //  8
+                strSQL.Append(", A.Coment");            //  9
+                strSQL.Append(", A.SendReceiveFlg");    // 10
+                strSQL.Append(" From");
+                strSQL.Append(" costdataofdepartment As A");
+                strSQL.Append(" Where");
+                strSQL.AppendFormat("  A.ConstrYear = {0}", nTargetCount);
+                //strSQL.AppendFormat(" Where DATE('{0}') <= DATE(A.CostDate)", dtStart.ToShortDateString());
+                //strSQL.AppendFormat(" And DATE(A.CostDate) <= DATE('{0}')", dtComp.ToShortDateString());
+                strSQL.AppendFormat(" And A.DepartmentCode = {0}", nDepCode);
+
+                strSQL.Append(" Order By A.DepartmentCode, A.CostDate");
+            }
+            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 DataDisplayType2()
+        {
+
+            dgvMaster.CellValueChanged -= new DataGridViewCellEventHandler(dgvMaster_CellValueChanged);
+            IOCostDataOfDepartment CostDepDB = new IOCostDataOfDepartment();
+            DataGridViewEX dgv = dgvMaster;
+            try
+            {
+                // ƒf�[ƒ^Žæ“¾‚r‚p‚k�ì�¬
+                StringBuilder strSQL = new StringBuilder();
+                CreateDispDataSQLType2(ref strSQL);
+
+                ArrayList ArList = new ArrayList();
+                if (!CostDepDB.ExecuteReader(strSQL.ToString(), ref ArList)) return;
+
+                dgv.Rows.Clear();
+                label8.Text = string.Empty;
+                label9.Text = string.Empty;
+
+                long lTotal1 = 0;
+                long lTotal2 = 0;
+                string strName = string.Empty;
+                string[] strBtnVal = new string[2];
+                foreach (object[] objRec in ArList)
+                {
+                    int SRType = CommonMotions.cnvInt(objRec[10]);
+                    Array.Clear(strBtnVal, 0, 2);
+                    if (SRType < 0)
+                    {
+                        strBtnVal[0] = s_SRTypeMark[0];
+                    }
+                    else if (SRType > 0)
+                    {
+                        strBtnVal[1] = s_SRTypeMark[1];
+                    }
+
+                    int nRowCnt = dgv.Rows.Add(
+                                            (int)DataRowState.Unchanged,
+                                            CommonMotions.cnvDate(objRec[3]).ToShortDateString(),
+                                            CommonMotions.cnvInt(objRec[4]),
+                                            CommonMotions.cnvString(objRec[5]),
+                                            CommonMotions.cnvString(objRec[6]),
+                                            strBtnVal[0],
+                                            strBtnVal[1],
+                                            SRType,
+                                            s_SendReceiveName[SRType],
+                                            CommonMotions.cnvInt(objRec[7]).ToString("#,0"),
+                                            CommonMotions.cnvInt(objRec[8]).ToString("#,0"),
+                                            CommonMotions.cnvString(objRec[9]),
+                                            CommonMotions.cnvInt(objRec[0]),
+                                            CommonMotions.cnvDate(objRec[1]).ToShortDateString(),
+                                            CommonMotions.cnvInt(objRec[2])
+                                );
+
+                    int nValue = CommonMotions.cnvInt(objRec[7]) * SRType;
+                    int nValTax = CommonMotions.cnvInt(objRec[8]) * SRType;
+                    lTotal1 += nValue;
+                    lTotal2 += nValTax;
+
+                }
+                label8.Text = lTotal1.ToString("#,0");
+                label9.Text = lTotal2.ToString("#,0");
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                CostDepDB.close(); CostDepDB = null;
+                int nDpsRow = 40 - dgv.RowCount;
+                if (nDpsRow > 0) dgv.RowCount += nDpsRow;
+
+                dgvMaster.CellValueChanged += new DataGridViewCellEventHandler(dgvMaster_CellValueChanged);
+            }
+        }
+        #endregion
+
+        #region ƒf�[ƒ^•\Ž¦�ˆ—�
+        /// <summary>
+        /// ƒf�[ƒ^•\Ž¦�ˆ—�
+        /// </summary>
+        private void DataDisplay()
+        {
+            try
+            {
+                int nDepCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
+                if (nDepCode < 1)
+                {
+                    groupBox2.Visible = true;
+                    groupBox3.Visible = false;
+                    btnLineAdd.Visible = false;
+                    btnLineDel.Visible = false;
+                    // ˆê——ƒf�[ƒ^•\Ž¦�ˆ—�
+                    DataDisplayType1();
+                }
+                else
+                {
+                    groupBox2.Visible = false;
+                    groupBox3.Visible = true;
+                    btnLineAdd.Visible = true;
+                    btnLineDel.Visible = true;
+                    // –¾�×ƒf�[ƒ^•\Ž¦�ˆ—�
+                    DataDisplayType2();
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+            }
+        }
+        #endregion
+
+        #region ‚c‚aŽæ“¾�‡”Ô
+        /// <summary>
+        /// ‚c‚aŽæ“¾�‡”Ô
+        /// </summary>
+        private enum DBGetData
+        {
+        }
+        #endregion
+
+        #region ˆê——Žw’è�s‚ð‰ÁŽZ‚·‚é
+        /// <summary>
+        /// ˆê——Žw’è�s‚ð‰ÁŽZ‚·‚é
+        /// </summary>
+        /// <param name="sender"></param>
+        private void dgvList_CalcTarget(object sender)
+        {
+            try
+            {
+                DataGridViewEX dgv = (DataGridViewEX)sender;
+
+                lblCellTotal1.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++;
+                    int nValue = CommonMotions.cnvInt(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value);
+
+                    dTotal += nValue;
+                    if (CommonMotions.chkNumeric(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) NumericCnt++;
+                }
+                // ƒf�[ƒ^–³‚Í•\Ž¦‚µ‚È‚¢
+                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);
+                lblCellTotal1.Text = strwrkData;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region –¾�×Žw’è�s‚ð‰ÁŽZ‚·‚é
+        /// <summary>
+        /// –¾�×Žw’è�s‚ð‰ÁŽZ‚·‚é
+        /// </summary>
+        /// <param name="sender"></param>
+        private void dgvMaster_CalcTarget(object sender)
+        {
+            try
+            {
+                DataGridViewEX dgv = (DataGridViewEX)sender;
+
+                lblCellTotal2.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++;
+                    int nValue = CommonMotions.cnvInt(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value);
+                    int nCoefficient = CommonMotions.cnvInt(dgv.Rows[c.RowIndex].Cells[(int)DispColType2.SRType].Value);
+
+                    dTotal += (nValue * nCoefficient);
+                    if (CommonMotions.chkNumeric(dgv.Rows[c.RowIndex].Cells[c.ColumnIndex].Value)) NumericCnt++;
+                }
+                // ƒf�[ƒ^–³‚Í•\Ž¦‚µ‚È‚¢
+                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);
+                lblCellTotal2.Text = strwrkData;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region •”��ƒRƒ“ƒ{‚æ‚èƒR�[ƒh‚ðŽæ“¾‚·‚é
+        /// <summary>
+        /// •”��ƒRƒ“ƒ{‚æ‚èƒR�[ƒh‚ðŽæ“¾‚·‚é
+        /// </summary>
+        /// <returns></returns>
+        private int GetDepartmentCode()
+        {
+            try
+            {
+                return CommonMotions.cnvInt(cmbDepartment.SelectedValue);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}", ex.Message);
+                return 0;
+            }
+        }
+        #endregion
+
+        #region ’S“–ŽÒ–ˆ‚ÌŽw’èŠú‚Ì�HŽ–ŠJŽn“ú‚ðŽæ“¾‚·‚é
+        /// <summary>
+        /// ’S“–ŽÒ–ˆ‚ÌŽw’èŠú‚Ì�HŽ–ŠJŽn“ú‚ðŽæ“¾‚·‚é
+        /// </summary>
+        /// <returns></returns>
+        private DateTime GetConstructionDate(int PersonCode, bool bStart = true)
+        {
+            IOConstructionBaseInfo BaseDB = new IOConstructionBaseInfo();
+            try
+            {
+                // ‹ó‚Ì�ê�‡‚Íƒ�ƒOƒCƒ“ƒ†�[ƒU�[
+                if (PersonCode == 0) PersonCode = CommonMotions.LoginUserData.PersonCode;
+
+                // ŠJŽn“úŽæ“¾
+                StringBuilder strSQL = new StringBuilder();
+                strSQL.Append("SELECT A.CONSTRUCTIONPERSONCODE, MIN(B.CONSTRUCTIONSTART) FROM CONSTRUCTIONBASEINFO A, CONSTRUCTIONBUDGET B");
+                // �I—¹Žw’è‚Í�I—¹‚ÌMAX‚É•Ï�X
+                if (!bStart) strSQL.Replace("MIN(B.CONSTRUCTIONSTART)", "MAX(B.CONSTRUCTIONEND)");
+
+                strSQL.AppendFormat(" WHERE A.CONSTRUCTIONPERSONCODE = {0}", PersonCode);
+                strSQL.AppendFormat("  AND A.CONSTRUCTIONPERIOD = {0}", numUDConstPro.Value);
+                strSQL.Append(" AND A.CONSTRUCTIONCODE = B.CONSTRUCTIONCODE GROUP BY A.CONSTRUCTIONPERSONCODE");
+                ArrayList ArrayList = new ArrayList();
+                if (!BaseDB.ExecuteReader(strSQL.ToString(), ref ArrayList)) return DateTime.MinValue;
+                if (ArrayList.Count == 0) return DateTime.MinValue;
+
+                object[] objRec = (object[])ArrayList[0];
+
+                return CommonMotions.cnvDate(objRec[1]);
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return DateTime.MinValue;
+            }
+            finally
+            {
+                BaseDB.close(); BaseDB = null;
+            }
+        }
+        #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();
+            try
+            {
+                int nBeforeCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
+
+                int nTargetCount = (int)numUDConstPro.Value;
+                // •”��ƒ}ƒXƒ^‚ðŒŸ�õ‚·‚é
+                StringBuilder strSQL = new StringBuilder();
+                CommonMotions.CreateDepCombBoxSQL(ref strSQL, nTargetCount, true);
+
+                // •”��ƒ}ƒXƒ^“Ç�ž
+                ArrayList arList = new ArrayList();
+                if (!depDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
+
+                List<KeyValuePair<int, string>> ConstructionDataList = new List<KeyValuePair<int, string>>();
+                ConstructionDataList.Add(new KeyValuePair<int, string>(0, ""));
+
+                foreach (object[] work in arList)
+                {
+                    KeyValuePair<int, string> keyval = new KeyValuePair<int, string>(CommonMotions.cnvInt(work[0])
+                                                                                    , CommonMotions.cnvString(work[1]));
+
+                    ConstructionDataList.Add(keyval);
+                }
+
+                cmbDepartment.DataSource = null;
+                cmbDepartment.Items.Clear();
+                cmbDepartment.Text = "";
+
+                // ƒRƒ“ƒ{ƒ{ƒbƒNƒX�‰Šú•\Ž¦
+                ComboBoxAction.InitDataSetCombBox(cmbDepartment, ConstructionDataList);
+
+                cmbDepartment.SelectedValue = nBeforeCode;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                depDB.close(); depDB = null;
+            }
+        }
+        #endregion
+
+        #region •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒXƒf�[ƒ^Žæ“¾‚r‚p‚k�ì�¬
+        /// <summary>
+        /// •”��ƒRƒ“ƒ{ƒ{ƒbƒNƒXƒf�[ƒ^Žæ“¾‚r‚p‚k�ì�¬
+        /// </summary>
+        /// <param name="strSQL"></param>
+        public static void CreateDepCombBoxSQL(ref StringBuilder strSQL, int nTargetCount, bool bInput = false)
+        {
+            try
+            {
+                // �¡Šú‚Ìƒf�[ƒ^‚©‚Ç‚¤‚©‚ð”»’è‚·‚é
+                bool bNowSeason = CommonMotions.CheckNowSeason(nTargetCount);
+
+                strSQL.Append("SELECT");
+                strSQL.Append(" A.DEPARTMENTCODE");
+                strSQL.Append(", A.DEPARTMENTSTRING");
+                strSQL.Append(", A.DISPLAYORDER");
+                strSQL.Append(", COUNT(*)");
+                strSQL.Append(" FROM");
+                if (bNowSeason)
+                {
+                    // �¡Šú‚Ìƒvƒ‰ƒCƒ}ƒŠƒe�[ƒuƒ‹‚Í•”��ƒ}ƒXƒ^
+                    strSQL.Append(" DEPARTMENTMASTER A");
+                }
+                else
+                {   // ‰ß‹Ž‚Ìƒf�[ƒ^‚Í�HŽ–�î•ñ‚æ‚èŽæ“¾‚·‚é
+                    strSQL.Append(" (");
+                    strSQL.Append("Select");
+                    strSQL.Append(" A1.SalesDepCode As DEPARTMENTCODE");
+                    strSQL.Append(", B1.DetailString As DEPARTMENTSTRING");
+                    strSQL.Append(", ifnull(C1.DisplayOrder, 10) As DISPLAYORDER");
+                    strSQL.Append(" From Constructionbaseinfo As A1");
+                    strSQL.Append("  Inner Join constructionbaseinfodetail As B1");
+                    strSQL.Append("        On B1.ConstructionCode = A1.ConstructionCode");
+                    strSQL.AppendFormat("  And B1.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.SalesDepartmentName);
+                    strSQL.Append("  Left Join departmentmaster As C1");
+                    strSQL.Append("       On C1.DepartmentCode = A1.SalesDepCode");
+                    strSQL.AppendFormat(" Where A1.ConstructionPeriod = {0}", nTargetCount);
+                    strSQL.Append("       And A1.SalesDepCode != 0");
+
+                    strSQL.Append(" Union Select");
+                    strSQL.Append(" A2.ConstrDepCode As DEPARTMENTCODE");
+                    strSQL.Append(", B2.DetailString As DEPARTMENTSTRING");
+                    strSQL.Append(", ifnull(C2.DisplayOrder, 10) As DISPLAYORDER");
+                    strSQL.Append(" From Constructionbaseinfo As A2");
+                    strSQL.Append(" Inner Join constructionbaseinfodetail As B2");
+                    strSQL.Append("       On B2.ConstructionCode = A2.ConstructionCode");
+                    strSQL.AppendFormat(" And B2.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.ConstrDepartmentName);
+                    strSQL.Append(" Left Join departmentmaster As C2");
+                    strSQL.Append("      On C2.DepartmentCode = A2.ConstrDepCode");
+                    strSQL.AppendFormat(" Where A2.ConstructionPeriod = {0}", nTargetCount);
+                    strSQL.Append("       And A2.ConstrDepCode != 0");
+
+                    strSQL.Append(" Union Select");
+                    strSQL.Append(" A3.ConstrSubDepCode As DEPARTMENTCODE");
+                    strSQL.Append(", B3.DetailString As DEPARTMENTSTRING");
+                    strSQL.Append(", ifnull(C3.DisplayOrder, 10) As DISPLAYORDER");
+                    strSQL.Append(" From Constructionbaseinfo As A3");
+                    strSQL.Append(" Inner Join constructionbaseinfodetail As B3");
+                    strSQL.Append("       On B3.ConstructionCode = A3.ConstructionCode");
+                    strSQL.AppendFormat(" And B3.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.ConstrSubDepartmentName);
+                    strSQL.Append(" Left Join departmentmaster As C3");
+                    strSQL.Append("      On C3.DepartmentCode = A3.ConstrSubDepCode");
+                    strSQL.AppendFormat(" Where A3.ConstructionPeriod = {0}", nTargetCount);
+                    strSQL.Append("       And A3.ConstrSubDepCode != 0");
+
+                    strSQL.Append(" Union Select");
+                    strSQL.Append(" A4.ConstrInstrDepCode As DEPARTMENTCODE");
+                    strSQL.Append(", B4.DetailString As DEPARTMENTSTRING");
+                    strSQL.Append(", ifnull(C4.DisplayOrder, 10) As DISPLAYORDER");
+                    strSQL.Append(" From Constructionbaseinfo As A4");
+                    strSQL.Append(" Inner Join constructionbaseinfodetail As B4");
+                    strSQL.Append("       On B4.ConstructionCode = A4.ConstructionCode");
+                    strSQL.AppendFormat(" And B4.DetailNo = {0}", (int)ConstructionBaseInfoDetail.DataNoDef.InstrDepartmentName);
+                    strSQL.Append(" Left Join departmentmaster As C4");
+                    strSQL.Append("      On C4.DepartmentCode = A4.ConstrInstrDepCode");
+                    strSQL.AppendFormat(" Where A4.ConstructionPeriod = {0}", nTargetCount);
+                    strSQL.Append("       And A4.ConstrInstrDepCode != 0");
+                    strSQL.Append(") As A");
+                }
+
+                if (bNowSeason)
+                {   // ‘Î�Û‚ª�¡Šú‚Ì�ê�‡
+                    if (!bInput) strSQL.Append(", CONSTRUCTIONBASEINFO C");
+                    strSQL.Append(" WHERE");
+
+                    // �í�œ‚³‚ê‚Ä‚¢‚È‚¢‚à‚Ì
+                    strSQL.AppendFormat(" A.DELETEFLG = {0}", (int)CommonDefine.DataRowDeleteDef.Exists);
+                    DateTime dtDefaultEnd = CommonMotions.GetOpeningEndDate(nTargetCount, false);
+
+                    strSQL.AppendFormat(" And DATE(A.StartDate) <= DATE('{0}')", dtDefaultEnd.ToShortDateString());
+                    if (!bInput) strSQL.Append(" And C.ConstrDepCode = A.DepartmentCode");
+
+                    // ƒVƒXƒeƒ€ŠÇ—�ŽÒˆÈŠO‚Í•”��ŽQ�Æƒ}ƒXƒ^‚æ‚èƒf�[ƒ^Žæ“¾
+                    if (CommonMotions.LoginUserData.PersonCode != CommonDefine.AdminCode)
+                    {
+                        // ŽQ�Æ•”��ƒ}ƒXƒ^‚æ‚èŽæ“¾‚·‚é
+                        strSQL.Append(" And A.DEPARTMENTCODE");
+                        strSQL.Append(" IN (SELECT A1.DEPARTMENTCODE FROM PERSONDEPARTMENTMASTER A1");
+                        strSQL.AppendFormat(" WHERE A1.PERSONCODE = {0})", CommonMotions.LoginUserData.PersonCode);
+                    }
+                }
+                else
+                {   // ‘Î�Û‚ª‰ß‹Ž‚Ì�ê�‡
+                    strSQL.Append(", CONSTRUCTIONBASEINFO C");
+                    strSQL.Append(" WHERE");
+
+                    strSQL.AppendFormat(" (C.ConstructionPeriod = {0}", nTargetCount);
+                    strSQL.Append(" And A.DepartmentCode IN(C.SalesDepCode, C.ConstrDepCode, C.ConstrSubDepCode, C.ConstrInstrDepCode))");
+                }
+                strSQL.Append(" GROUP BY A.DEPARTMENTCODE, A.DEPARTMENTSTRING, A.DISPLAYORDER");
+                strSQL.Append(" ORDER BY A.DISPLAYORDER ASC");
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #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.GetPeriodYearMinMax(ref minval, ref maxval);
+
+                numUDConstPro.Minimum = minval;
+                numUDConstPro.Maximum = maxval;
+                numUDConstPro.Value = CommonMotions.GetPeriodYear();
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region –¾�×ƒOƒŠƒbƒh“ü—Í‘O�ˆ—�
+        /// <summary>
+        /// –¾�×ƒOƒŠƒbƒh“ü—Í‘O�ˆ—�
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvMaster_EntryCell(object sender, DataGridViewCellEventArgs e)
+        {
+            try
+            {
+                // ƒf�[ƒ^ƒOƒŠƒbƒh‚ªActive‚Å‚È‚¯‚ê‚Î�ˆ—�‚µ‚È‚¢
+                if (!groupBox3.Visible) return;
+
+                DataGridViewEX dgv = (DataGridViewEX)sender;
+                // “Ç�ž�ê—pƒZƒ‹‚Í�ˆ—�‚µ‚È‚¢
+                if (!dgv[e.ColumnIndex, e.RowIndex].GetType().Equals(typeof(DataGridViewTextBoxCell))) return;
+                if (dgv[e.ColumnIndex, e.RowIndex].ReadOnly) return;
+
+                //IME‚Ìƒ‚�[ƒh‚ð•Ï�X‚·‚é
+                switch (e.ColumnIndex)
+                {
+                    //  2:Žx•¥�æ–¼
+                    case (int)DispColType2.SuppliersName:
+                    //  3:Žx•¥“à—e
+                    case (int)DispColType2.PaymentContent:
+                    // 10:”õ�l
+                    case (int)DispColType2.Coment:
+                        dgv.ImeMode = ImeMode.On;
+                        break;
+
+                    //  1:•\Ž¦�o”[“ú
+                    case (int)DispColType2.DspCostDate:
+                    //  8:‹àŠz�i�Å”²�j
+                    case (int)DispColType2.EntryPrice:
+                    //  9:‹àŠz�i�Å�ž�j
+                    case (int)DispColType2.EntryTax:
+                        dgv.ImeMode = ImeMode.Disable;
+                        break;
+
+                    default:
+                        dgv.ImeMode = ImeMode.Disable;
+                        break;
+                }
+                // ƒZƒ‹“à—e‘I‘ð
+                dgv.BeginEdit(true);
+
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region “o˜^ƒ{ƒ^ƒ“‰Ÿ‰ºŒã‚Ì“o˜^�ˆ—�
+        /// <summary>
+        /// “o˜^ƒ{ƒ^ƒ“‰Ÿ‰ºŒã‚Ì“o˜^�ˆ—�
+        /// </summary>
+        /// <returns></returns>
+        private bool DataEntryProcess(bool Display = true)
+        {
+            IOCostDataOfDepartment Cdd = new IOCostDataOfDepartment();
+            try
+            {
+                //ƒf�[ƒ^ƒ`ƒFƒbƒN
+                if (!DispFeildCheck()) return false;
+
+                if (Display)
+                {
+                    if (MessageBox.Show("•”��•Ê�o”[’ ƒf�[ƒ^‚ð�X�V‚µ‚Ü‚·�A‚æ‚ë‚µ‚¢‚Å‚·‚©�H", "“o˜^Šm”F"
+                                        , MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes) return false;
+                }
+
+                Cdd.connect(); Cdd.beginTran();
+
+                // ƒf�[ƒ^“o˜^
+                if (!EntCostDataOfDepartment(Cdd))
+                {
+                    Cdd.rollback();
+                    MessageBox.Show("•”��•Ê�o”[’ ƒf�[ƒ^“o˜^ƒGƒ‰�[‚Å‚·�B"
+                                        , "“ü—ÍƒGƒ‰�["
+                                        , MessageBoxButtons.OK
+                                        , MessageBoxIcon.Error);
+                    return false;
+                }
+
+                Cdd.commit();
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                Cdd.close(); Cdd = null;
+            }
+        }
+        #endregion
+
+        #region Žw’è�s‚Íƒuƒ‰ƒ“ƒN‚©‚ðƒ`ƒFƒbƒN‚·‚é
+        /// <summary>
+        /// Žw’è�s‚Íƒuƒ‰ƒ“ƒN‚©‚ðƒ`ƒFƒbƒN‚·‚é
+        /// </summary>
+        /// <param name="CurRow"></param>
+        /// <returns></returns>
+        private bool RowBlankCheck(DataGridViewRow CurRow)
+        {
+            try
+            {
+                DateTime dtDate1 = CommonMotions.cnvDate(CurRow.Cells[(int)DispColType2.DspCostDate].Value);
+                int nSeqNo = CommonMotions.cnvInt(CurRow.Cells[(int)DispColType2.RecSeqNo].Value);
+                string strSuppliersName = CommonMotions.cnvString(CurRow.Cells[(int)DispColType2.SuppliersName].Value);
+                string strPaymentContent = CommonMotions.cnvString(CurRow.Cells[(int)DispColType2.PaymentContent].Value);
+                int nSRType = CommonMotions.cnvInt(CurRow.Cells[(int)DispColType2.SRType].Value);
+                int nEntryPrice = CommonMotions.cnvInt(CurRow.Cells[(int)DispColType2.EntryPrice].Value);
+                int nEntryTax = CommonMotions.cnvInt(CurRow.Cells[(int)DispColType2.EntryTax].Value);
+                string strComent = CommonMotions.cnvString(CurRow.Cells[(int)DispColType2.Coment].Value);
+
+                // ‹ó”’�s‚Í‘Î�ÛŠO
+                if (dtDate1.Date == DateTime.MinValue.Date
+                    && strSuppliersName.Length == 0 && strPaymentContent.Length == 0
+                    && nSRType == 0 && nEntryPrice == 0 && nEntryTax == 0
+                    && strComent.Length == 0) return true;
+
+                return false;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region •”��•Ê�o”[’ ƒf�[ƒ^“o˜^�ˆ—�
+        /// <summary>
+        /// •”��•Ê�o”[’ ƒf�[ƒ^“o˜^�ˆ—�
+        /// </summary>
+        /// <returns></returns>
+        private bool EntCostDataOfDepartment(IOCostDataOfDepartment Cdd)
+        {
+            try
+            {
+                StringBuilder strSQL = new StringBuilder();
+
+                int nDepCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
+                int nConstrYear = (int)numUDConstPro.Value;
+                string strDepName = CommonMotions.cnvString(cmbDepartment.Text);
+
+                DataGridViewEX dgv = dgvMaster;
+                List<CostDataOfDepartment> EntList = new List<CostDataOfDepartment>();
+                foreach (DataGridViewRow CurRow in dgv.Rows)
+                {
+                    // ‹ó”’�s‚Í‘Î�ÛŠO
+                    if (RowBlankCheck(CurRow)) continue;
+
+                    DateTime dtDate1 = CommonMotions.cnvDate(CurRow.Cells[(int)DispColType2.DspCostDate].Value);
+                    int nSeqNo = CommonMotions.cnvInt(CurRow.Cells[(int)DispColType2.RecSeqNo].Value);
+                    int strSuppliersCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispColType2.SuppliersCode].Value);
+                    string strSuppliersName = CommonMotions.cnvString(CurRow.Cells[(int)DispColType2.SuppliersName].Value);
+                    string strPaymentContent = CommonMotions.cnvString(CurRow.Cells[(int)DispColType2.PaymentContent].Value);
+                    int nSRType = CommonMotions.cnvInt(CurRow.Cells[(int)DispColType2.SRType].Value);
+                    int nEntryPrice = CommonMotions.cnvInt(CurRow.Cells[(int)DispColType2.EntryPrice].Value);
+                    int nEntryTax = CommonMotions.cnvInt(CurRow.Cells[(int)DispColType2.EntryTax].Value);
+                    string strComent = CommonMotions.cnvString(CurRow.Cells[(int)DispColType2.Coment].Value);
+
+                    CostDataOfDepartment EntRec = new CostDataOfDepartment();
+                    EntRec.DepartmentCode = nDepCode;           // •”��ƒR�[ƒh
+                    EntRec.ConstrYear = nConstrYear;            // �HŽ–Šú�”�E”N�”
+                    EntRec.CostDate = dtDate1;                  // ‘Î�Û“ú•t
+                    EntRec.SeqNo = nSeqNo;                      // ƒf�[ƒ^”Ô�†
+                    EntRec.DepartmentName = strDepName;         // •”��–¼
+                    EntRec.SuppliersCode = strSuppliersCode;    // Žx•¥�æƒR�[ƒh
+                    EntRec.SuppliersName = strSuppliersName;    // Žx•¥�æ–¼�Ì
+                    EntRec.PaymentContent = strPaymentContent;  // Žx•¥“à—e
+                    EntRec.SendReceiveFlg = nSRType;            // �o”[ƒtƒ‰ƒO
+                    EntRec.EntryPrice = nEntryPrice;            // ‹àŠz�i�Å”²�j
+                    EntRec.EntryTax = nEntryTax;                // ‹àŠz�i�Å�ž�j
+                    EntRec.Coment = strComent;                  // ”õ�l
+
+                    // ˜A”Ô‚ª–³‚¢�ê�‡‚ÍƒZƒbƒg‚·‚é
+                    if (EntRec.SeqNo < 1)
+                    {
+                        strSQL.Clear();
+                        strSQL.Append(Cdd.CreatePrimarykeyString(EntRec.DepartmentCode, EntRec.ConstrYear));
+                        EntRec.SeqNo = Cdd.SelectMaxAddDataCount(strSQL.ToString(), false) + 1;
+                    }
+
+                    // �s‚Ì�ó‘ÔŽæ“¾
+                    if (CurRow.Cells[(int)DispColType2.RowStatus].Value.ToString().Length < 1) continue;
+
+                    int nCurRowStat = CommonMotions.cnvInt(CurRow.Cells[(int)DispColType2.RowStatus].Value);
+
+                    if ((int)DataRowState.Unchanged == nCurRowStat) continue;
+                    if ((int)DataRowState.Added == nCurRowStat)
+                    {
+                        // ’Ç‰Á“o˜^
+                        if (!Cdd.InsertAction(EntRec, false)) return false;
+                    }
+                    else if ((int)DataRowState.Deleted == nCurRowStat)
+                    {
+                        // �í�œ“o˜^
+                        strSQL.Clear();
+                        strSQL.Append(Cdd.CreatePrimarykeyString(EntRec.DepartmentCode, EntRec.ConstrYear, EntRec.SeqNo));
+                        if (!Cdd.DeleteAction(strSQL.ToString(), false)) return false;
+                    }
+                    else if ((int)DataRowState.Modified == nCurRowStat)
+                    {
+                        // �X�V“o˜^
+                        strSQL.Clear();
+                        strSQL.Append(Cdd.CreatePrimarykeyString(EntRec.DepartmentCode, EntRec.ConstrYear, EntRec.SeqNo));
+                        if (!Cdd.UpdateAction(strSQL.ToString(), EntRec, false)) return false;
+                    }
+                }
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region ƒf�[ƒ^ƒ`ƒFƒbƒN
+        /// <summary>
+        /// ƒf�[ƒ^ƒ`ƒFƒbƒN
+        /// </summary>
+        /// <returns></returns>
+        private bool DispFeildCheck()
+        {
+            DataGridViewEX dgv = dgvMaster;
+            try
+            {
+                foreach (DataGridViewRow CurRow in dgv.Rows)
+                {
+                    // �sƒtƒB�[ƒ‹ƒhƒ`ƒFƒbƒN
+                    if (!CheckRowField(CurRow)) return false;
+                }
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+            finally
+            {
+                dgv.CurrentCell = null;
+            }
+        }
+        #endregion
+
+        #region �sƒtƒB�[ƒ‹ƒhƒ`ƒFƒbƒN
+        /// <summary>
+        /// �sƒtƒB�[ƒ‹ƒhƒ`ƒFƒbƒN
+        /// </summary>
+        /// <returns></returns>
+        private bool CheckRowField(DataGridViewRow CurRow)
+        {
+            try
+            {
+                // ƒtƒB�[ƒ‹ƒh�FƒNƒŠƒA
+                for (int i = 0; i < CurRow.Cells.Count; i++)
+                {
+                    CommonMotions.chgBackColor(CurRow.Cells[i], true);
+                }
+
+                // ‹ó”’�s‚Í‘Î�ÛŠO
+                if (RowBlankCheck(CurRow)) return true;
+
+                DateTime dtDate1 = CommonMotions.cnvDate(CurRow.Cells[(int)DispColType2.DspCostDate].Value);
+                string strSuppliersName = CommonMotions.cnvString(CurRow.Cells[(int)DispColType2.SuppliersName].Value);
+                string strPaymentContent = CommonMotions.cnvString(CurRow.Cells[(int)DispColType2.PaymentContent].Value);
+                int nSRType = CommonMotions.cnvInt(CurRow.Cells[(int)DispColType2.SRType].Value);
+                int nEntryPrice = CommonMotions.cnvInt(CurRow.Cells[(int)DispColType2.EntryPrice].Value);
+                int nEntryTax = CommonMotions.cnvInt(CurRow.Cells[(int)DispColType2.EntryTax].Value);
+                string strComent = CommonMotions.cnvString(CurRow.Cells[(int)DispColType2.Coment].Value);
+
+                string strErrMsg = string.Empty;
+                // 0:•\Ž¦�o”[“ú
+                if (!Check01(dtDate1, CurRow, ref strErrMsg))
+                {
+                    CommonMotions.chgBackColor(CurRow.Cells[(int)DispColType2.DspCostDate], false);
+                    MessageBox.Show(strErrMsg, "“ü—ÍƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
+                    return false;
+                }
+
+                // 1:Žx•¥�æ–¼
+                if (!Check02(strSuppliersName, CurRow, ref strErrMsg))
+                {
+                    CommonMotions.chgBackColor(CurRow.Cells[(int)DispColType2.SuppliersName], false);
+                    MessageBox.Show(strErrMsg, "“ü—ÍƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
+                    return false;
+                }
+
+                // 2:Žx•¥“à—e
+                if (!Check03(strPaymentContent, CurRow, ref strErrMsg))
+                {
+                    CommonMotions.chgBackColor(CurRow.Cells[(int)DispColType2.PaymentContent], false);
+                    MessageBox.Show(strErrMsg, "“ü—ÍƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
+                    return false;
+                }
+
+                // 5:�o”[‹æ•ªƒtƒ‰ƒO
+                if (!Check04(nSRType, CurRow, ref strErrMsg))
+                {
+                    CommonMotions.chgBackColor(CurRow.Cells[(int)DispColType2.SRType], false);
+                    MessageBox.Show(strErrMsg, "“ü—ÍƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
+                    return false;
+                }
+
+                // 7:‹àŠz�i�Å”²�j
+                if (!Check05(nEntryPrice, CurRow, ref strErrMsg))
+                {
+                    CommonMotions.chgBackColor(CurRow.Cells[(int)DispColType2.EntryPrice], false);
+                    MessageBox.Show(strErrMsg, "“ü—ÍƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
+                    return false;
+                }
+
+                // 8:‹àŠz�i�Å�ž�j
+                if (!Check06(nEntryTax, CurRow, ref strErrMsg))
+                {
+                    CommonMotions.chgBackColor(CurRow.Cells[(int)DispColType2.EntryTax], false);
+                    MessageBox.Show(strErrMsg, "“ü—ÍƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
+                    return false;
+                }
+
+                // 9:”õ�l
+                if (!Check07(strComent, CurRow, ref strErrMsg))
+                {
+                    CommonMotions.chgBackColor(CurRow.Cells[(int)DispColType2.Coment], false);
+                    MessageBox.Show(strErrMsg, "“ü—ÍƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
+                    return false;
+                }
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region �o”[“úƒ`ƒFƒbƒN
+        /// <summary>
+        /// �o”[“úƒ`ƒFƒbƒN
+        /// </summary>
+        /// <returns></returns>
+        private bool Check01(DateTime dtDate1, DataGridViewRow CurRow, ref string ErrorMsg)
+        {
+            try
+            {
+                // 0:•\Ž¦�o”[“ú
+                // ”wŒi�F•Ï�X
+                if (dtDate1.Date == DateTime.MinValue.Date)
+                {
+                    ErrorMsg = "�³‚µ‚¢�o”[“ú‚ª“ü—Í‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ�B";
+                    return false;
+                }
+                else
+                {
+                    // ŠúŽñ�EŠú––Žæ“¾
+                    DateTime dtStart = CommonMotions.GetOpeningEndDate((int)numUDConstPro.Value);
+                    DateTime dtComp = CommonMotions.GetOpeningEndDate((int)numUDConstPro.Value, false);
+                    if (dtDate1.Date < dtStart || dtComp < dtDate1.Date)
+                    {
+                        ErrorMsg = "�o”[“ú‚ªŽw’è‚³‚ê‚Ä‚¢‚éŠúŠÔ“à‚Å‚Í‚ ‚è‚Ü‚¹‚ñ�B";
+                        return false;
+                    }
+                }
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region Žx•¥�æ–¼ƒ`ƒFƒbƒN
+        /// <summary>
+        /// Žx•¥�æ–¼ƒ`ƒFƒbƒN
+        /// </summary>
+        /// <returns></returns>
+        private bool Check02(string strSuppliersName, DataGridViewRow CurRow, ref string ErrorMsg)
+        {
+            try
+            {
+                // 1:Žx•¥�æ–¼
+                if (strSuppliersName.Length == 0)
+                {
+                    ErrorMsg = "Žx•¥�æ–¼‚ª“ü—Í‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ�B";
+                    return false;
+                }
+                else if (strSuppliersName.Length > 120)
+                {
+                    ErrorMsg = "Žx•¥�æ–¼‚ª’·‚·‚¬‚Å‚·�B";
+                    return false;
+                }
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region Žx•¥“à—eƒ`ƒFƒbƒN
+        /// <summary>
+        /// Žx•¥“à—eƒ`ƒFƒbƒN
+        /// </summary>
+        /// <returns></returns>
+        private bool Check03(string strPaymentContent, DataGridViewRow CurRow, ref string ErrorMsg)
+        {
+            try
+            {
+                // 2:Žx•¥“à—e
+                if (strPaymentContent.Length == 0)
+                {
+                    ErrorMsg = "Žx•¥“à—e‚ª“ü—Í‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ�B";
+                    return false;
+                }
+                else if (strPaymentContent.Length > 100)
+                {
+                    CommonMotions.chgBackColor(CurRow.Cells[(int)DispColType2.PaymentContent], false);
+                    ErrorMsg = "Žx•¥“à—e‚ª’·‚·‚¬‚Å‚·�B";
+                    return false;
+                }
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region �o”[‹æ•ªƒtƒ‰ƒOƒ`ƒFƒbƒN
+        /// <summary>
+        /// �o”[‹æ•ªƒtƒ‰ƒOƒ`ƒFƒbƒN
+        /// </summary>
+        /// <returns></returns>
+        private bool Check04(int nSRType, DataGridViewRow CurRow, ref string ErrorMsg)
+        {
+            try
+            {
+                // 5:�o”[‹æ•ªƒtƒ‰ƒO
+                if (nSRType == 0)
+                {
+                    ErrorMsg = "�o”[‹æ•ª‚ª“ü—Í‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ�B";
+                    return false;
+                }
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region ‹àŠz�i�Å”²�jƒ`ƒFƒbƒN
+        /// <summary>
+        /// ‹àŠz�i�Å”²�jƒ`ƒFƒbƒN
+        /// </summary>
+        /// <returns></returns>
+        private bool Check05(int nEntryPrice, DataGridViewRow CurRow, ref string ErrorMsg)
+        {
+            try
+            {
+                // 7:‹àŠz�i�Å”²�j
+                if (nEntryPrice == 0)
+                {
+                    ErrorMsg = "�Å”²‹àŠz‚ª“ü—Í‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ�B";
+                    return false;
+                }
+                else if (nEntryPrice > int.MaxValue)
+                {
+                    ErrorMsg = "�Å”²‹àŠz‚ª‘å‚«‚·‚¬‚Ü‚·�B";
+                    return false;
+                }
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region ‹àŠz�i�Å�ž�jƒ`ƒFƒbƒN
+        /// <summary>
+        /// ‹àŠz�i�Å�ž�jƒ`ƒFƒbƒN
+        /// </summary>
+        /// <returns></returns>
+        private bool Check06(int nEntryTax, DataGridViewRow CurRow, ref string ErrorMsg)
+        {
+            try
+            {
+                // 8:‹àŠz�i�Å�ž�j
+                if (nEntryTax == 0)
+                {
+                    ErrorMsg = "�Å�ž‹àŠz‚ª“ü—Í‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ�B";
+                    return false;
+                }
+                else if (nEntryTax > int.MaxValue)
+                {
+                    ErrorMsg = "�Å�ž‹àŠz‚ª‘å‚«‚·‚¬‚Ü‚·�B";
+                    return false;
+                }
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region ”õ�lƒ`ƒFƒbƒN
+        /// <summary>
+        /// ”õ�lƒ`ƒFƒbƒN
+        /// </summary>
+        /// <returns></returns>
+        private bool Check07(string strComent, DataGridViewRow CurRow, ref string ErrorMsg)
+        {
+            try
+            {
+                // 9:”õ�l
+                CommonMotions.chgBackColor(CurRow.Cells[(int)DispColType2.Coment], true);
+                if (strComent.Length > 100)
+                {
+                    ErrorMsg = "”õ�l‚ª’·‚·‚¬‚Å‚·�B";
+                    return false;
+                }
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region ƒOƒŠƒbƒhƒ{ƒ^ƒ“ƒNƒŠƒbƒN�ˆ—�
+        /// <summary>
+        /// ƒOƒŠƒbƒhƒ{ƒ^ƒ“ƒNƒŠƒbƒN�ˆ—�
+        /// </summary>
+        private void GridButtonClick(object sender, DataGridViewCellEventArgs e)
+        {
+            try
+            {
+                DataGridViewEX dgv = (DataGridViewEX)sender;
+                DataGridViewRow dgvRow = dgv.CurrentRow;
+
+                // ƒOƒŠƒbƒh‚ªREADONLY‚Í�ˆ—�‚µ‚È‚¢
+                if (dgv.ReadOnly) return;
+
+                string strCount = string.Empty;
+                int nPaymentTypeCnt = (int)DispColType2.SRType;
+                string strPaymentTypeNameCnt = string.Empty;
+                string[] strBtnVal = new string[2];
+                switch (e.ColumnIndex)
+                {
+                    case (int)DispColType2.SRButton1:
+                        // Žx•¥ƒ{ƒ^ƒ“
+                        nPaymentTypeCnt = (int)CostDataOfDepartment.SendReceiveFlgDef.Payment;
+                        strPaymentTypeNameCnt = s_SendReceiveName[(int)CostDataOfDepartment.SendReceiveFlgDef.Payment];
+                        strBtnVal[0] = s_SRTypeMark[0];
+                        break;
+                    case (int)DispColType2.SRButton2:
+                        // Œ»‹à
+                        nPaymentTypeCnt = (int)CostDataOfDepartment.SendReceiveFlgDef.Revenue;
+                        strPaymentTypeNameCnt = s_SendReceiveName[(int)CostDataOfDepartment.SendReceiveFlgDef.Revenue];
+                        strBtnVal[1] = s_SRTypeMark[1];
+
+                        break;
+                    default:
+                        break;
+                }
+                dgvRow.Cells[(int)DispColType2.SRType].Value = nPaymentTypeCnt;
+                dgvRow.Cells[(int)DispColType2.SRNamne].Value = strPaymentTypeNameCnt;
+                dgvRow.Cells[(int)DispColType2.SRButton1].Value = strBtnVal[0];
+                dgvRow.Cells[(int)DispColType2.SRButton2].Value = strBtnVal[1];
+
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region –¾�×ƒOƒŠƒbƒh�‡Œv�ˆ—�
+        /// <summary>
+        /// –¾�×ƒOƒŠƒbƒh�‡Œv�ˆ—�
+        /// </summary>
+        /// <returns></returns>
+        private bool CalcDetialTotal()
+        {
+            try
+            {
+                DataGridViewEX dgv = dgvMaster;
+                long lTotal1 = 0;
+                long lTotal2 = 0;
+                foreach (DataGridViewRow CurRow in dgv.Rows)
+                {
+                    // ‹ó”’�s‚Í‘Î�ÛŠO
+                    if (RowBlankCheck(CurRow)) continue;
+                    // ”ñ•\Ž¦�s‚Í‘Î�ÛŠO
+                    if (!CurRow.Visible) continue;
+
+                    int nSRType = CommonMotions.cnvInt(CurRow.Cells[(int)DispColType2.SRType].Value);
+                    int nEntryPrice = CommonMotions.cnvInt(CurRow.Cells[(int)DispColType2.EntryPrice].Value);
+                    int nEntryTax = CommonMotions.cnvInt(CurRow.Cells[(int)DispColType2.EntryTax].Value);
+
+                    lTotal1 += (nEntryPrice * nSRType);
+                    lTotal2 += (nEntryTax * nSRType);
+
+                }
+                label8.Text = lTotal1.ToString("#,0");
+                label9.Text = lTotal2.ToString("#,0");
+
+                return true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
+        #region –¾�×ƒOƒŠƒbƒh�Å‹àŠzŒvŽZ�ˆ—�
+        /// <summary>
+        /// –¾�×ƒOƒŠƒbƒh�Å‹àŠzŒvŽZ�ˆ—�
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void CalcGridDetailField(object sender, DataGridViewCellEventArgs e)
+        {
+            try
+            {
+                DataGridViewEX dgv = (DataGridViewEX)sender;
+                DataGridViewRow CurRow = dgv.CurrentRow;
+                DataGridViewCell CurCell = dgv.CurrentCell;
+
+                double CurValue = 0;
+                double CalcValue = 0;
+                switch (e.ColumnIndex)
+                {
+                    case (int)DispColType2.DspCostDate:
+                        // “ú•t‚Ì�Ý’è
+                        FormatDate(sender);
+                        break;
+
+                    case (int)DispColType2.EntryPrice:
+                        CurValue = CommonMotions.cnvInt(CurCell.Value);
+                        // �Å”²Žx•¥‹àŠz
+                        CurCell.Value = CommonMotions.cnvInt(CurCell.Value).ToString("#,#");
+                        CalcValue = CommonMotions.cnvRound(CurValue * (1.00 + (CommonMotions.SystemMasterData.ConsumptionTax / 100.0)));
+                        CurRow.Cells[(int)DispColType2.EntryTax].Value = CalcValue.ToString("#,#");
+                        m_bChengeAns = true;
+                        // �‡Œv‚ð•\Ž¦‚·‚é
+                        CalcDetialTotal();
+                        break;
+
+                    case (int)DispColType2.EntryTax:
+                        CurValue = CommonMotions.cnvInt(CurCell.Value);
+                        // �Å�žŽx•¥‹àŠz
+                        CurCell.Value = CommonMotions.cnvInt(CurCell.Value).ToString("#,#");
+                        CalcValue = CommonMotions.cnvRound(CurValue / (1.00 + (CommonMotions.SystemMasterData.ConsumptionTax / 100.0)));
+                        CurRow.Cells[(int)DispColType2.EntryPrice].Value = CalcValue.ToString("#,#");
+                        m_bChengeAns = true;
+                        // �‡Œv‚ð•\Ž¦‚·‚é
+                        CalcDetialTotal();
+                        break;
+                    default:
+                        break;
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region “ü—Í“ú•t‚Ì•Ò�W
+        /// <summary>
+        /// “ü—Í“ú•t‚Ì•Ò�W
+        /// </summary>
+        /// <param name="sender"></param>
+        private void FormatDate(object sender)
+        {
+            try
+            {
+                DataGridViewEX dgv = (DataGridViewEX)sender;
+                DataGridViewRow CurRow = dgv.CurrentRow;
+                DataGridViewCell CurCell = dgv.CurrentCell;
+
+                DateTime dtToday = DateTime.Today;
+                string strCurCell = CommonMotions.cnvString(CurCell.Value);
+                // •¶Žš‚Ì�oŒ»‰ñ�”ƒJƒEƒ“ƒg
+                if (CommonMotions.chkNumeric(strCurCell))
+                {   // �”Žš‚Ì‚Ý“ü—Í
+                    if (strCurCell.Length <= 4)
+                    {
+                        CurCell.Value = dtToday.Year.ToString()
+                                        + "/" + CommonMotions.cnvInt(strCurCell.Substring(0, 2)).ToString("00")
+                                        + "/" + CommonMotions.cnvInt(strCurCell.Substring(2)).ToString("00");
+                    }
+                }
+                else
+                {   // 99/99‚Ì“ü—Í
+                    if (strCurCell.ToString().Length <= 5)
+                    {
+                        CurCell.Value = dtToday.Year.ToString()
+                                        + "/" + CommonMotions.cnvInt(strCurCell.Substring(0, strCurCell.IndexOf("/"))).ToString("00")
+                                        + "/" + CommonMotions.cnvInt(strCurCell.Substring(strCurCell.IndexOf("/") + 1)).ToString("00");
+
+                    }
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region  •Ò�Wƒtƒ‰ƒOON
+        /// <summary>
+        /// •Ò�Wƒtƒ‰ƒOON
+        /// </summary>
+        private void SetModifyFlg(object sender, DataGridViewCellEventArgs e)
+        {
+            try
+            {
+                DataGridViewEX dgv = dgvMaster;
+                int nRowIndex = e.RowIndex;
+                if (nRowIndex < 0) return;
+                if (dgv.Rows[nRowIndex] == null) return;
+
+                DataGridViewRow CurRow = dgv.Rows[nRowIndex];
+                int nRowStat = CommonMotions.cnvInt(CurRow.Cells[(int)DispColType2.RowStatus].Value);
+                if (nRowStat == 0)
+                {
+                    CurRow.Cells[(int)DispColType2.RowStatus].Value = (int)DataRowState.Added;
+                }
+                else if (nRowStat == (int)DataRowState.Unchanged)
+                {
+                    CurRow.Cells[(int)DispColType2.RowStatus].Value = (int)DataRowState.Modified;
+                }
+
+                m_bChengeAns = true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ‰EƒNƒŠƒbƒNƒRƒ“ƒeƒLƒXƒgƒ�ƒjƒ…�[•\Ž¦
+        /// <summary>
+        /// ‰EƒNƒŠƒbƒNƒRƒ“ƒeƒLƒXƒgƒ�ƒjƒ…�[•\Ž¦
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvMaster_ContextMenu(object sender, DataGridViewCellMouseEventArgs e)
+        {
+            try
+            {
+                DataGridView dgv = dgvMaster;
+                int idx = dgv.CurrentCell.RowIndex;
+
+                // �Å�I�s‚Í’Ç‰Á—L
+                if(idx == (dgv.RowCount - 1))
+                {
+                    m_ExecMenuStrip.Items[8].Enabled = true;
+                }
+                else
+                {
+                    m_ExecMenuStrip.Items[8].Enabled = false;
+                }
+                //ƒRƒ“ƒeƒLƒXƒgƒ�ƒjƒ…�[‚ð•\Ž¦‚·‚é
+                m_ExecMenuStrip.Show();
+                //ƒ}ƒEƒXƒJ�[ƒ\ƒ‹‚ÌˆÊ’u‚ð‰æ–Ê�À•W‚ÅŽæ“¾
+                Point p = Control.MousePosition;
+                m_ExecMenuStrip.Top = p.Y;
+                m_ExecMenuStrip.Left = p.X;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region –¾�×ƒOƒŠƒbƒh�FƒRƒs�[
+        /// <summary>
+        /// –¾�×ƒOƒŠƒbƒh�FƒRƒs�[
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void GridRowCopyExecute(object sender, EventArgs e)
+        {
+            try
+            {
+                DataGridViewEX dgv = dgvMaster;
+                if (dgv.CurrentRow == null) return;
+
+                // –¾�×ƒOƒŠƒbƒhƒRƒs�[�ˆ—�
+                dgvMaster.RowCopyAction();
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region –¾�×ƒOƒŠƒbƒh�F“\‚è•t‚¯
+        /// <summary>
+        /// –¾�×ƒOƒŠƒbƒh�F“\‚è•t‚¯
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void GridRowPasteExecute(object sender, EventArgs e)
+        {
+            try
+            {
+                DataGridViewEX dgv = dgvMaster;
+                if (dgv.CurrentRow == null) return;
+
+                // –¾�×ƒOƒŠƒbƒh“\‚è•t‚¯�ˆ—�
+                dgvMaster.RowPasteAction(true);
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region –¾�×ƒOƒŠƒbƒh�F�s�í�œ
+        /// <summary>
+        /// –¾�×ƒOƒŠƒbƒh�F�s�í�œ
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void GridRowRemoveExecute(object sender, EventArgs e)
+        {
+            try
+            {
+                DataGridViewEX dgv = dgvMaster;
+                if (dgv.CurrentRow == null) return;
+
+                int nRowStat = CommonMotions.cnvInt(dgv.CurrentRow.Cells[(int)DispColType2.RowStatus].Value);
+                if (nRowStat == (int)DataRowState.Unchanged) return;
+
+                if (nRowStat != (int)DataRowState.Added)
+                {
+                    dgv.CurrentRow.Cells[(int)DispColType2.RowStatus].Value = (int)DataRowState.Deleted;
+                }
+
+                // –¾�×ƒOƒŠƒbƒh”ñ•\Ž¦
+                dgv.CurrentRow.Visible = false;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region –¾�×ƒOƒŠƒbƒh�F�s‘}“ü
+        /// <summary>
+        /// –¾�×ƒOƒŠƒbƒh�F�s‘}“ü
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void GridRowInsertExecute(object sender, EventArgs e)
+        {
+            try
+            {
+                DataGridViewEX dgv = dgvMaster;
+                if (dgv.CurrentRow == null) return;
+
+                // –¾�×ƒOƒŠƒbƒh‘}“ü�ˆ—�
+                dgv.RowInsertAction();
+
+                dgv.CurrentRow.Cells[(int)DispColType2.RowStatus].Value = (int)DataRowState.Added;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region –¾�×ƒOƒŠƒbƒh�F�s’Ç‰Á
+        /// <summary>
+        /// –¾�×ƒOƒŠƒbƒh�F�s’Ç‰Á
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void GridRowAddExecute(object sender, EventArgs e)
+        {
+            try
+            {
+                DataGridViewEX dgv = dgvMaster;
+                if (dgv.CurrentRow == null) return;
+
+                // –¾�×ƒOƒŠƒbƒh’Ç‰Á�ˆ—�
+                dgv.RowAddAction();
+
+                dgv.Rows[(dgv.RowCount - 1)].Cells[(int)DispColType2.RowStatus].Value = (int)DataRowState.Added;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ƒZƒ‹ƒ_ƒuƒ‹ƒNƒŠƒbƒNŒã�ˆ—�
+        /// <summary>
+        /// ƒZƒ‹ƒ_ƒuƒ‹ƒNƒŠƒbƒNŒã�ˆ—�
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void CellDoubleClickProc(object sender, DataGridViewCellEventArgs e)
+        {
+            try
+            {
+                DataGridViewEX dgv = (DataGridViewEX)sender;
+
+                switch (e.ColumnIndex)
+                {
+                    case (int)DispColType2.SuppliersName:
+                        //  3:Žx•¥�æ–¼
+                        ShowSubConstructorDiag();
+                        break;
+                        
+                    default:
+                        break;
+                }
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region ‹¦—Í‰ïŽÐ‘I‘ðƒ_ƒCƒAƒ�ƒO•\Ž¦
+        /// <summary>
+        /// ‹¦—Í‰ïŽÐ‘I‘ðƒ_ƒCƒAƒ�ƒO•\Ž¦
+        /// </summary>
+        private void ShowSubConstructorDiag()
+        {
+            FrmSubContractorDiag frm = new FrmSubContractorDiag();
+            try
+            {
+                DataGridViewEX dgv = dgvMaster;
+
+                frm.StartupSource = (int)ClsExcute.ProcessExecuteNo.DepartmentCost;
+                //frm.ShowInTaskbar = false;
+                frm.ShowDialog();
+                if (frm.EndButton != System.Windows.Forms.DialogResult.OK) return;
+
+                SubContractorMaster selRec = frm.SelectData;
+                if (dgv.GetCellCount(DataGridViewElementStates.Selected) == 1)
+                {
+                    dgv.CurrentRow.Cells[(int)DispColType2.SuppliersCode].Value = selRec.CompanyCode;
+                    dgv.CurrentRow.Cells[(int)DispColType2.SuppliersName].Value = selRec.CompanyName;
+                }
+                else
+                {
+                    foreach (DataGridViewCell r in dgv.SelectedCells)
+                    {
+                        dgv.Rows[r.RowIndex].Cells[(int)DispColType2.SuppliersCode].Value = selRec.CompanyCode;
+                        dgv.Rows[r.RowIndex].Cells[(int)DispColType2.SuppliersName].Value = selRec.CompanyName;
+                    }
+                }
+                m_bChengeAns = true;
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                frm.Dispose(); frm = null;
+            }
+        }
+        #endregion
+    }
+}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/FrmEstimateBudget.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/FrmEstimateBudget.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/FrmEstimateBudget.cs	(revision 355)
@@ -523,7 +523,7 @@
         /// <param name="e"></param>
         private void FrmEstimateBudget_KeyDown(object sender, KeyEventArgs e)
         {
-            // DataGridview‚Í�ˆ—�‚µ‚È‚¢
+            // DataGridViewEX‚Í�ˆ—�‚µ‚È‚¢
             if (ActiveControl.GetType().Equals(typeof(DataGridViewEX))) return;
 
             //EnterƒL�[‚ª‰Ÿ‚³‚ê‚Ä‚¢‚é‚©Šm”F
@@ -739,7 +739,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // ŠY“–ƒ‰ƒxƒ‹‚ðƒZƒbƒg
                 lblCellTotal.Text = string.Empty;
@@ -784,7 +784,7 @@
         private void dgvAllDisplay_CellPainting(object sender, DataGridViewCellPaintingEventArgs e)
         {
             bool bDrow = true;
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
 
             try
             {
@@ -968,7 +968,7 @@
         private void dgvAllDisplay_CellValueChanged(object sender, DataGridViewCellEventArgs e)
         {
             // ƒOƒŠƒbƒh‚Ì�ˆ—�
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
 
             // ƒCƒ“ƒfƒbƒNƒXŠO‚Í�ˆ—�‚µ‚È‚¢
             if (e.RowIndex < 0) return;
@@ -996,7 +996,7 @@
         private void dgvAllDisplay_CellEnter(object sender, DataGridViewCellEventArgs e)
         {
             // ƒOƒŠƒbƒh‚Ì�ˆ—�
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
 
             // ƒCƒ“ƒfƒbƒNƒXŠO‚Í�ˆ—�‚µ‚È‚¢
             if (e.RowIndex < 0) return;
@@ -1043,7 +1043,7 @@
                 if (ActiveControl == btnEnd) return;
 
                 // ƒOƒŠƒbƒh‚Ì�ˆ—�
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // ƒCƒ“ƒfƒbƒNƒXŠO‚Í�ˆ—�‚µ‚È‚¢
                 if (e.RowIndex < 0) return;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/FrmEstimateBudget.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/FrmEstimateBudget.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/FrmEstimateBudget.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.DataEntry
+ï»¿namespace ProcessManagement.Forms.DataEntry
 {
     partial class FrmEstimateBudget
     {
@@ -31,12 +29,12 @@
         private void InitializeComponent()
         {
             this.components = new System.ComponentModel.Container();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
             this.label1 = new System.Windows.Forms.Label();
             this.btnDataDelete = new System.Windows.Forms.Button();
             this.btnDataEntry = new System.Windows.Forms.Button();
@@ -126,6 +124,7 @@
             this.btnDataDelete.TabIndex = 13;
             this.btnDataDelete.Text = "å‰Šã€€é™¤";
             this.btnDataDelete.UseVisualStyleBackColor = false;
+            this.btnDataDelete.Visible = false;
             this.btnDataDelete.Click += new System.EventHandler(this.btnDataDelete_Click);
             // 
             // btnDataEntry
@@ -585,14 +584,14 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.dgvAllDisplay.BackgroundColor = System.Drawing.Color.White;
             this.dgvAllDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle7.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
             this.dgvAllDisplay.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvAllDisplay.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.Column1,
@@ -626,8 +625,8 @@
             // 
             // Column1
             // 
-            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column1.DefaultCellStyle = dataGridViewCellStyle2;
+            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column1.DefaultCellStyle = dataGridViewCellStyle8;
             this.Column1.Frozen = true;
             this.Column1.HeaderText = "â„–";
             this.Column1.Name = "Column1";
@@ -683,8 +682,8 @@
             // 
             // Column5
             // 
-            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            this.Column5.DefaultCellStyle = dataGridViewCellStyle3;
+            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            this.Column5.DefaultCellStyle = dataGridViewCellStyle9;
             this.Column5.Frozen = true;
             this.Column5.HeaderText = "é …ã€€ã€€ç›®ãƒ»å�”åŠ›ä¼šç¤¾";
             this.Column5.Name = "Column5";
@@ -694,8 +693,8 @@
             // 
             // Column6
             // 
-            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            this.Column6.DefaultCellStyle = dataGridViewCellStyle4;
+            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            this.Column6.DefaultCellStyle = dataGridViewCellStyle10;
             this.Column6.Frozen = true;
             this.Column6.HeaderText = "å†…ã€€ã€€ã€€ã€€ã€€å®¹";
             this.Column6.Name = "Column6";
@@ -705,9 +704,9 @@
             // 
             // Column7
             // 
-            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle5.NullValue = null;
-            this.Column7.DefaultCellStyle = dataGridViewCellStyle5;
+            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle11.NullValue = null;
+            this.Column7.DefaultCellStyle = dataGridViewCellStyle11;
             this.Column7.HeaderText = "è¦‹ç©�æ™‚é‡‘é¡�";
             this.Column7.Name = "Column7";
             this.Column7.ReadOnly = true;
@@ -717,8 +716,8 @@
             // 
             // Column8
             // 
-            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.Column8.DefaultCellStyle = dataGridViewCellStyle6;
+            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.Column8.DefaultCellStyle = dataGridViewCellStyle12;
             this.Column8.HeaderText = "äº¤æ¸‰æ™‚é‡‘é¡�";
             this.Column8.Name = "Column8";
             this.Column8.Resizable = System.Windows.Forms.DataGridViewTriState.False;
@@ -845,7 +844,7 @@
         private System.Windows.Forms.Button btnPetition;
         private System.Windows.Forms.Button btnApproval;
         private System.Windows.Forms.Panel panel2;
-        private DataGridViewEX dgvAllDisplay;
+        private CustomControls.DataGridViewEX dgvAllDisplay;
         private System.Windows.Forms.Label lblCellTotal;
         private System.Windows.Forms.Label lblPersonCode;
         private System.Windows.Forms.Button btnCommonTemporary;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/FrmEstimateBudget.resx
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/FrmEstimateBudget.resx	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/FrmEstimateBudget.resx	(revision 355)
@@ -123,6 +123,9 @@
   <metadata name="lblCellTotal.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
+  <metadata name="lblCellTotal.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
   <metadata name="Column14.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/FrmEstimateBudgetAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/FrmEstimateBudgetAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/FrmEstimateBudgetAuxiliary.cs	(revision 355)
@@ -63,7 +63,7 @@
             {
                 // ã‚µã‚¤ã‚ºã�«å¤‰åŒ–ã�Œç„¡ã�‘ã‚Œã�°å‡¦ç�†ã�—ã�ªã�„
                 //if (m_GridWidth == dgvAllDisplay.Width) return;
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 int CellWidth1 = s_CellSize[(int)DispGridColumn.FirstString];
                 int CellWidth2 = s_CellSize[(int)DispGridColumn.SecondString];
@@ -448,7 +448,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 int iLineCnt = 0;
 
@@ -551,7 +551,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 int iLineCnt = dgvAllDisplay.Rows.Add(1);
                 dgvAllDisplay.Rows[iLineCnt].ReadOnly = true;
@@ -690,7 +690,7 @@
 
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 int iTotalLine = 0;
                 double EstimatePrice = 0;
@@ -1402,7 +1402,7 @@
             
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 // ----- å…±é€šä»®è¨­ç®—å®šçŽ‡è²»ã‚’è¡Œã�«ã‚»ãƒƒãƒˆ
                 // å…±é€šä»®è¨­è²»å�–å¾—
                 double dTotal = CalcCommonTemporary(true);
@@ -1503,7 +1503,7 @@
                 Datarec.NegotiationPrice = 0;                                                           // äº¤æ¸‰æ™‚é‡‘é¡�
                 DisplayGridData(1, Datarec);
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 // è¦‹ç©�é‡‘é¡�ã‚’å…¥åŠ›ç¦�æ­¢ã�«ã�™ã‚‹
                 int iLine = dgv.RowCount - 1;
                 dgv.Rows[iLine].Cells[(int)DispGridColumn.EstimatePrice].ReadOnly = true;
@@ -1706,7 +1706,7 @@
                 // ã‚¿ã‚¤ãƒˆãƒ«ã‚»ãƒƒãƒˆ
                 DispTitle(GroupTitle[(int)GroupName.Fraction], (int)TitleDivision.Group);
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 int icnt = 1;
                 double dSumaryWork = 0;
                 double dTotal = 0;
@@ -1874,7 +1874,7 @@
                 double dspFieldval = CalcCommonFieldManage(true);
                 double dspFieldval2 = CalcCommonFieldManage(false);
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 // å…±é€šä»®è¨­ç®—å®šçŽ‡è²»ã�®è¡Œæ•°ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
                 m_FieldItemLine = dgv.Rows.Count - 1;
                 // ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
@@ -1979,7 +1979,7 @@
                 double dspval = CalcCommonUsualManage(true);
                 double dspval2 = CalcCommonUsualManage(false);
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 // ä¸€èˆ¬ç®¡ç�†è²»ã�®è¡Œæ•°ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
                 m_UsualItemLine = dgv.Rows.Count - 1;
                 // ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
@@ -2380,7 +2380,7 @@
                 double dspCommonval = CalcCommonTemporary(true);
                 double dspCommonval2 = CalcCommonTemporary(false);
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // è¡Œæ•°è¨­å®šã�Œç„¡ã�„å ´å�ˆã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (m_CommonItemLine == 0 && m_FieldItemLine == 0 && m_UsualItemLine == 0) return;
@@ -2448,7 +2448,7 @@
             IOMConstructionItem ItemDB = new IOMConstructionItem();
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // è¡Œæ•°è¨­å®šã�Œç„¡ã�„å ´å�ˆã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (m_CommonItemLine == 0 && m_FieldItemLine == 0 && m_UsualItemLine == 0) return;
@@ -2960,7 +2960,7 @@
                 string DelSQL = detailDB.CreatePrimarykeyString(CommonMotions.cnvIntFromStringCode(m_dispLabelControl[(int)DispControl.ConstructionCode].Text, "-"));
                 detailDB.DeleteAction(DelSQL, false);
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 foreach (DataGridViewRow wrkRow in dgv.Rows)
                 {
                     // ãƒ‡ãƒ¼ã‚¿å®šç¾©
@@ -3085,7 +3085,7 @@
                 // å·¥æœŸã‚»ãƒƒãƒˆ
                 m_dispLabelControl[(int)DispControl.ConstructionTime].Text = m_ConstructionTimes.ToString("0.00");
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 int nGroupCount=0;
                 int nComponentCode=0;
                 int nSubContractorCode=0;
@@ -3233,7 +3233,7 @@
             FrmSubContractorDiag frm = new FrmSubContractorDiag();
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 frm.ConstructionCode = m_ConstructionCode;
                 frm.StartupSource = (int)ClsExcute.ProcessExecuteNo.EstimateBudget;
@@ -3423,7 +3423,7 @@
                 if (!ebDetailDB.SelectAction(strSQL, ref DetailRec)) return false;
 
                 // æ˜Žç´°ãƒ‡ãƒ¼ã‚¿ã‚’å�Œã�˜ã‚‚ã�®ã�Œç”»é�¢ä¸Šã�«ã�‚ã‚‹ã�‹ã‚’æ¤œç´¢ã�™ã‚‹
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 bool MatchData = true;
                 foreach (EstimateBudgetDetail WrkRec in DetailRec)
                 {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/ProcessControl.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/ProcessControl.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/ProcessControl.cs	(revision 355)
@@ -31,13 +31,13 @@
         /// è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�®ç•ªå�·ã‚’æŒ�ã�¤
         /// </summary>
         private static int s_CurrentProcessNo = (int)ClsExcute.ProcessExecuteNo.EstimateBudget;
- 		#endregion
+        #endregion
 
         #region ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼å¤‰æ•°
         /// <summary>
         /// ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼
         /// </summary>
-        private ContextMenuStrip m_ProcessContextMenuStrip;
+        private ContextMenuStrip m_ProcessContextMenuStrip = new ContextMenuStrip();
         #endregion
 
         #region åˆ¥ãƒ—ãƒ­ã‚»ã‚¹ç§»å‹•ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä½œæˆ�
@@ -48,12 +48,8 @@
         {
             try
             {
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä¸€è¦§ã‚’ä½œæˆ�ã�™ã‚‹
-                m_ProcessContextMenuStrip = new ContextMenuStrip();
-
                 // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�®ã‚»ãƒƒãƒˆ
                 UpDateProcessContextMenu(bSubForm);
-
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInput.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInput.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInput.cs	(revision 355)
@@ -643,7 +643,7 @@
         {
             // ƒ^ƒu�î•ñŽæ“¾
             int TabCnt = TabCollections.SelectedIndex;
-            DataGridView dgvwork = (DataGridView)m_EntryPage[TabCnt].EntryDGV;
+            DataGridViewEX dgvwork = m_EntryPage[TabCnt].EntryDGV;
 
             // ƒJƒŒƒ“ƒg�sŽæ“¾
             int RowCnt = 0;
@@ -703,7 +703,7 @@
             {
 
                 int TabCnt = TabCollections.SelectedIndex;
-                DataGridView dgv = m_EntryPage[TabCnt].EntryDGV;
+                DataGridViewEX dgv = m_EntryPage[TabCnt].EntryDGV;
 
                 // •¡�”�s‘I‘ð
                 int iStartLine = dgv.Rows.GetFirstRow(DataGridViewElementStates.Selected);
@@ -919,7 +919,7 @@
                 }
 
                 // ƒOƒŠƒbƒhƒAƒbƒvƒL�[�ˆ—�
-                DataGridViewAction.GridRowUpAction(m_EntryPage[TabCnt].EntryDGV, (int)GridItemColumn.ConstructionCode, ColumnEndPoint);
+                m_EntryPage[TabCnt].EntryDGV.GridRowUpAction((int)GridItemColumn.ConstructionCode, ColumnEndPoint);
 
                 // ƒ‰ƒxƒ‹ƒLƒƒƒ‰ƒNƒ^•Ï�X�ˆ—�
                 ChangeTabPageChar(TabCnt, m_EntryPage[TabCnt].EntryDGV.CurrentRow.Index);
@@ -1023,7 +1023,7 @@
                     ColumnEndPoint = (int)GridComponentColumn.InputFlg;
                 }
                 // ƒOƒŠƒbƒhƒ_ƒEƒ“ƒL�[�ˆ—�
-                DataGridViewAction.GridRowDownAction(m_EntryPage[TabCnt].EntryDGV, (int)GridItemColumn.ConstructionCode, ColumnEndPoint);
+                m_EntryPage[TabCnt].EntryDGV.GridRowDownAction((int)GridItemColumn.ConstructionCode, ColumnEndPoint);
 
                 // ƒ‰ƒxƒ‹ƒLƒƒƒ‰ƒNƒ^•Ï�X�ˆ—�
                 ChangeTabPageChar(TabCnt, m_EntryPage[TabCnt].EntryDGV.CurrentRow.Index);
@@ -1269,7 +1269,7 @@
             if (bEventStopFlg) return;
 
             // ƒOƒŠƒbƒh‚Ì�ˆ—�
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
 
             // “�Œv‘�ŒvƒOƒŠƒbƒh‚Í�ˆ—�‚µ‚È‚¢
             if (EqualTotalGridPage(dgv))
@@ -1317,7 +1317,7 @@
                     return;
                 }
 
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
                 //Console.WriteLine("{0}={1}", dgv.Name, dgv.ShowCellToolTips);
                 // “Ç�ž�ê—pƒZƒ‹‚Í�ˆ—�‚µ‚È‚¢
                 if (dgv[e.ColumnIndex,e.RowIndex].ReadOnly) return;
@@ -1526,7 +1526,7 @@
             // ƒtƒ‰ƒOONŽž�ˆ—�‚µ‚È‚¢
             if (bEventStopFlg) return;
 
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
             int TabCnt = TabCollections.SelectedIndex;
 
             switch (e.ColumnIndex)
@@ -1587,8 +1587,8 @@
         /// <param name="e"></param>
         private void dgvEntryData_CellClick(object sender, DataGridViewCellEventArgs e)
         {
-            DataGridView dgv = null;
-            if (sender.GetType().Equals(typeof(DataGridViewEX))) dgv = (DataGridView)sender;
+            DataGridViewEX dgv = null;
+            if (sender.GetType().Equals(typeof(DataGridViewEX))) dgv = (DataGridViewEX)sender;
             int TabCnt = TabCollections.SelectedIndex;
 
             switch (e.ColumnIndex)
@@ -1762,7 +1762,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
                 Label lblwrk = null;
                 // ‘�ŒvƒOƒŠƒbƒh‚Ì�ê�‡‚ÍƒIƒŠƒWƒiƒ‹
                 if (dgv.Name.Equals(dgvEntryData.Name))
@@ -1899,7 +1899,7 @@
                 if (ActiveControl == null) return;
                 if (!ActiveControl.GetType().Equals(typeof(DataGridViewEX))) return;
 
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
                 if (dgv.CurrentCell == null) return;
 
                 //int headerWidth = dgv.Rows[0].HeaderCell.Size.Width;
@@ -1943,9 +1943,9 @@
         /// <param name="e"></param>
         private void dgvEntryData_SelectionChanged(object sender, EventArgs e)
         {
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
             // �s‘I‘ð�F‚ðŒ³‚É–ß‚·
-            if (m_BeforeGridRow != -1) DefaultRowChangeColor(((DataGridView)m_ObjBeforeGrid).Rows[m_BeforeGridRow]);
+            if (m_BeforeGridRow != -1) DefaultRowChangeColor(((DataGridViewEX)m_ObjBeforeGrid).Rows[m_BeforeGridRow]);
 
             // ‘I‘ð�s�”‚ð‘Þ”ð
             m_ObjBeforeGrid = sender;
@@ -2127,7 +2127,7 @@
                 // ‘I‘ðƒ^ƒuƒJƒEƒ“ƒgŽæ“¾
                 int TabCnt = TabCollections.SelectedIndex;
 
-                DataGridView dgv = m_EntryPage[TabCnt].EntryDGV;
+                DataGridViewEX dgv = m_EntryPage[TabCnt].EntryDGV;
 
                 // ‘I‘ðƒZƒ‹Žæ“¾
                 DataGridViewCell c = dgv.SelectedCells[0];
@@ -2167,7 +2167,7 @@
         /// <param name="e"></param>
         private void dgvEntryData_Scroll(object sender, ScrollEventArgs e)
         {
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
 
             // ‰¡ƒXƒNƒ��[ƒ‹ƒNƒŠƒA
             if (e.ScrollOrientation == ScrollOrientation.HorizontalScroll) dgv.ClearSelection();
@@ -2204,7 +2204,7 @@
         //{
         //    try
         //    {
-        //        DataGridView dgv = (DataGridView)sender;
+        //        DataGridViewEX dgv = (DataGridViewEX)sender;
         //        //•Ò�W‚Ì‚½‚ß‚É•\Ž¦‚³‚ê‚Ä‚¢‚éƒRƒ“ƒgƒ��[ƒ‹‚ðŽæ“¾
         //        DataGridViewTextBoxEditingControl tb = (DataGridViewTextBoxEditingControl)e.Control;
 
@@ -2240,7 +2240,7 @@
 
         //private void dgvEntryData_KeyPress(object sender, KeyPressEventArgs e)
         //{
-        //    DataGridView dgv = (DataGridView)sender;
+        //    DataGridViewEX dgv = (DataGridViewEX)sender;
 
         //    if (dgv.CurrentCell.OwningColumn.ReadOnly) return;
         //    SendKeys.Send("{F2}");  
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInput.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInput.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInput.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.DataEntry
+ï»¿namespace ProcessManagement.Forms.DataEntry
 {
     partial class FrmEstimateInput
     {
@@ -140,6 +138,7 @@
             this.btnDataDelete.TabIndex = 13;
             this.btnDataDelete.Text = "å‰Šã€€é™¤";
             this.btnDataDelete.UseVisualStyleBackColor = false;
+            this.btnDataDelete.Visible = false;
             this.btnDataDelete.Click += new System.EventHandler(this.btnDataDelete_Click);
             // 
             // btnDataEntry
@@ -1032,9 +1031,9 @@
         private System.Windows.Forms.Button btnDataEntry;
         private System.Windows.Forms.Button btnEnd;
         private System.Windows.Forms.Panel panel1;
-        private TabControlEX TabCollections;
+        private CustomControls.TabControlEX TabCollections;
         private System.Windows.Forms.TabPage tabPage1;
-        private DataGridViewEX dgvEntryData;
+        private CustomControls.DataGridViewEX dgvEntryData;
         private System.Windows.Forms.Label lblConstructionCodelabel;
         private System.Windows.Forms.Label lblLabel01;
         private System.Windows.Forms.Label lblLabel02;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInputAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInputAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInputAuxiliary.cs	(revision 355)
@@ -466,7 +466,7 @@
         /// è¡Œãƒ‡ãƒ¼ã‚¿ã‚¯ãƒªã‚¢
         /// </summary>
         /// <param name="iIndex">è¡Œã‚«ã‚¦ãƒ³ãƒˆ</param>
-        private void SetRowClearData(DataGridView dgvControl, int iIndex)
+        private void SetRowClearData(DataGridViewEX dgvControl, int iIndex)
         {
             // ã‚¯ãƒªã‚¢ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
             foreach (DataGridViewCell wrkCell in dgvControl.Rows[iIndex].Cells)
@@ -488,7 +488,7 @@
         /// <summary>
         /// ç·�è¨ˆãƒ»å¤§é …ç›®ã‚°ãƒªãƒƒãƒ‰æŽ¡ç•ªå‡¦ç�†
         /// </summary>
-        private void LineReNumberingAlphaCharacter(DataGridView dgvControl)
+        private void LineReNumberingAlphaCharacter(DataGridViewEX dgvControl)
         {
             int CnvCode = 0;
 
@@ -515,7 +515,7 @@
         /// <summary>
         /// æ§‹æˆ�ãƒ»ä¸­é …ç›®ã‚°ãƒªãƒƒãƒ‰æŽ¡ç•ªå‡¦ç�†
         /// </summary>
-        private void LineReNumbering(DataGridView dgvControl)
+        private void LineReNumbering(DataGridViewEX dgvControl)
         {
             int icnt = 1;
 
@@ -788,7 +788,7 @@
             {
                 int fromTab = 0;
                 // å‰Šé™¤ã‚¿ãƒ–å†…ã�®ä¸‹ä½�ã‚¿ãƒ–ã‚’å‰Šé™¤ã�™ã‚‹
-                DataGridView dgv = m_EntryPage[myTabCnt].EntryDGV;
+                DataGridViewEX dgv = m_EntryPage[myTabCnt].EntryDGV;
                 for (int i = m_EntryPage[myTabCnt].EntryDGV.Rows.Count - 1; i >= 0; i--)
                 {
                     if (CommonMotions.cnvInt(dgv[(int)GridItemColumn.ComponentCode, i].Value) == 0) continue;
@@ -1164,7 +1164,7 @@
         /// <param name="Datalist"></param>
         private void SetItemWorkRowData(int tabcnt, int linecnt, EstimateDataDetail Datalist, string SubConstr, bool bDBAccess = true)
         {
-            DataGridView dgv = m_EntryPage[tabcnt].EntryDGV;
+            DataGridViewEX dgv = m_EntryPage[tabcnt].EntryDGV;
             DataGridViewRow dgvRow = dgv.Rows[linecnt];
 
             dgvRow.Cells[(int)GridItemColumn.ConstructionCode].Value = Datalist.ConstructionCode;
@@ -1225,7 +1225,7 @@
         /// <param name="Datalist"></param>
         private void SetRowData(int tabcnt, int linecnt, EstimateDataDetail Datalist)
         {
-            DataGridView dgv = m_EntryPage[tabcnt].EntryDGV;
+            DataGridViewEX dgv = m_EntryPage[tabcnt].EntryDGV;
             DataGridViewRow dgvRow = dgv.Rows[linecnt];
 
             dgvRow.Cells[(int)GridTotalColumn.ConstructionCode].Value = Datalist.ConstructionCode;
@@ -1459,7 +1459,7 @@
             if (bEventStopFlg) return;
 
             int iCalPrice = 0;
-            DataGridView dgv = m_EntryPage[tabCnt].EntryDGV;
+            DataGridViewEX dgv = m_EntryPage[tabCnt].EntryDGV;
             try
             {
                 dgv.SuspendLayout();
@@ -1505,7 +1505,7 @@
             if (bEventStopFlg) return;
 
             int iCalPrice = 0;
-            DataGridView dgv = m_EntryPage[tabCnt].EntryDGV;
+            DataGridViewEX dgv = m_EntryPage[tabCnt].EntryDGV;
             try
             {
                 dgv.SuspendLayout();
@@ -1866,7 +1866,7 @@
             FrmSubContractorDiag frm = new FrmSubContractorDiag();
             try
             {
-                DataGridView dgv = m_EntryPage[TabCnt].EntryDGV;
+                DataGridViewEX dgv = m_EntryPage[TabCnt].EntryDGV;
 
                 frm.ConstructionCode = m_ConstructionCode;
                 frm.StartupSource = (int)ClsExcute.ProcessExecuteNo.EstimateInput;
@@ -2237,7 +2237,7 @@
         /// </summary>
         /// <param name="dgvwork"></param>
         /// <param name="iRowIndex"></param>
-        private void MoveToDestinationTab(DataGridView dgvwork, int iRowIndex)
+        private void MoveToDestinationTab(DataGridViewEX dgvwork, int iRowIndex)
         {
             int iTabCount = TabCollections.SelectedIndex;
 
@@ -2503,7 +2503,7 @@
                 // ç·�è¨ˆè¡Œã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (itabCnt < 1) return;
 
-                DataGridView dgvControl = m_EntryPage[itabCnt].EntryDGV;
+                DataGridViewEX dgvControl = m_EntryPage[itabCnt].EntryDGV;
 
                 // æœ€çµ‚è¡Œåˆ¤å®š
                 if (dgvControl.CurrentCell.RowIndex != (dgvControl.Rows.Count - 1)) return;
@@ -2547,7 +2547,7 @@
         /// </summary>
         /// <param name="dgv"></param>
         /// <returns></returns>
-        private bool EqualTotalGridPage(DataGridView dgv)
+        private bool EqualTotalGridPage(DataGridViewEX dgv)
         {
             // çµ±è¨ˆç·�è¨ˆã‚°ãƒªãƒƒãƒ‰ã�¯å‡¦ç�†ã�—ã�ªã�„
             if (dgv.Name == dgvEntryData.Name) return true;
@@ -2624,7 +2624,7 @@
             try
             {
                 int iSCount = TabCnt;
-                DataGridView dgv = m_EntryPage[TabCnt].EntryDGV;
+                DataGridViewEX dgv = m_EntryPage[TabCnt].EntryDGV;
 
                 // è¡Œã�Œç„¡ã�„ã�¨ã��ã�®å¯¾å¿œ
                 if (iLineCnt == 0 && dgv.Rows.Count == 0) return 1;
@@ -2673,7 +2673,7 @@
                     return GetTargetComponentCount(TabCnt, iLineCnt);
 
                 int iSCount = TabCnt;
-                DataGridView dgv = m_EntryPage[TabCnt].EntryDGV;
+                DataGridViewEX dgv = m_EntryPage[TabCnt].EntryDGV;
 
                 // è¡Œã�Œç„¡ã�„ã�¨ã��è‡ªã‚¿ãƒ–ã�®å¾Œã‚�ã�«ã�„ã‚Œã‚‹
                 if (iLineCnt == 0 && GetGridDataCount(TabCnt) == 0) return (TabCnt + 1);
@@ -3106,7 +3106,7 @@
                 {
                     // æ§‹æˆ�ã‚­ãƒ¼å�–å¾—
                     myComponentKey = m_EntryPage[CurrentTabCount].ComponentCode;
-                    DataGridView dgv = dgvEntryData;
+                    DataGridViewEX dgv = dgvEntryData;
                     for (int i = 0; i < dgv.RowCount; i++)
                     {
                         if (CommonMotions.chkObjectIsNull(dgv[(int)GridItemColumn.ComponentCode, i].Value)) continue;
@@ -3134,7 +3134,7 @@
                     // å·¥ç¨®ã‚­ãƒ¼ãƒ‡ãƒ¼ã‚¿ã�¯å¯¾è±¡å¤–
                     if (m_EntryPage[ix].ItemCode != 0) continue;
 
-                    DataGridView dgv = m_EntryPage[ix].EntryDGV;
+                    DataGridViewEX dgv = m_EntryPage[ix].EntryDGV;
                     for (int i = 0; i < dgv.RowCount; i++)
                     {
                         if (CommonMotions.cnvInt(dgv[(int)GridItemColumn.ComponentCode, i].Value) != myComponentKey) continue;
@@ -3305,7 +3305,7 @@
         /// <param name="dgvwork"></param>
         /// <param name="Linecnt"></param>
         /// <returns></returns>
-        private bool GetAfterBlankLine(DataGridView dgvwork, int Linecnt)
+        private bool GetAfterBlankLine(DataGridViewEX dgvwork, int Linecnt)
         {
             bool bOnSW = false;
             for (int i = Linecnt; i < dgvwork.Rows.Count; i++)
@@ -3328,7 +3328,7 @@
         /// </summary>
         /// <param name="dgvwork"></param>
         /// <returns></returns>
-        private int GetBlankLineCount(DataGridView dgvwork)
+        private int GetBlankLineCount(DataGridViewEX dgvwork)
         {
             int linecnt = 0;
             bool bOnSW = false;
@@ -3355,7 +3355,7 @@
         /// <param name="dgvwork">å¯¾è±¡ãƒ‡ãƒ¼ã‚¿ã‚°ãƒªãƒƒãƒ‰</param>
         /// <param name="DirectionRet">é€²è¡Œæ–¹å�‘ï¼šYesï¼ˆå¾Œï¼‰Noï¼š(å‰�) Cancel(ã‚­ãƒ£ãƒ³ã‚»ãƒ«)</param>
         /// <param name="TergetRow">å¯¾è±¡è¡Œ</param>
-        private void CreateNewLine(DataGridView dgvwork, ref int TergetRow)
+        private void CreateNewLine(DataGridViewEX dgvwork, ref int TergetRow)
         {
             try
             {
@@ -3363,7 +3363,7 @@
                 if (dgvwork.Rows.Count <= TergetRow || GetAfterBlankLine(dgvwork, TergetRow))
                 {
                     // è¡Œæ•°ã�Œç�¾åœ¨ã‚’è¶…ã�ˆã�¦ã�„ã‚‹ã�‹ã€�è¶…ã�ˆã�¦ã�„ã�ªã�„ã�§ã‚‚å¾Œã‚�ã�«å…¥åŠ›ãƒ‡ãƒ¼ã‚¿ã�Œã�‚ã‚Œã�°è¡Œè¿½åŠ 
-                    DataGridViewAction.CreateNewLine(dgvwork, ref TergetRow);
+                    dgvwork.CreateNewLine(ref TergetRow);
                 }
                 else
                 {
@@ -3400,7 +3400,7 @@
                 if (m_EntryPage[TabCnt].Cotegory == CommonDefine.TabCotegory.Total)
                 {
                     // ç·�è¨ˆã‚¿ãƒ–ã�¯æ˜Žç´°è¡Œã�§ã�®æŒ‡å®šä»¥å¤–ã�¯ã‚¨ãƒ©ãƒ¼
-                    DataGridView dgv = m_EntryPage[TabCnt].EntryDGV;
+                    DataGridViewEX dgv = m_EntryPage[TabCnt].EntryDGV;
                     if (!ChkGridLineEffectiveness(dgv.Rows[icurIndex]))
                     {
                         // å›ºå®šè¡Œã� ã�‘ã�®å ´å�ˆ
@@ -3520,7 +3520,7 @@
             try
             {
                 // ãƒ‡ãƒ¼ã‚¿ã‚°ãƒªãƒƒãƒ‰ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆå�–å¾—
-                DataGridView dgvGrid = m_EntryPage[CurrentTabCnt].EntryDGV;
+                DataGridViewEX dgvGrid = m_EntryPage[CurrentTabCnt].EntryDGV;
 
                 // ++++++++++++++++++++ è¡Œã�®è¿½åŠ 
                 int NewRowCnt = CurrentRow;
@@ -3734,7 +3734,7 @@
             {
                 int fromTab = 0;
                 // ç§»å‹•ã‚¿ãƒ–å†…ã�®ä¸‹ä½�ã‚¿ãƒ–ã‚’ç§»å‹•ã�™ã‚‹
-                DataGridView dgv = m_EntryPage[myTabCnt].EntryDGV;
+                DataGridViewEX dgv = m_EntryPage[myTabCnt].EntryDGV;
                 for (int i = dgv.Rows.Count - 1; i >= 0; i--)
                 {
                     if (!ChkGridLineEffectiveness(dgv.Rows[i])) continue;
@@ -4171,7 +4171,7 @@
             FrmUnitMaster frm = new FrmUnitMaster();
             try
             {
-                DataGridView dgv = m_EntryPage[TabCnt].EntryDGV;
+                DataGridViewEX dgv = m_EntryPage[TabCnt].EntryDGV;
 
                 frm.DialogUsed = true;
 
@@ -4215,7 +4215,7 @@
                 TergetCell.Value = "";
                 TergetCodeCell.Value = "0";
 
-                //DataGridView dgv = dgvEntryData;
+                //DataGridViewEX dgv = dgvEntryData;
                 //foreach (DataGridViewCell c in dgv.SelectedCells)
                 //{
                 //    dgv[c.ColumnIndex, c.RowIndex].Value = string.Empty;
@@ -4704,7 +4704,7 @@
                     for (int iy = 0; iy < SmallList.Count; iy++)
                     {
                         // è¡Œè¿½åŠ 
-                        DataGridViewAction.CreateNewLine(m_EntryPage[MiddleTab].EntryDGV, ref SmallRow);
+                        m_EntryPage[MiddleTab].EntryDGV.CreateNewLine(ref SmallRow);
 
                         // ã‚¯ãƒªã‚¢ãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
                         SetRowClearData(m_EntryPage[MiddleTab].EntryDGV, SmallRow);
@@ -5395,7 +5395,7 @@
                 // ã‚¿ãƒ–æ•°åˆ†å‡¦ç�†ã‚’è¡Œã�†
                 for (int iTabs = 1; iTabs < m_EntryPage.Count; iTabs++)
                 {
-                    DataGridView wrkGrid = m_EntryPage[iTabs].EntryDGV;
+                    DataGridViewEX wrkGrid = m_EntryPage[iTabs].EntryDGV;
                     for (int iRows = 0; iRows < wrkGrid.RowCount; iRows++)
                     {
                         // è¡Œãƒ‡ãƒ¼ã‚¿å®šç¾©
@@ -5936,7 +5936,7 @@
         /// å�˜ä½�ã�Œã€�å¼�ã€‘ã�®å ´å�ˆã�¯å�˜ä¾¡ã‚’ã‚¯ãƒªã‚¢ãƒ­ãƒƒã‚¯ã�™ã‚‹
         /// </summary>
         /// <param name="CurRow"></param>
-        private void LockUnitValue(DataGridView dgv)
+        private void LockUnitValue(DataGridViewEX dgv)
         {
             try
             {
@@ -5992,7 +5992,7 @@
         /// è¡Œã‚’é�¸æŠžè‰²ã�«ã�™ã‚‹
         /// </summary>
         /// <param name="CurrentRow"></param>
-        private void SelectRowChangeColor(DataGridView dgv, int CurrentRow)
+        private void SelectRowChangeColor(DataGridViewEX dgv, int CurrentRow)
         {
             try
             {
@@ -6018,7 +6018,7 @@
         /// å…¨ã�¦è¡Œã‚’ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆè‰²ã�«ã�™ã‚‹
         /// </summary>
         /// <param name="BeforeGridRow"></param>
-        private void DefaultALLRowChangeColor(DataGridView dgv)
+        private void DefaultALLRowChangeColor(DataGridViewEX dgv)
         {
             try
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/ProcessControl.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/ProcessControl.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/ProcessControl.cs	(revision 355)
@@ -31,13 +31,13 @@
         /// è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�®ç•ªå�·ã‚’æŒ�ã�¤
         /// </summary>
         private static int s_CurrentProcessNo = (int)ClsExcute.ProcessExecuteNo.EstimateInput;
- 		#endregion
+        #endregion
 
         #region ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼å¤‰æ•°
         /// <summary>
         /// ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼
         /// </summary>
-        private ContextMenuStrip m_ProcessContextMenuStrip;
+        private ContextMenuStrip m_ProcessContextMenuStrip = new ContextMenuStrip();
         #endregion
 
         #region åˆ¥ãƒ—ãƒ­ã‚»ã‚¹ç§»å‹•ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä½œæˆ�
@@ -48,12 +48,8 @@
         {
             try
             {
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä¸€è¦§ã‚’ä½œæˆ�ã�™ã‚‹
-                m_ProcessContextMenuStrip = new ContextMenuStrip();
-
                 // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�®ã‚»ãƒƒãƒˆ
                 UpDateProcessContextMenu(bSubForm);
-
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimatePrint/FrmEstimatePrint.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimatePrint/FrmEstimatePrint.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimatePrint/FrmEstimatePrint.cs	(revision 355)
@@ -519,7 +519,7 @@
         /// <summary>
         /// ã‚°ãƒªãƒƒãƒ‰æŽ¡ç•ªå‡¦ç�†
         /// </summary>
-        private void LineReNumberingAlphaCharacter(DataGridView dgvControl)
+        private void LineReNumberingAlphaCharacter(DataGridViewEX dgvControl)
         {
             // ----- 16é€²æ•°æ–‡å­—åˆ— -> æ•°å€¤
             int CnvCode = Convert.ToInt32("0041", 16);      // 'A'
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimatePrint/ProcessControl.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimatePrint/ProcessControl.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimatePrint/ProcessControl.cs	(revision 355)
@@ -31,13 +31,13 @@
         /// è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�®ç•ªå�·ã‚’æŒ�ã�¤
         /// </summary>
         private static int s_CurrentProcessNo = (int)ClsExcute.ProcessExecuteNo.EstimatePrint;
- 		#endregion
+        #endregion
 
         #region ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼å¤‰æ•°
         /// <summary>
         /// ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼
         /// </summary>
-        private ContextMenuStrip m_ProcessContextMenuStrip;
+        private ContextMenuStrip m_ProcessContextMenuStrip = new ContextMenuStrip();
         #endregion
 
         #region åˆ¥ãƒ—ãƒ­ã‚»ã‚¹ç§»å‹•ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä½œæˆ�
@@ -48,12 +48,8 @@
         {
             try
             {
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä¸€è¦§ã‚’ä½œæˆ�ã�™ã‚‹
-                m_ProcessContextMenuStrip = new ContextMenuStrip();
-
                 // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�®ã‚»ãƒƒãƒˆ
                 UpDateProcessContextMenu(bSubForm);
-
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/ConstrMATLList/FrmConstrMATLListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/ConstrMATLList/FrmConstrMATLListAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/ConstrMATLList/FrmConstrMATLListAuxiliary.cs	(revision 355)
@@ -113,7 +113,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 int NowPoint = ClsExcute.GetNowProcessPoint();
                 // Œ»�Ý�Ý’è’lƒNƒŠƒA
@@ -378,14 +378,14 @@
                     strSQL.Append(" LEFT JOIN PERSONINCHARGEMASTER DB");
                     strSQL.Append(" ON DB.PERSONCODE IN(");
                     strSQL.Append(" DA.CONSTRUCTIONPERSONCODE");
-                    strSQL.Append(", DA.ConstrSubPersonCode");
-                    strSQL.Append(", DA.ConstructionInstructor");
+                    //strSQL.Append(", DA.ConstrSubPersonCode");
+                    //strSQL.Append(", DA.ConstructionInstructor");
                     strSQL.Append(" )");
                     strSQL.Append(" LEFT JOIN DEPARTMENTMASTER DC");
                     strSQL.Append(" ON DC.DEPARTMENTCODE IN(");
                     strSQL.Append(" DA.ConstrDepCode");
-                    strSQL.Append(", DA.ConstrSubDepCode");
-                    strSQL.Append(", DA.ConstrInstrDepCode");
+                    //strSQL.Append(", DA.ConstrSubDepCode");
+                    //strSQL.Append(", DA.ConstrInstrDepCode");
                     strSQL.Append(" )");
                     strSQL.Append(" LEFT JOIN constructionbaseinfodetail As DD");
                     strSQL.Append(" ON DD.ConstructionCode = DA.ConstructionCode");
@@ -429,7 +429,7 @@
                     }
 
                     // •”��‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é�ê�‡
-                    strSQL.Append(GetDepartmentString());
+                    //strSQL.Append(GetDepartmentString());
 
                     // ’S“–ŽÒ‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é�ê�‡
                     strSQL.Append(GetPersonString());
@@ -441,6 +441,7 @@
                 }
 
                 strSQL.Append(") AS UNI");
+
                 // ORDER BY ’Ç‰Á
                 strSQL.Append(" ORDER BY 4 ASC, 10 ASC, 9 ASC, 16 ASC, 15 ASC, 1 DESC");
 
@@ -512,14 +513,14 @@
                 strSQL.Append(" LEFT JOIN PERSONINCHARGEMASTER DB");
                 strSQL.Append(" ON DB.PERSONCODE IN(");
                 strSQL.Append(" DA.CONSTRUCTIONPERSONCODE");
-                strSQL.Append(", DA.ConstrSubPersonCode");
-                strSQL.Append(", DA.ConstructionInstructor");
+                //strSQL.Append(", DA.ConstrSubPersonCode");
+                //strSQL.Append(", DA.ConstructionInstructor");
                 strSQL.Append(" )");
                 strSQL.Append(" LEFT JOIN DEPARTMENTMASTER DC");
                 strSQL.Append(" ON DC.DEPARTMENTCODE IN(");
                 strSQL.Append(" DA.ConstrDepCode");
-                strSQL.Append(", DA.ConstrSubDepCode");
-                strSQL.Append(", DA.ConstrInstrDepCode");
+                //strSQL.Append(", DA.ConstrSubDepCode");
+                //strSQL.Append(", DA.ConstrInstrDepCode");
                 strSQL.Append(" )");
                 strSQL.Append(" LEFT JOIN constructionbaseinfodetail As DD");
                 strSQL.Append(" ON DD.ConstructionCode = DA.ConstructionCode");
@@ -536,7 +537,7 @@
                 strSQL.Append(" AND E.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE");
 
                 // •”��‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é�ê�‡
-                strSQL.Append(GetDepartmentString());
+                //strSQL.Append(GetDepartmentString());
 
                 // ’S“–ŽÒ‚ª‘I‘ð‚³‚ê‚Ä‚¢‚é�ê�‡
                 strSQL.Append(GetPersonString());
@@ -595,7 +596,7 @@
             IOPurchaseOrder OrderDB = new IOPurchaseOrder();
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 // ƒf�[ƒ^•\Ž¦
                 int ino = 1;
@@ -757,7 +758,7 @@
                 // �HŽ–Šî–{�î•ñŽæ“¾
                 if (cbiDB.ExecuteReader(strSQL.ToString(), ref arData))
                 {
-                    // ƒOƒŠƒbƒh‚ÖƒZƒbƒg‚Æ‚·‚é
+                    // ƒOƒŠƒbƒh‚ÖƒZƒbƒg‚·‚é
                     SetToGridData(arData);
                 }
 
@@ -795,7 +796,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 int NowPoint = ClsExcute.GetNowProcessPoint();
 
@@ -845,7 +846,7 @@
                 // ƒtƒH�[ƒ€ƒTƒCƒYŽæ“¾
                 m_FormWidthSize = this.Width;
 
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
                 m_GridWidthSize = dgv.Width;
 
@@ -877,7 +878,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 int idifference = 0;
                 // �Å‘å‰»‚Ì�ê�‡
                 if (!bNormal)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialCountEntry/FrmMaterialCountEntry.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialCountEntry/FrmMaterialCountEntry.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialCountEntry/FrmMaterialCountEntry.cs	(revision 355)
@@ -220,7 +220,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 if (dgv.CurrentCell.ReadOnly) return;
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialCountEntry/FrmMaterialCountEntry.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialCountEntry/FrmMaterialCountEntry.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialCountEntry/FrmMaterialCountEntry.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.DataEntry
+ï»¿namespace ProcessManagement.Forms.DataEntry
 {
     partial class FrmMaterialCountEntry
     {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReserveEntry/FrmMateResEntAux.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReserveEntry/FrmMateResEntAux.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReserveEntry/FrmMateResEntAux.cs	(revision 355)
@@ -75,7 +75,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 int nColumnMax = Enum.GetNames(typeof(DispColumn)).Length;
                 for (int i = 0; i < nColumnMax; i++)
                 {
@@ -526,7 +526,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 string txtbox = dgv.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString();
 
                 // æ—¥ä»˜ã�®è¨­å®šã‚’ç¢ºèª�ã�™ã‚‹
@@ -580,7 +580,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 for (int i = 0; i < dgv.ColumnCount;i++ )
                 {
                     dgvMaster.Columns[i].HeaderCell.Style.BackColor = Color.LightGray;
@@ -621,7 +621,7 @@
             IOConstructionMaterialInfo IoCmi = new IOConstructionMaterialInfo();
             ArrayList arData = new ArrayList();
 
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             dgv.CellValueChanged -= new System.Windows.Forms.DataGridViewCellEventHandler(dgvMaster_CellValueChanged);
             try
             {
@@ -973,7 +973,7 @@
                 sel.ShowDialog();
                 if (sel.EndButton != DialogResult.OK) return;
 
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 List<MaterialItemMaster> items = sel.MaterialItemNames;
                 List<MaterialKindMaster> kind = sel.MaterialKindNames;
                 List<int> itemscount = sel.MaterialItemCount;
@@ -1103,7 +1103,7 @@
             IOConstructionMaterialInfo cMi = new IOConstructionMaterialInfo();
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 if (CurRow == null) return;
@@ -1200,7 +1200,7 @@
             int nRet = 0;
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 DataGridViewRow[] Rows = dgv.Rows.Cast<DataGridViewRow>().Where(
                                                                             x => DataRowState.Unchanged != (DataRowState)x.Cells[(int)DispColumn.RowState].Value)
                                                                         .ToArray();
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReserveEntry/FrmMaterialReserveEntry.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReserveEntry/FrmMaterialReserveEntry.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReserveEntry/FrmMaterialReserveEntry.cs	(revision 355)
@@ -226,7 +226,7 @@
                 if (ActiveControl == null) return;
                 if (!ActiveControl.GetType().Equals(typeof(DataGridViewEX))) return;
 
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // èª­è¾¼å°‚ç”¨ã‚»ãƒ«ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (dgv.CurrentCell.ReadOnly) return;
@@ -354,7 +354,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 // ã‚»ãƒ«å€¤å�–å¾—
                 m_BeforeValue = dgv.CurrentCell.Value;
                 m_CheckCol = e.ColumnIndex;
@@ -381,7 +381,7 @@
                 if (e.RowIndex < 0 || e.ColumnIndex < 0) return;
                 if (e.ColumnIndex == (int)DispColumn.RowState) return;
 
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 DataGridViewRow CurRow = dgv.Rows[e.RowIndex];
 
                 // nullå€¤ã�¯å‡¦ç�†ã�—ã�ªã�„
@@ -491,7 +491,7 @@
         /// <param name="e"></param>
         private void FrmMaterialReserveEntry_KeyDown(object sender, KeyEventArgs e)
         {
-            // DataGridviewã�¯å‡¦ç�†ã�—ã�ªã�„
+            // DataGridViewEXã�¯å‡¦ç�†ã�—ã�ªã�„
             if (ActiveControl.Name.Equals("dgvMaster"))
             {
                 return;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReserveEntry/FrmMaterialReserveEntry.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReserveEntry/FrmMaterialReserveEntry.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReserveEntry/FrmMaterialReserveEntry.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.DataEntry
+ï»¿namespace ProcessManagement.Forms.DataEntry
 {
     partial class FrmMaterialReserveEntry
     {
@@ -515,9 +513,9 @@
         private System.Windows.Forms.Button btnMaterialSelect;
         private System.Windows.Forms.Button btnMaterialHistory;
         private System.Windows.Forms.Button button6;
-        private DataGridViewEX dgvMaster;
-        private GroupBoxEx groupBoxEx1;
-        private GroupBoxEx groupBoxEx2;
+        private CustomControls.DataGridViewEX dgvMaster;
+        private CustomControls.GroupBoxEx groupBoxEx1;
+        private CustomControls.GroupBoxEx groupBoxEx2;
         private System.Windows.Forms.Label lblLabel01;
         private System.Windows.Forms.Label label3;
         private System.Windows.Forms.Label lblProcessDate;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReserveEntry/ProcessControl.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReserveEntry/ProcessControl.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReserveEntry/ProcessControl.cs	(revision 355)
@@ -35,7 +35,7 @@
         /// <summary>
         /// ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼
         /// </summary>
-        private ContextMenuStrip m_ProcessContextMenuStrip;
+        private ContextMenuStrip m_ProcessContextMenuStrip = new ContextMenuStrip();
         #endregion
 
         #region ä»–ãƒ—ãƒ­ã‚»ã‚¹ãƒ•ã‚©ãƒ¼ãƒ é…�åˆ—å¤‰æ•°
@@ -53,12 +53,8 @@
         {
             try
             {
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä¸€è¦§ã‚’ä½œæˆ�ã�™ã‚‹
-                m_ProcessContextMenuStrip = new ContextMenuStrip();
-
                 // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�®ã‚»ãƒƒãƒˆ
                 UpDateProcessContextMenu(bSubForm);
-
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReturnEntry/FrmMateRetEntAux.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReturnEntry/FrmMateRetEntAux.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReturnEntry/FrmMateRetEntAux.cs	(revision 355)
@@ -456,7 +456,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 for (int i = 0; i < dgv.ColumnCount; i++)
                 {
                     dgvMaster.Columns[i].HeaderCell.Style.BackColor = Color.LightGray;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReturnEntry/FrmMaterialReturnEntry.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReturnEntry/FrmMaterialReturnEntry.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReturnEntry/FrmMaterialReturnEntry.cs	(revision 355)
@@ -426,7 +426,7 @@
         /// <param name="e"></param>
         private void FrmMaterialReturnEntry_KeyDown(object sender, KeyEventArgs e)
         {
-            // DataGridviewã�¯å‡¦ç�†ã�—ã�ªã�„
+            // DataGridViewEXã�¯å‡¦ç�†ã�—ã�ªã�„
             if (ActiveControl.Name.Equals("dgvMaster"))
             {
                 return;
@@ -448,7 +448,7 @@
                 if (ActiveControl == null) return;
                 if (!ActiveControl.GetType().Equals(typeof(DataGridViewEX))) return;
 
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // èª­è¾¼å°‚ç”¨ã‚»ãƒ«ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (dgv.CurrentCell.ReadOnly) return;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReturnEntry/FrmMaterialReturnEntry.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReturnEntry/FrmMaterialReturnEntry.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReturnEntry/FrmMaterialReturnEntry.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.DataEntry
+ï»¿namespace ProcessManagement.Forms.DataEntry
 {
     partial class FrmMaterialReturnEntry
     {
@@ -554,7 +552,7 @@
 
         #endregion
 
-        private DataGridViewEX dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Label label1;
         private System.Windows.Forms.Label label2;
         private System.Windows.Forms.Label label3;
@@ -565,9 +563,9 @@
         private System.Windows.Forms.Button btnDataEntry;
         private System.Windows.Forms.Label lblRepaydate;
         private System.Windows.Forms.Button button3;
-        private GroupBoxEx groupBoxEx1;
+        private CustomControls.GroupBoxEx groupBoxEx1;
         private System.Windows.Forms.CheckBox tglAllReturn;
-        private GroupBoxEx groupBoxEx2;
+        private CustomControls.GroupBoxEx groupBoxEx2;
         private System.Windows.Forms.Label label5;
         private System.Windows.Forms.Label label7;
         private System.Windows.Forms.Label label6;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReturnEntry/ProcessControl.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReturnEntry/ProcessControl.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/MaterialReturnEntry/ProcessControl.cs	(revision 355)
@@ -35,7 +35,7 @@
         /// <summary>
         /// ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼
         /// </summary>
-        private ContextMenuStrip m_ProcessContextMenuStrip;
+        private ContextMenuStrip m_ProcessContextMenuStrip = new ContextMenuStrip();
         #endregion
 
         #region ä»–ãƒ—ãƒ­ã‚»ã‚¹ãƒ•ã‚©ãƒ¼ãƒ é…�åˆ—å¤‰æ•°
@@ -53,12 +53,8 @@
         {
             try
             {
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä¸€è¦§ã‚’ä½œæˆ�ã�™ã‚‹
-                m_ProcessContextMenuStrip = new ContextMenuStrip();
-
                 // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�®ã‚»ãƒƒãƒˆ
                 UpDateProcessContextMenu(bSubForm);
-
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PersonApprovalList/FrmPersonAppListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PersonApprovalList/FrmPersonAppListAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PersonApprovalList/FrmPersonAppListAuxiliary.cs	(revision 355)
@@ -34,7 +34,7 @@
         {
             try
             {
-                DataGridView dgv = dgvApproval;
+                DataGridViewEX dgv = dgvApproval;
 
                 // æ¤œç´¢å¹´åº¦ã‚»ãƒƒãƒˆ
                 SetActionMonthly();
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PriceOfBudget/FrmPriceOfBudget.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PriceOfBudget/FrmPriceOfBudget.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PriceOfBudget/FrmPriceOfBudget.cs	(revision 355)
@@ -325,7 +325,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 lblCellTotal.Text = string.Empty;
 
@@ -416,7 +416,7 @@
         /// <param name="e"></param>
         private void dgvMain_SelectionChanged(object sender, EventArgs e)
         {
-            DataGridView dgv = dgvMain;
+            DataGridViewEX dgv = dgvMain;
             // è¡Œé�¸æŠžè‰²ã‚’å…ƒã�«æˆ»ã�™
             if (m_BeforeGridRow != -1) DefaultRowChangeColor(m_BeforeGridRow);
 
@@ -436,7 +436,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMain;
+                DataGridViewEX dgv = dgvMain;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
 
                 Color wrkBackColor = Color.White;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PriceOfBudget/FrmPriceOfBudgetAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PriceOfBudget/FrmPriceOfBudgetAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PriceOfBudget/FrmPriceOfBudgetAuxiliary.cs	(revision 355)
@@ -78,7 +78,7 @@
         /// </summary>
         private void DispData()
         {
-            DataGridView dgv = dgvMain;
+            DataGridViewEX dgv = dgvMain;
             try
             {
                 dgv.Rows.Clear();
@@ -312,7 +312,7 @@
                 // –¢�ì�¬�ˆ—�‘Î�ÛƒŠƒXƒg�ì�¬
                 NotCreateGetProcList(DataArList, ref nConstrCodeList);
 
-                DataGridView dgv = dgvMain;
+                DataGridViewEX dgv = dgvMain;
                 dgv.Rows.Clear();
 
                 // –¢�ì�¬�‡ŒvƒGƒŠƒA�‰Šú‰»
@@ -504,7 +504,7 @@
                 if (!BaseDB.ExecuteReader(strSQL.ToString(), ref DataArList)) return;
                 if (DataArList.Count == 0) return;
 
-                DataGridView dgv = dgvMain;
+                DataGridViewEX dgv = dgvMain;
                 // –¢�I—¹�ˆ—�‘Î�ÛƒŠƒXƒg�ì�¬
                 List<int> nConstrCodeList = new List<int>();
                 NotComplateGetProcList(DataArList, ref nConstrCodeList);
@@ -684,7 +684,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMain;
+                DataGridViewEX dgv = dgvMain;
 
                 // ƒJƒ‰ƒ€�”ƒ`ƒFƒbƒN
                 int DspCtrlCnt = Enum.GetNames(typeof(GridColumn)).Length;
@@ -822,7 +822,7 @@
         private void SetCreateRowData(List<KeyValuePair<int, string>> ExpList, ref long[] TotalArea)
         {
             IOConstructionBaseInfo BaseDB = new IOConstructionBaseInfo();
-            DataGridView dgv = dgvMain;
+            DataGridViewEX dgv = dgvMain;
             try
             {
                 int SelectPeriod = (int)numUDConstPro.Value;
@@ -954,7 +954,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMain;
+                DataGridViewEX dgv = dgvMain;
 
                 if (AddBrankRow) dgv.Rows.Add(1);
                 // �‡Œv�s•\Ž¦
@@ -991,7 +991,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMain;
+                DataGridViewEX dgv = dgvMain;
                 int LastRowCnt = dgv.RowCount;
 
                 dgv.Rows.Insert((LastRowCnt - 2), 2);
@@ -1027,7 +1027,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMain;
+                DataGridViewEX dgv = dgvMain;
 
                 // �s‚Ì�F‚ð•Ï‚¦‚é
                 for (int i = 0; i < dgv.ColumnCount; i++)
@@ -1256,7 +1256,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMain;
+                DataGridViewEX dgv = dgvMain;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
                 // ƒJƒ‰ƒ€�”
                 int colcnt = dgv.Columns.Count;
@@ -1277,6 +1277,46 @@
         }
         #endregion
 
+        #region ‹N“®ƒ`ƒFƒbƒN
+        /// <summary>
+        /// ‹N“®ƒ`ƒFƒbƒN
+        /// </summary>
+        /// <returns></returns>
+        private bool ChkExecProcess(int nDepCode, ref int EditFlg)
+        {
+            try
+            {
+                // ƒVƒXƒeƒ€ŠÇ—�ŽÒ‚Í‘S‚ÄOK
+                if (CommonMotions.LoginUserData.PersonCode == CommonDefine.AdminCode) return true;
+
+                bool bRet = false;
+                // ‹N“®Œ ŒÀ‚Ìƒ`ƒFƒbƒN
+                if (!ClsSecurityPermission.GetExecutePermission((int)ClsExcute.ProcessExecuteNo.ConstructionBudget
+                                                                , ref EditFlg)) return bRet;
+
+                // ŽQ�Æ•”��‚Ìƒ`ƒFƒbƒN
+                foreach (PersonDepartmentMaster CurRec in CommonMotions.LoginUserRefDepartment)
+                {
+                    if (CurRec.DepartmentCode == nDepCode)
+                    {
+                        bRet = true;
+                        break;
+                    }
+                }
+
+                // Ž©•”��ƒ`ƒFƒbƒN
+                if (CommonMotions.LoginUserData.DepartmentCode == nDepCode) bRet = true;
+
+                return bRet;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ƒVƒXƒeƒ€ƒGƒ‰�[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
         #region �HŽ–—\ŽZ�‘•\Ž¦
         /// <summary>
         /// �HŽ–—\ŽZ�‘•\Ž¦
@@ -1287,15 +1327,30 @@
             FrmConstructionBudget frm = new FrmConstructionBudget();
             try
             {
-                DataGridView dgv = dgvMain;
+                DataGridViewEX dgv = dgvMain;
                 int SelConstrCode = CommonMotions.cnvInt(dgv.CurrentRow.Cells[(int)GridColumn.ConstrCode].Value);
+                int nDepCode = CommonMotions.cnvInt(dgv.CurrentRow.Cells[(int)GridColumn.DepartmentCode].Value);
 
+                // •”��–³‚Í‚Æ‚è‚ ‚¦‚¸NG
+                if (nDepCode < 1)
+                {
+                    MessageBox.Show("�HŽ–•”��‚ª�Ý’è‚³‚ê‚Ä‚¢‚Ü‚¹‚ñ", "ƒGƒ‰�[•\Ž¦", MessageBoxButtons.OK, MessageBoxIcon.Error);
+                    return;
+                }
+
+                // ‹N“®Œ ŒÀ‚Ìƒ`ƒFƒbƒN
+                int EditFlg = (int)CommonDefine.ProcessDataEdit.Reference;
+                if (!ChkExecProcess(nDepCode, ref EditFlg))
+                {
+                    MessageBox.Show("‘Î�Ûƒf�[ƒ^‚ÉƒAƒNƒZƒXŒ ŒÀ‚ª‚ ‚è‚Ü‚¹‚ñ�B", "‘I‘ðƒGƒ‰�[", MessageBoxButtons.OK, MessageBoxIcon.Error);
+                    return;
+                }
+                if (EditFlg == (int)CommonDefine.ProcessDataEdit.Reference) frm.EditLock = true;
+
                 // �HŽ–—\ŽZ�‘“ü—Í‹N“®
                 frm.ConstructionCode = SelConstrCode;
                 frm.SubForm = true;
                 frm.ShowInTaskbar = true;
-
-                // ƒNƒ��[ƒXƒhƒnƒ“ƒhƒ‰‚ð‚±‚¿‚ç‚Å’è‹`‚·‚é
                 frm.ShowDialog();
             }
             catch (Exception ex)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/FrmProceedings.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/FrmProceedings.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/FrmProceedings.cs	(revision 355)
@@ -573,7 +573,7 @@
             // �Å�I�sŽž‚Ì�ˆ—�
             if (e.KeyCode == Keys.Down)
             {
-                GridLastLine((DataGridView)sender);
+                GridLastLine((DataGridViewEX)sender);
             }
         }
         #endregion
@@ -588,7 +588,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
             }
@@ -625,7 +625,7 @@
         }
         #endregion
 
-        private DataGridView BeforeGrid = null;
+        private DataGridViewEX BeforeGrid = null;
         #region �s’Ç‰Áƒ{ƒ^ƒ“
         /// <summary>
         /// �s’Ç‰Áƒ{ƒ^ƒ“‰Ÿ‰º
@@ -775,7 +775,7 @@
                 if (ActiveControl == null) return;
                 if (!ActiveControl.GetType().Equals(typeof(DataGridViewEX))) return;
 
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 //IME‚Ìƒ‚�[ƒh‚ð•Ï�X‚·‚é
                 switch (e.ColumnIndex)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/FrmProceedings.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/FrmProceedings.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/FrmProceedings.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.DataEntry
+ï»¿namespace ProcessManagement.Forms.DataEntry
 {
     partial class FrmProceedings
     {
@@ -1059,13 +1057,13 @@
         private System.Windows.Forms.Label lblCellTotal;
         private System.Windows.Forms.Button btnOtherProc;
         private System.Windows.Forms.Label label19;
-        private DataGridViewEX dgvAllDisplay;
+        private CustomControls.DataGridViewEX dgvAllDisplay;
         private System.Windows.Forms.Label lblLabel01;
         private System.Windows.Forms.Panel pnlApproval;
         private System.Windows.Forms.Label lblApprovalCount;
         private System.Windows.Forms.Button btnPetition;
         private System.Windows.Forms.Button btnApproval;
-        private DataGridViewEX dgvPerson;
+        private CustomControls.DataGridViewEX dgvPerson;
         private System.Windows.Forms.Label label11;
         private System.Windows.Forms.Label label10;
         private System.Windows.Forms.Label label9;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/FrmProceedingsAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/FrmProceedingsAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/FrmProceedingsAuxiliary.cs	(revision 355)
@@ -53,7 +53,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 if (bNormal)
                 {
@@ -345,7 +345,7 @@
                 List<ProceedingsDataAttend> AttendRec = new List<ProceedingsDataAttend>();
                 ProDB.SelectAction(strSQL, ref AttendRec);
 
-                DataGridView dgv = dgvPerson;
+                DataGridViewEX dgv = dgvPerson;
                 foreach (ProceedingsDataAttend CurRec in AttendRec)
                 {
                     dgv.Rows.Add(CurRec.Department, CurRec.AttendName);
@@ -377,7 +377,7 @@
                 List<ProceedingsDataDetail> DetailRec = new List<ProceedingsDataDetail>();
                 ProDB.SelectAction(strSQL, ref DetailRec);
 
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 foreach (ProceedingsDataDetail CurRec in DetailRec)
                 {
                     // SEQNOã�Œè¡Œæ•°ã�¨é�•ã�ˆã�°ã��ã�®åˆ†ç©ºè¡Œã‚’å¢—ã‚„ã�™
@@ -1254,7 +1254,7 @@
         /// <summary>
         /// ã‚°ãƒªãƒƒãƒ‰æœ€çµ‚è¡Œè¿½åŠ å‡¦ç�†
         /// </summary>
-        private void GridLastLine(DataGridView dgv)
+        private void GridLastLine(DataGridViewEX dgv)
         {
             try
             {
@@ -1275,7 +1275,7 @@
         /// <summary>
         /// ã‚°ãƒªãƒƒãƒ‰è¡ŒæŒ¿å…¥å‡¦ç�†
         /// </summary>
-        private void GridInsertLine(DataGridView dgv)
+        private void GridInsertLine(DataGridViewEX dgv)
         {
             try
             {
@@ -1303,7 +1303,7 @@
         /// <summary>
         /// ã‚°ãƒªãƒƒãƒ‰è¡Œå‰Šé™¤å‡¦ç�†
         /// </summary>
-        private void GridRemoveLine(DataGridView dgv)
+        private void GridRemoveLine(DataGridViewEX dgv)
         {
             try
             {
@@ -1346,7 +1346,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow wrkrow = dgv.CurrentRow;
 
                 // å…ˆé ­è¡Œã�¯å‡¦ç�†ã�—ã�ªã�„
@@ -1358,7 +1358,7 @@
                     && CommonMotions.chkObjectIsNull(dgv.CurrentRow.Cells[(int)DispGridColumn.Detail].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction(dgv, (int)DispGridColumn.No, (int)DispGridColumn.Detail);
+                dgvAllDisplay.GridRowUpAction((int)DispGridColumn.No, (int)DispGridColumn.Detail);
 
                 m_bChengeAns = true;
             }
@@ -1377,7 +1377,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow wrkrow = dgv.CurrentRow;
 
                 // ç„¡åŠ¹è¡Œã�¯å‡¦ç�†ã�—ã�ªã�„
@@ -1386,7 +1386,7 @@
                     && CommonMotions.chkObjectIsNull(dgv.CurrentRow.Cells[(int)DispGridColumn.Detail].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction(dgv, (int)DispGridColumn.No, (int)DispGridColumn.Detail);
+                dgvAllDisplay.GridRowDownAction((int)DispGridColumn.No, (int)DispGridColumn.Detail);
 
             }
             catch (System.Exception ex)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/ProcessControl.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/ProcessControl.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Proceedings/ProcessControl.cs	(revision 355)
@@ -31,13 +31,13 @@
         /// è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�®ç•ªå�·ã‚’æŒ�ã�¤
         /// </summary>
         private static int s_CurrentProcessNo = (int)ClsExcute.ProcessExecuteNo.ConstructionLedger;
- 		#endregion
+        #endregion
 
         #region ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼å¤‰æ•°
         /// <summary>
         /// ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼
         /// </summary>
-        private ContextMenuStrip m_ProcessContextMenuStrip;
+        private ContextMenuStrip m_ProcessContextMenuStrip = new ContextMenuStrip();
         #endregion
 
         #region åˆ¥ãƒ—ãƒ­ã‚»ã‚¹ç§»å‹•ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä½œæˆ�
@@ -48,12 +48,8 @@
         {
             try
             {
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä¸€è¦§ã‚’ä½œæˆ�ã�™ã‚‹
-                m_ProcessContextMenuStrip = new ContextMenuStrip();
-
                 // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�®ã‚»ãƒƒãƒˆ
                 UpDateProcessContextMenu(bSubForm);
-
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/CreateNewTabPage.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/CreateNewTabPage.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/CreateNewTabPage.cs	(revision 355)
@@ -749,7 +749,7 @@
                 wrkGB.Controls.Add(NewPage.Group1TextBox);                          // ç™ºæ³¨æ˜Žç´°ã‚°ãƒ«ãƒ¼ãƒ—ãƒ†ã‚­ã‚¹ãƒˆãƒœãƒƒã‚¯ã‚¹
                 wrkGB.Controls.Add(NewPage.Group1Button[(int)Group1Button.Up]);     // ç™ºæ³¨æ˜Žç´°ã‚°ãƒ«ãƒ¼ãƒ—Upãƒœã‚¿ãƒ³
                 wrkGB.Controls.Add(NewPage.Group1Button[(int)Group1Button.Down]);   // ç™ºæ³¨æ˜Žç´°ã‚°ãƒ«ãƒ¼ãƒ—Downãƒœã‚¿ãƒ³
-                wrkGB.Controls.Add(NewPage.Group1DataGridView);                     // ç™ºæ³¨æ˜Žç´°ã‚°ãƒ«ãƒ¼ãƒ—DataGridView
+                wrkGB.Controls.Add(NewPage.Group1DataGridView);                     // ç™ºæ³¨æ˜Žç´°ã‚°ãƒ«ãƒ¼ãƒ—DataGridViewEX
                 wrkGB.Controls.Add(NewPage.Group1Label);                            // å�ˆè¨ˆé‡‘é¡�
                 wrkGB.Location = new System.Drawing.Point(6, 38);
                 wrkGB.Name = string.Format("PageGroupBoxDetailGroup{0}", PageCount);
@@ -883,6 +883,11 @@
                 NewPage.Group1TextBoxColumn[(int)DispDetailGridColumn.DataType].Name = string.Format("Group1TextBoxColumnDataTypeFlag{0}", PageCount);
                 NewPage.Group1TextBoxColumn[(int)DispDetailGridColumn.DataType].Visible = false;
 
+                // æ³•å®šç¦�åˆ©è²»æ¯”çŽ‡
+                NewPage.Group1TextBoxColumn[(int)DispDetailGridColumn.SWRate].HeaderText = "æ³•å®šç¦�åˆ©è²»æ¯”çŽ‡";
+                NewPage.Group1TextBoxColumn[(int)DispDetailGridColumn.SWRate].Name = string.Format("Group1TextBoxColumnSWRate{0}", PageCount);
+                NewPage.Group1TextBoxColumn[(int)DispDetailGridColumn.SWRate].Visible = false;
+
                 // DafaultCellStyle
                 NewPage.Group1CellDefaultStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
                 NewPage.Group1CellDefaultStyle.BackColor = System.Drawing.SystemColors.Control;
@@ -917,7 +922,8 @@
                 NewPage.Group1TextBoxColumn[(int)DispDetailGridColumn.LedgerDetailNo],
                 NewPage.Group1TextBoxColumn[(int)DispDetailGridColumn.BudgetValue],
                 NewPage.Group1TextBoxColumn[(int)DispDetailGridColumn.PreviousValue],
-                NewPage.Group1TextBoxColumn[(int)DispDetailGridColumn.DataType]});
+                NewPage.Group1TextBoxColumn[(int)DispDetailGridColumn.DataType],
+                NewPage.Group1TextBoxColumn[(int)DispDetailGridColumn.SWRate]});
                 wrkGrid.Location = new System.Drawing.Point(8, 20);
                 wrkGrid.Name = string.Format("dgvAllDisplay{0}", PageCount);
                 wrkGrid.RowHeadersVisible = false;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmOrderEntryList.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmOrderEntryList.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmOrderEntryList.cs	(revision 355)
@@ -198,6 +198,11 @@
         /// </summary>
         private FrmPurchaseOrderEntry m_OrderFrm = null;
 
+        /// <summary>
+        /// æ–°è¦�ç”³è«‹ãƒ•ãƒ©ã‚°
+        /// </summary>
+        private bool m_NewApprovalFlg = false;
+
         #endregion
 
         #region ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£
@@ -256,6 +261,15 @@
             set { m_OrderFrm = value; }
         }
 
+        /// <summary>
+        /// æ–°è¦�ç”³è«‹ãƒ•ãƒ©ã‚°
+        /// </summary>
+        public bool NewApprovalFlg
+        {
+            get { return m_NewApprovalFlg; }
+            set { m_NewApprovalFlg = value; }
+        }
+
         #endregion
 
         #region ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
@@ -392,7 +406,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 switch (e.ColumnIndex)
                 {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmOrderEntryListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmOrderEntryListAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmOrderEntryListAuxiliary.cs	(revision 355)
@@ -199,24 +199,27 @@
                 strSQL.Append(" FROM CONSTRUCTIONLEDGERDETAIL A");
 
                 strSQL.Append(" Inner Join(");
-                strSQL.Append(" Select");
-                strSQL.Append(" ATD.ConstructionCode");
-                strSQL.Append(", ATD.GROUPCOUNT");
-                strSQL.Append(", ATD.COMPANYCODE");
-                strSQL.Append(", ATD.PurchaseOrderFlg");
-                strSQL.Append(", SUM(ATD.EXECUTIONAMOUNT) As TotalVal");
-                strSQL.Append(" From");
-                strSQL.Append(" CONSTRUCTIONLEDGERDETAIL As ATD");
-                strSQL.Append(" Group by");
-                strSQL.Append(" ATD.CONSTRUCTIONCODE");
-                strSQL.Append(", ATD.GROUPCOUNT");
-                strSQL.Append(", ATD.COMPANYCODE");
-                strSQL.Append(", ATD.PurchaseOrderFlg");
+                strSQL.Append("   Select");
+                strSQL.Append("    ATD.ConstructionCode");
+                strSQL.Append("  , ATD.GROUPCOUNT");
+                strSQL.Append("  , ATD.COMPANYCODE");
+                strSQL.Append("  , ATD.PurchaseOrderFlg");
+                strSQL.Append("  , SUM(ATD.EXECUTIONAMOUNT) As TotalVal");
+                strSQL.Append("  , ATD.SourceCode");
+                strSQL.Append("  From");
+                strSQL.Append("   CONSTRUCTIONLEDGERDETAIL As ATD");
+                strSQL.Append("  Group by");
+                strSQL.Append("    ATD.CONSTRUCTIONCODE");
+                strSQL.Append("  , ATD.GROUPCOUNT");
+                strSQL.Append("  , ATD.COMPANYCODE");
+                strSQL.Append("  , ATD.PurchaseOrderFlg");
+                strSQL.Append("  , ATD.SourceCode");
                 strSQL.Append(") As C");
                 strSQL.Append(" On C.ConstructionCode = A.ConstructionCode");
                 strSQL.Append(" And C.GROUPCOUNT = A.GROUPCOUNT");
                 strSQL.Append(" And C.COMPANYCODE = A.COMPANYCODE");
                 strSQL.Append(" And C.PurchaseOrderFlg = A.PurchaseOrderFlg");
+                strSQL.Append(" And C.SourceCode = A.SourceCode");
 
                 strSQL.Append(" LEFT JOIN CONSTRUCTIONBASEINFODETAIL B");
                 strSQL.Append("       ON B.CONSTRUCTIONCODE = A.SOURCECODE");
@@ -242,6 +245,10 @@
                 strSQL.AppendFormat(" OR (ConstrType.PublicFlg = {0}", (int)ConstructionTypeMaster.PublicFlgDef.Community);
                 strSQL.AppendFormat(" AND A.EXECUTIONAMOUNT >= {0}))", CommonDefine.s_PrintOutPricePublic);
 
+                // æ–°è¦�ç”³è«‹æ™‚ã�¯ä½œæˆ�æ¸ˆã�¿ã�®ã�¿è¡¨ç¤ºã�™ã‚‹
+                if (m_NewApprovalFlg)
+                    strSQL.AppendFormat(" AND A.PurchaseOrderFlg = {0}", (int)ConstructionLedgerDetail.PurOrderFlgDef.Making);
+
                 strSQL.Append(" Group by");
                 strSQL.Append(" A.CONSTRUCTIONCODE");
                 strSQL.Append(", A.GROUPCOUNT");
@@ -301,6 +308,17 @@
                 strSQL.Append("       AND A.COMPANYCODE > 0");
                 strSQL.AppendFormat(" AND A.COMPANYTYPE <> {0}", (int)CommonDefine.CodeDataType.Person);
                 strSQL.Append("       AND F.COMPANYCODE = A.COMPANYCODE");
+                // æ–°è¦�ç”³è«‹æ™‚ã�¯ä½œæˆ�æ¸ˆã�¿ã�®ã�¿è¡¨ç¤ºã�™ã‚‹
+                if (m_NewApprovalFlg)
+                {
+                    strSQL.AppendFormat(" AND A.PurchaseOrderFlg = {0}", (int)ConstructionLedgerDetail.PurOrderFlgDef.Making);
+                    strSQL.Append(" AND NOT EXISTS(");
+                    strSQL.Append(" SELECT * FROM processapprovaldetail As PAPPD");
+                    strSQL.Append("     WHERE PAPPD.ConstructionCode = A.ConstructionCode");
+                    strSQL.Append("     AND PAPPD.ApprovalCode = G.ApprovalCode");
+                    strSQL.Append("     AND PAPPD.LinkCode = E.SeqNo)");
+                }
+
                 strSQL.Append("       Group by A.CompanyCode, A.PURCHASEORDERFLG, F.SeqNo");
                 strSQL.Append(")");
 
@@ -323,7 +341,7 @@
             IOConstructionBaseInfoDetail BaseDetailDB = new IOConstructionBaseInfoDetail();
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 bool LimitedDisp = false;
 
                 StringBuilder strSQL = new StringBuilder();
@@ -385,7 +403,7 @@
         /// </summary>
         private void DataDisplay()
         {
-            DataGridView dgv = dgvAllDisplay;
+            DataGridViewEX dgv = dgvAllDisplay;
             try
             {
                 dgv.Rows.Clear();
@@ -475,7 +493,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // ä½œæˆ�å›žæ•°ä½œæˆ�
                 string strCount = string.Empty;
@@ -557,7 +575,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 for (int ix = (m_OrderFrm.DetailList.Count - 1); ix > -1; ix--)
                 {
@@ -611,7 +629,7 @@
             bool bRet = true;
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 // é�¸æŠžã‚¨ãƒ©ãƒ¼ãƒ�ã‚§ãƒƒã‚¯
                 bool bNoCreateData = false;
@@ -786,7 +804,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 
                 // æœªä½œæˆ�æ™‚ã�¯ä¸€æ–‰ãƒ�ã‚§ãƒƒã‚¯ã�—ã�ªã�„
                 if (CommonMotions.cnvString(dgv.Rows[CurRowCnt].Cells[(int)GridColumn.RequestCount].Value).Length == 0)
@@ -829,7 +847,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 int MakingFlg = (int)ConstructionLedgerDetail.PurOrderFlgDef.Making;
                 foreach (DataGridViewRow CurRow in dgv.Rows)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntry.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntry.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntry.Designer.cs	(revision 355)
@@ -152,6 +152,7 @@
             this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.ColDataFlg = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.label15 = new System.Windows.Forms.Label();
             this.TabCollections = new System.Windows.Forms.TabControl();
             this.btnOtherProc = new System.Windows.Forms.Button();
@@ -1423,7 +1424,8 @@
             this.Column1,
             this.Column2,
             this.ColDataFlg,
-            this.Column3});
+            this.Column3,
+            this.Column4});
             this.dgvAllDisplay.EnableHeadersVisualStyles = false;
             this.dgvAllDisplay.Location = new System.Drawing.Point(8, 20);
             this.dgvAllDisplay.Name = "dgvAllDisplay";
@@ -1567,6 +1569,13 @@
             this.Column3.Name = "Column3";
             this.Column3.Visible = false;
             // 
+            // Column4
+            // 
+            this.Column4.HeaderText = "æ³•å®šç¦�åˆ©è²»çŽ‡";
+            this.Column4.Name = "Column4";
+            this.Column4.ReadOnly = true;
+            this.Column4.Visible = false;
+            // 
             // label15
             // 
             this.label15.BackColor = System.Drawing.Color.Cyan;
@@ -1821,6 +1830,7 @@
         private System.Windows.Forms.Button btnChangeCompany;
         private System.Windows.Forms.Label lblFixComment;
         private System.Windows.Forms.Button button1;
+        private System.Windows.Forms.Button btnLineDelete;
         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
@@ -1835,6 +1845,6 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
         private System.Windows.Forms.DataGridViewTextBoxColumn ColDataFlg;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
-        private System.Windows.Forms.Button btnLineDelete;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
     }
 }
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntry.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntry.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntry.cs	(revision 355)
@@ -103,15 +103,19 @@
             /// ãƒ‡ãƒ¼ã‚¿ã‚¿ã‚¤ãƒ—ãƒ•ãƒ©ã‚°
             /// </summary>
             DataType,
+            /// <summary>
+            /// æ³•å®šç¦�åˆ©è²»æ¯”çŽ‡
+            /// </summary>
+            SWRate,
         }
-        #endregion
+    #endregion
 
         #region æ�¡ä»¶ã‚°ãƒªãƒƒãƒ‰ã‚¿ã‚¤ãƒˆãƒ«æ–‡å­—
+    /// <summary>
+    /// ç°¡æ˜“ç‰ˆæ�¡ä»¶ã‚°ãƒªãƒƒãƒ‰ã‚¿ã‚¤ãƒˆãƒ«
+    /// </summary>
+    private const string s_TermsTitle1 = "ç™ºæ³¨æ�¡ä»¶";
         /// <summary>
-        /// ç°¡æ˜“ç‰ˆæ�¡ä»¶ã‚°ãƒªãƒƒãƒ‰ã‚¿ã‚¤ãƒˆãƒ«
-        /// </summary>
-        private const string s_TermsTitle1 = "ç™ºæ³¨æ�¡ä»¶";
-        /// <summary>
         /// æ­£è¦�ç‰ˆæ�¡ä»¶ã‚°ãƒªãƒƒãƒ‰ã‚¿ã‚¤ãƒˆãƒ«
         /// </summary>
         private const string s_TermsTitle2 = "æ–½å·¥æŒ‡ç¤ºäº‹é …";
@@ -462,6 +466,11 @@
         /// </summary>
         private bool m_DirectFlg = false;
 
+        /// <summary>
+        /// æ–°è¦�ç”³è«‹ãƒ•ãƒ©ã‚°
+        /// </summary>
+        private bool m_NewApprovalFlg = false;
+
         // *-----* å…±é€šå‡¦ç�†è¨­å®š *-----*
         /// <summary>
         /// ã‚µãƒ–ãƒ•ã‚©ãƒ¼ãƒ ãƒ•ãƒ©ã‚°
@@ -586,6 +595,15 @@
             set { m_DirectFlg = value; }
         }
 
+        /// <summary>
+        /// æ–°è¦�ç”³è«‹ãƒ•ãƒ©ã‚°
+        /// </summary>
+        public bool NewApprovalFlg
+        {
+            get { return m_NewApprovalFlg; }
+            set { m_NewApprovalFlg = value; }
+        }
+
         #endregion
 
         #region ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
@@ -992,7 +1010,7 @@
         /// <param name="e"></param>
         private void dgvOrdersList_SelectionChanged(object sender, EventArgs e)
         {
-            DataGridView dgv = dgvAllDisplay;
+            DataGridViewEX dgv = dgvAllDisplay;
             if (m_BeforeGridRow != -1)
             {
                 DefaultRowChangeColor(m_BeforeGridRow);
@@ -1030,7 +1048,7 @@
                 // ãƒ•ã‚©ãƒ¼ã‚«ã‚¹å¤‰æ›´å‡¦ç�†
                 GetFocusContorol(sender);
 
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // èª­è¾¼å°‚ç”¨ã‚»ãƒ«ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (dgv.CurrentCell.ReadOnly) return;
@@ -1089,7 +1107,7 @@
                 // å€¤ã�«å¤‰åŒ–ã�Œç„¡ã�‘ã‚Œã�°å‡¦ç�†ã�—ã�ªã�„
                 if (!m_InDataChange) return;
 
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // æ˜Žç´°ã‚°ãƒªãƒƒãƒ‰è¡Œè¨ˆç®—å‡¦ç�†
                 if (!CalculateDetailGridRow(dgv)) return;
@@ -1116,7 +1134,7 @@
             {
                 foreach (PurchaseOrderInputPage CurPage in m_TabPageList)
                 {
-                    DataGridView dgv = CurPage.Group4DataGridView;
+                    DataGridViewEX dgv = CurPage.Group4DataGridView;
                     // ç°¡æ˜“ç‰ˆæ”¯æ‰•ã�„æ�¡ä»¶
                     CurPage.EntryGroupBox[(int)PageGroupBox.SimpleTypeGroup].Visible = true;
                     // æ­£è¦�ç‰ˆæ”¯æ‰•ã�„æ�¡ä»¶
@@ -1140,7 +1158,7 @@
             {
                 foreach (PurchaseOrderInputPage CurPage in m_TabPageList)
                 {
-                    DataGridView dgv = CurPage.Group4DataGridView;
+                    DataGridViewEX dgv = CurPage.Group4DataGridView;
                     // ç°¡æ˜“ç‰ˆæ”¯æ‰•ã�„æ�¡ä»¶
                     CurPage.EntryGroupBox[(int)PageGroupBox.SimpleTypeGroup].Visible = false;
                     // æ­£è¦�ç‰ˆæ”¯æ‰•ã�„æ�¡ä»¶
@@ -1312,7 +1330,7 @@
             if (m_BeforeDetailColumnCount != e.ColumnIndex || m_BeforeDetailRowCount != e.RowIndex)
                 return;
 
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
 
             // ç�¾åœ¨å…¥åŠ›å€¤å�–å¾—
             switch (e.ColumnIndex)
@@ -1354,7 +1372,7 @@
                 // ãƒ•ã‚©ãƒ¼ã‚«ã‚¹å¤‰æ›´å‡¦ç�†
                 GetFocusContorol(sender);
 
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // èª­è¾¼å°‚ç”¨ã‚»ãƒ«ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (dgv.CurrentCell.ReadOnly) return;
@@ -1464,7 +1482,7 @@
         /// <param name="e"></param>
         private void FrmPurchaseOrderEntry_KeyDown(object sender, KeyEventArgs e)
         {
-            // DataGridviewã�¯å‡¦ç�†ã�—ã�ªã�„
+            // DataGridViewEXã�¯å‡¦ç�†ã�—ã�ªã�„
             if (ActiveControl.GetType().Equals(typeof(DataGridViewEX))) return;
 
             //Enterã‚­ãƒ¼ã�ŒæŠ¼ã�•ã‚Œã�¦ã�„ã‚‹ã�‹ç¢ºèª�
@@ -1706,10 +1724,11 @@
         /// <param name="e"></param>
         private void button1_Click(object sender, EventArgs e)
         {
-            FrmPOConvert frm = new FrmPOConvert();
-            frm.ShowDialog();
-            frm.Dispose();
-            frm = null;
+            //FrmPOConvert frm = new FrmPOConvert();
+            //frm.ShowDialog();
+            //frm.Dispose();
+            //frm = null;
+            RateSet();
         }
         #endregion
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntry.resx
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntry.resx	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntry.resx	(revision 355)
@@ -150,4 +150,7 @@
   <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>
 </root>
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntryAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntryAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntryAuxiliary.cs	(revision 355)
@@ -80,7 +80,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
 
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
 
@@ -146,7 +146,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
 
                 for (int i = 0; i < dgv.ColumnCount; i++)
@@ -234,6 +234,7 @@
             {
                 frm.OrderFrm = this;
                 frm.ConstructionCode = m_ConstructionCode;
+                if (m_NewApprovalFlg) frm.NewApprovalFlg = m_NewApprovalFlg;
                 frm.ShowDialog();
 
                 // çµ‚äº†é�¸æŠžæ™‚
@@ -661,7 +662,7 @@
 
                 int Linecnt = 0;
                 double TotalPrice = 0;
-                DataGridView dgv = inputpage.Group1DataGridView;
+                DataGridViewEX dgv = inputpage.Group1DataGridView;
                 foreach (ConstructionLedgerDetail DetailRec in DetailList)
                 {
                     // 14è¡Œä»¥ä¸Šã�¯å‡¦ç�†ã�—ã�ªã�„(æ³•å®šç¦�åˆ©è²»è¿½åŠ ã�®ã�Ÿã‚�1è¡Œæ¸›)
@@ -738,7 +739,7 @@
         /// <returns></returns>
         private bool SetStatutoryWelfare(PurchaseOrderInputPage inputpage, int Linecnt, double TotalPrice)
         {
-            DataGridView dgv = inputpage.Group1DataGridView;
+            DataGridViewEX dgv = inputpage.Group1DataGridView;
             try
             {
                 // æ³•å®šç¦�åˆ©è²»ã�®ã‚»ãƒƒãƒˆ
@@ -767,6 +768,8 @@
                 CurRow.Cells[(int)DispDetailGridColumn.SourceCode].Value = 0;
                 // ãƒ‡ãƒ¼ã‚¿ã‚¿ã‚¤ãƒ—
                 CurRow.Cells[(int)DispDetailGridColumn.DataType].Value = (int)PurchaseOrderDetail.DataTypeFlagDef.StatutoryWelfare;
+                // æ³•å®šç¦�åˆ©è²»çŽ‡
+                CurRow.Cells[(int)DispDetailGridColumn.SWRate].Value = CommonMotions.SystemMasterData.StatutoryWelfareRate.ToString("0.0");
 
                 // æ³•å®šç¦�åˆ©è²»ã�¯è¨ˆç®—ã�®ã�¿ã�ªã�®ã�§è¡Œãƒ­ãƒƒã‚¯
                 CurRow.ReadOnly = true;
@@ -1027,8 +1030,9 @@
                     GetRow.Cells[(int)DispDetailGridColumn.UnitPrice].Value = DetailRec.UnitPrice.ToString("#,#");	            // å�˜ä¾¡
                     GetRow.Cells[(int)DispDetailGridColumn.PriceValue].Value = DetailRec.OrdersLinePrice.ToString("#,0");       // é‡‘é¡�
                     GetRow.Cells[(int)DispDetailGridColumn.SourceCode].Value = DetailRec.SourceCode;                            // å…ƒå·¥äº‹ç•ªå�·
-                    GetRow.Cells[(int)DispDetailGridColumn.LedgerDetailNo].Value = DetailRec.SourceDetailCnt;                       // å…ƒå�°å¸³æ˜Žç´°ç•ªå�·
+                    GetRow.Cells[(int)DispDetailGridColumn.LedgerDetailNo].Value = DetailRec.SourceDetailCnt;                   // å…ƒå�°å¸³æ˜Žç´°ç•ªå�·
                     GetRow.Cells[(int)DispDetailGridColumn.DataType].Value = DetailRec.DataTypeFlag;                            // ãƒ‡ãƒ¼ã‚¿ã‚¿ã‚¤ãƒ—
+                    GetRow.Cells[(int)DispDetailGridColumn.SWRate].Value = DetailRec.StatutoryWelfareRate.ToString("0.0");      // æ³•å®šç¦�åˆ©è²»çŽ‡
 
                     GetRow.Cells[(int)DispDetailGridColumn.BudgetValue].Value = CommonMotions.cnvInt(ObjRec[DetailFeildCnt]);   // äºˆç®—æ›¸é‡‘é¡�
                     GetRow.Cells[(int)DispDetailGridColumn.PreviousValue].Value = CommonMotions.cnvDouble(ObjRec[DetailFeildCnt])
@@ -1736,8 +1740,9 @@
                     DatailRec.UnitPrice = CommonMotions.cnvInt(GetRow.Cells[(int)DispDetailGridColumn.UnitPrice].Value);	        // å�˜ä¾¡
                     DatailRec.OrdersLinePrice = CommonMotions.cnvDouble(GetRow.Cells[(int)DispDetailGridColumn.PriceValue].Value);  // é‡‘é¡�
                     DatailRec.SourceCode = CommonMotions.cnvInt(GetRow.Cells[(int)DispDetailGridColumn.SourceCode].Value);          // å…ƒå·¥äº‹ç•ªå�·
-                    DatailRec.SourceDetailCnt = CommonMotions.cnvInt(GetRow.Cells[(int)DispDetailGridColumn.LedgerDetailNo].Value);     // å…ƒå�°å¸³æ˜Žç´°ç•ªå�·
+                    DatailRec.SourceDetailCnt = CommonMotions.cnvInt(GetRow.Cells[(int)DispDetailGridColumn.LedgerDetailNo].Value); // å…ƒå�°å¸³æ˜Žç´°ç•ªå�·
                     DatailRec.DataTypeFlag = CommonMotions.cnvInt(GetRow.Cells[(int)DispDetailGridColumn.DataType].Value);          // ãƒ‡ãƒ¼ã‚¿ã‚¿ã‚¤ãƒ—
+                    DatailRec.StatutoryWelfareRate = CommonMotions.cnvDouble(GetRow.Cells[(int)DispDetailGridColumn.SWRate].Value); // æ³•å®šç¦�åˆ©è²»çŽ‡
 
                     // ãƒ‡ãƒ¼ã‚¿æ›¸è¾¼ã�¿
                     if (!DetailDB.InsertAction(DatailRec, false))
@@ -1892,7 +1897,7 @@
                 int TargetCode = 0;
                 StringBuilder strSQL = new StringBuilder();
 
-                DataGridView dgv = DataTab.Group1DataGridView;
+                DataGridViewEX dgv = DataTab.Group1DataGridView;
                 foreach (DataGridViewRow CurRow in dgv.Rows)
                 {
                     // å�°å¸³å·¥äº‹ç•ªå�·
@@ -2012,7 +2017,7 @@
                         return false;
                     }
                     // å�°å¸³ã�®æ³¨æ–‡æ›¸ä½œæˆ�ãƒ•ãƒ©ã‚°ã‚’OFFã�«ã�™ã‚‹
-                    DataGridView dgv = DataTab.Group1DataGridView;
+                    DataGridViewEX dgv = DataTab.Group1DataGridView;
                     int SourceCode = 0;
                     int SourceLine = 0;
                     foreach (DataGridViewRow CurRow in dgv.Rows)
@@ -2077,7 +2082,7 @@
             // ã‚¿ãƒ–ã‚«ã‚¦ãƒ³ãƒˆå�–å¾—
             int TabCnt = TabCollections.SelectedIndex;
             PurchaseOrderInputPage DataTab = m_TabPageList[TabCnt];
-            DataGridView dgv = DataTab.Group1DataGridView;
+            DataGridViewEX dgv = DataTab.Group1DataGridView;
             DataGridViewRow GetRow = dgv.CurrentRow;
             Color[] wrkSave = new Color[2];
             bool bLineDel = false;
@@ -2392,7 +2397,7 @@
         /// æ˜Žç´°ã‚°ãƒªãƒƒãƒ‰è¡Œè¨ˆç®—å‡¦ç�†
         /// </summary>
         /// <param name="dgv"></param>
-        private bool CalculateDetailGridRow(DataGridView dgv)
+        private bool CalculateDetailGridRow(DataGridViewEX dgv)
         {
             try
             {
@@ -2447,7 +2452,7 @@
         /// æ˜Žç´°ã‚°ãƒªãƒƒãƒ‰å�ˆè¨ˆè¨ˆç®—å‡¦ç�†
         /// </summary>
         /// <param name="dgv"></param>
-        private void CalculateDetailGridTotal(DataGridView dgv)
+        private void CalculateDetailGridTotal(DataGridViewEX dgv)
         {
             try
             {
@@ -2517,7 +2522,7 @@
             try
             {
                 PurchaseOrderInputPage DataTab = m_TabPageList[TabCollections.SelectedIndex];
-                DataGridView dgv = DataTab.Group1DataGridView;
+                DataGridViewEX dgv = DataTab.Group1DataGridView;
 
                 // ç„¡åŠ¹è¡Œã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (dgv.CurrentRow.Index < 1) return;
@@ -2525,7 +2530,7 @@
                     CommonMotions.chkCellBlank(dgv.CurrentRow.Cells[(int)DispDetailGridColumn.SecondName].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction(dgv, (int)DispDetailGridColumn.GroupNo, (int)DispDetailGridColumn.PriceValue);
+                DataTab.Group1DataGridView.GridRowUpAction((int)DispDetailGridColumn.GroupNo, (int)DispDetailGridColumn.PriceValue);
             }
             catch (Exception ex)
             {
@@ -2543,7 +2548,7 @@
             try
             {
                 PurchaseOrderInputPage DataTab = m_TabPageList[TabCollections.SelectedIndex];
-                DataGridView dgv = DataTab.Group1DataGridView;
+                DataGridViewEX dgv = DataTab.Group1DataGridView;
 
                 // ç„¡åŠ¹è¡Œã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (CommonMotions.chkCellBlank(dgv.CurrentRow.Cells[(int)DispDetailGridColumn.FirstName].Value) &&
@@ -2553,7 +2558,7 @@
                     CommonMotions.chkCellBlank(dgv.Rows[NextRow].Cells[(int)DispDetailGridColumn.SecondName].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction(dgv, (int)DispDetailGridColumn.GroupNo, (int)DispDetailGridColumn.PriceValue);
+                DataTab.Group1DataGridView.GridRowDownAction((int)DispDetailGridColumn.GroupNo, (int)DispDetailGridColumn.PriceValue);
             }
             catch (Exception ex)
             {
@@ -2652,9 +2657,9 @@
                     TextBox wrk = (TextBox)sender;
                     iRet = SearchTextBoxName(wrk);
                 }
-                else if (sender.GetType().Equals(typeof(DataGridView)) || sender.GetType().Equals(typeof(DataGridViewEX)))
+                else if (sender.GetType().Equals(typeof(DataGridViewEX)) || sender.GetType().Equals(typeof(DataGridViewEX)))
                 {
-                    DataGridView wrk = (DataGridView)sender;
+                    DataGridViewEX wrk = (DataGridViewEX)sender;
                     iRet = SearchDataGridViewName(wrk);
                 }
                 else if (sender.GetType().Equals(typeof(RadioButton)))
@@ -2831,7 +2836,7 @@
         /// </summary>
         /// <param name="wrk"></param>
         /// <returns></returns>
-        private int SearchDataGridViewName(DataGridView wrk)
+        private int SearchDataGridViewName(DataGridViewEX wrk)
         {
             try
             {
@@ -3091,7 +3096,7 @@
         /// ç™ºæ³¨æ�¡ä»¶ã�®å›ºå®šè¡Œã‚’è¡¨ç¤ºã�™ã‚‹
         /// </summary>
         /// <param name="dgv"></param>
-        private void SetGroup4Line(DataGridView dgv)
+        private void SetGroup4Line(DataGridViewEX dgv)
         {
             try
             {
@@ -3198,5 +3203,79 @@
         }
         #endregion
 
+        // > ----------- ãƒ‡ãƒ�ãƒƒã‚¯å‡¦ç�†
+        #region ç¦�åˆ©åŽšç”Ÿè²»ã‚»ãƒƒãƒˆå‡¦ç�†
+        /// <summary>
+        /// ç¦�åˆ©åŽšç”Ÿè²»ã‚»ãƒƒãƒˆå‡¦ç�†
+        /// </summary>
+        private void RateSet()
+        {
+            IOPurchaseOrderDetail ADB = new IOPurchaseOrderDetail();
+            try
+            {
+                StringBuilder strSQL = new StringBuilder();
+                strSQL.Append("select");
+                strSQL.Append(" A.ConstructionCode");
+                strSQL.Append(", A.SeqNo");
+                strSQL.Append(", (100 - ROUND((C.Price / A.OrderPrice) * 100.0, 2)) As OrderPriceA");
+                strSQL.Append(", A.CompanyCode");
+                strSQL.Append(", A.OrderPrice");
+
+                strSQL.Append(" From purchaseorder As A");
+
+                strSQL.Append(" Inner Join(");
+                strSQL.Append(" Select");
+                strSQL.Append("  B.ConstructionCode");
+                strSQL.Append(", B.SeqNo");
+                strSQL.Append(", SUM(B.OrdersLinePrice) As Price");
+                strSQL.Append(" From purchaseorderdetail As B");
+                strSQL.Append(" Where B.GroupCount = 0");
+                strSQL.Append(" group By");
+                strSQL.Append("   B.ConstructionCode");
+                strSQL.Append(" , B.SeqNo, B.GroupCount");
+                strSQL.Append(") As C");
+                strSQL.Append(" On C.ConstructionCode = A.ConstructionCode");
+                strSQL.Append(" And C.SeqNo = A.SeqNo");
+                strSQL.Append(" Inner Join purchaseorderdetail As D");
+                strSQL.Append(" On D.ConstructionCode = C.ConstructionCode");
+                strSQL.Append(" And D.SeqNo = C.SeqNo");
+                strSQL.Append(" And D.GroupCount = 9");
+
+                strSQL.Append(" Where");
+                strSQL.Append(" 100 - ROUND((C.Price / A.OrderPrice) * 100.0, 1) <> 0.0");
+
+                ArrayList arList = new ArrayList();
+                if (!ADB.ExecuteReader(strSQL.ToString(), ref arList)) return;
+
+                ADB.connect(); ADB.beginTran();
+                foreach (object[] objRec in arList)
+                {
+                    strSQL.Clear();
+                    strSQL.Append("Update purchaseorderdetail");
+                    strSQL.AppendFormat(" Set StatutoryWelfareRate = {0}", CommonMotions.cnvFloat(objRec[2]).ToString("0.0"));
+                    //strSQL.Append(" Set StatutoryWelfareRate = 8.0");
+                    strSQL.AppendFormat(" Where ConstructionCode = {0}", CommonMotions.cnvInt(objRec[0]));
+                    strSQL.AppendFormat(" And SeqNo = {0}", CommonMotions.cnvInt(objRec[1]));
+                    strSQL.Append(" And GroupCount = 9");
+                    if (!ADB.ExecuteNonQuery(strSQL.ToString(), false))
+                    {
+                        ADB.rollback();
+                        MessageBox.Show("æ›´æ–°ã‚¨ãƒ©ãƒ¼","ã‚¨ãƒ©ãƒ¼",MessageBoxButtons.OK);
+                        return;
+                    }
+                }
+                MessageBox.Show("æ›´æ–°å‡¦ç�†çµ‚äº†", "æ­£å¸¸çµ‚äº†", MessageBoxButtons.OK);
+                ADB.commit();
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                ADB.close(); ADB = null;
+            }
+        }
+        #endregion
     }
 }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/ProcessControl.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/ProcessControl.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/ProcessControl.cs	(revision 355)
@@ -31,13 +31,13 @@
         /// è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�®ç•ªå�·ã‚’æŒ�ã�¤
         /// </summary>
         private static int s_CurrentProcessNo = (int)ClsExcute.ProcessExecuteNo.PurchaseOrderEntry;
- 		#endregion
+        #endregion
 
         #region ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼å¤‰æ•°
         /// <summary>
         /// ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼
         /// </summary>
-        private ContextMenuStrip m_ProcessContextMenuStrip;
+        private ContextMenuStrip m_ProcessContextMenuStrip = new ContextMenuStrip();
         #endregion
 
         #region åˆ¥ãƒ—ãƒ­ã‚»ã‚¹ç§»å‹•ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä½œæˆ�
@@ -48,12 +48,8 @@
         {
             try
             {
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä¸€è¦§ã‚’ä½œæˆ�ã�™ã‚‹
-                m_ProcessContextMenuStrip = new ContextMenuStrip();
-
                 // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�®ã‚»ãƒƒãƒˆ
                 UpDateProcessContextMenu(bSubForm);
-
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/PurchaseOrderInputPage.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/PurchaseOrderInputPage.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/PurchaseOrderInputPage.cs	(revision 355)
@@ -84,7 +84,7 @@
         private Button[]                        m_Group1Button = new Button[2];
 
         /// <summary>
-        /// ç™ºæ³¨æ˜Žç´°ã‚°ãƒ«ãƒ¼ãƒ—DataGridView
+        /// ç™ºæ³¨æ˜Žç´°ã‚°ãƒ«ãƒ¼ãƒ—DataGridViewEX
         /// </summary>
         private DataGridViewEX                  m_Group1DataGridView = new DataGridViewEX();
 
@@ -140,7 +140,7 @@
 
         #region æ�¡ä»¶ã‚°ãƒ«ãƒ¼ãƒ—
         /// <summary>
-        /// æ�¡ä»¶ã‚°ãƒ«ãƒ¼ãƒ—DataGridView
+        /// æ�¡ä»¶ã‚°ãƒ«ãƒ¼ãƒ—DataGridViewEX
         /// </summary>
         private DataGridViewEX                  m_Group4DataGridView = new DataGridViewEX();
 
@@ -301,7 +301,7 @@
         }
 
         /// <summary>
-        /// ç™ºæ³¨æ˜Žç´°ã‚°ãƒ«ãƒ¼ãƒ—DataGridView
+        /// ç™ºæ³¨æ˜Žç´°ã‚°ãƒ«ãƒ¼ãƒ—DataGridViewEX
         /// </summary>
         public DataGridViewEX Group1DataGridView
         {
@@ -397,7 +397,7 @@
 
         #region æ�¡ä»¶ã‚°ãƒ«ãƒ¼ãƒ—
         /// <summary>
-        /// æ�¡ä»¶ã‚°ãƒ«ãƒ¼ãƒ—DataGridView
+        /// æ�¡ä»¶ã‚°ãƒ«ãƒ¼ãƒ—DataGridViewEX
         /// </summary>
         public DataGridViewEX Group4DataGridView
         {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/FrmPurchaseOrderPrintAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/FrmPurchaseOrderPrintAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/FrmPurchaseOrderPrintAuxiliary.cs	(revision 355)
@@ -579,7 +579,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAllDisplay;
+                DataGridViewEX dgv = dgvAllDisplay;
                 m_PrintList.Clear();
 
                 foreach (DataGridViewRow CurRow in dgv.Rows)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/ProcessControl.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/ProcessControl.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/ProcessControl.cs	(revision 355)
@@ -31,13 +31,13 @@
         /// è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�®ç•ªå�·ã‚’æŒ�ã�¤
         /// </summary>
         private static int s_CurrentProcessNo = (int)ClsExcute.ProcessExecuteNo.PurchaseOrderPrint;
- 		#endregion
+        #endregion
 
         #region ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼å¤‰æ•°
         /// <summary>
         /// ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼
         /// </summary>
-        private ContextMenuStrip m_ProcessContextMenuStrip;
+        private ContextMenuStrip m_ProcessContextMenuStrip = new ContextMenuStrip();
         #endregion
 
         #region åˆ¥ãƒ—ãƒ­ã‚»ã‚¹ç§»å‹•ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä½œæˆ�
@@ -48,12 +48,8 @@
         {
             try
             {
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä¸€è¦§ã‚’ä½œæˆ�ã�™ã‚‹
-                m_ProcessContextMenuStrip = new ContextMenuStrip();
-
                 // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�®ã‚»ãƒƒãƒˆ
                 UpDateProcessContextMenu(bSubForm);
-
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderStatus/FrmPurchaseOrderStatusAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderStatus/FrmPurchaseOrderStatusAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderStatus/FrmPurchaseOrderStatusAuxiliary.cs	(revision 355)
@@ -99,7 +99,7 @@
             IOConstructionBaseInfo cbiDB = new IOConstructionBaseInfo();
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 int NowPoint = ClsExcute.GetNowProcessPoint();
                 // Œ»�Ý�Ý’è’lƒNƒŠƒA
@@ -509,7 +509,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 // ƒf�[ƒ^•\Ž¦
                 int ino = 1;
@@ -646,7 +646,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 // ----- ‘Þ”ðŒŸ�õƒf�[ƒ^‚ª‚ ‚Á‚½�ê�‡‚ÍƒZƒbƒg‚·‚é
                 int NowPoint = ClsExcute.GetNowProcessPoint();
@@ -692,7 +692,7 @@
             // ƒtƒH�[ƒ€ƒTƒCƒYŽæ“¾
             m_FormWidthSize = this.Width;
 
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
             m_GridWidthSize = dgv.Width;
 
@@ -716,7 +716,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 int idifference = 0;
                 // �Å‘å‰»‚Ì�ê�‡
                 if (!bNormal)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseStatusInput/FrmPurchaseStatusInput.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseStatusInput/FrmPurchaseStatusInput.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseStatusInput/FrmPurchaseStatusInput.cs	(revision 355)
@@ -269,7 +269,7 @@
                 m_DataChangeFlg = true;
                 
                 // •Ï�Xƒtƒ‰ƒOON
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
                 DataGridViewRow dgvRow = dgv.CurrentRow;
                 DataGridViewCell dgvCell = dgv.CurrentCell;
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseStatusInput/FrmPurchaseStatusInputAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseStatusInput/FrmPurchaseStatusInputAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseStatusInput/FrmPurchaseStatusInputAuxiliary.cs	(revision 355)
@@ -55,7 +55,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
                 int CellCount = Enum.GetNames(typeof(DispColumn)).Length;
                 m_CellSize = new int[CellCount];
@@ -79,7 +79,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 int idifference = 0;
 
                 int CellCount = Enum.GetNames(typeof(DispColumn)).Length;
@@ -208,7 +208,7 @@
         private void DispDetail()
         {
             IOPurchaseOrder OrderDB = new IOPurchaseOrder();
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             try
             {
                 string strSQL = "select";
@@ -291,7 +291,7 @@
             try
             {
                 OrderDateDB.connect(); OrderDateDB.beginTran();
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 StringBuilder strSQL = new StringBuilder();
                 int DetailCnt = 0;
@@ -367,7 +367,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 bool bRet = true;
                 bool bAns = true;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqBillingStatInput/FrmBillingStatInputAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqBillingStatInput/FrmBillingStatInputAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqBillingStatInput/FrmBillingStatInputAuxiliary.cs	(revision 355)
@@ -55,7 +55,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
                 int CellCount = Enum.GetNames(typeof(DispColumn)).Length;
                 m_CellSize = new int[CellCount];
@@ -79,7 +79,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 int idifference = 0;
 
                 int CellCount = Enum.GetNames(typeof(DispColumn)).Length;
@@ -122,7 +122,7 @@
         private void InitDataLoad()
         {
             IOInvoiceData InvoiceDB = new IOInvoiceData();
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             try
             {
                 StringBuilder strSQL = new StringBuilder();
@@ -229,7 +229,7 @@
             IORequestOrderDate OrderDateDB = new IORequestOrderDate();
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 StringBuilder strSQL = new StringBuilder();
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqbillingStatus/FrmReqBillingStatus.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqbillingStatus/FrmReqBillingStatus.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqbillingStatus/FrmReqBillingStatus.cs	(revision 355)
@@ -280,7 +280,7 @@
         /// <param name="e"></param>
         private void dgvMaster_SelectionChanged(object sender, EventArgs e)
         {
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             DataGridViewRow CurRow = dgv.CurrentRow;
 
             // �s‘I‘ð�F‚ðŒ³‚É–ß‚·
@@ -413,7 +413,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 lblCellTotal.Text = string.Empty;
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqbillingStatus/FrmReqBillingStatusAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqbillingStatus/FrmReqBillingStatusAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ReqbillingStatus/FrmReqBillingStatusAuxiliary.cs	(revision 355)
@@ -101,7 +101,7 @@
             {
                 if (InvoiceNo == 0) return;
 
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 int NowPoint = ClsExcute.GetNowProcessPoint();
                 // Œ»�Ý�Ý’è’lƒNƒŠƒA
@@ -469,7 +469,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 // ƒf�[ƒ^•\Ž¦
                 int ino = 1;
@@ -581,7 +581,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 // ƒf�[ƒ^•\Ž¦
                 string strOrderName = string.Empty;
@@ -677,7 +677,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 // ----- ‘Þ”ðŒŸ�õƒf�[ƒ^‚ª‚ ‚Á‚½�ê�‡‚ÍƒZƒbƒg‚·‚é
                 int NowPoint = ClsExcute.GetNowProcessPoint();
@@ -723,7 +723,7 @@
             // ƒtƒH�[ƒ€ƒTƒCƒYŽæ“¾
             m_FormWidthSize = this.Width;
 
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
             m_GridWidthSize = dgv.Width;
 
@@ -747,7 +747,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 int idifference = 0;
                 // �Å‘å‰»‚Ì�ê�‡
                 if (!bNormal)
@@ -1168,7 +1168,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 // �s‚Ì�F‚ð•Ï‚¦‚é
                 for (int i = 0; i < dgv.ColumnCount; i++)
@@ -1194,7 +1194,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
 
                 // �s‚Ì�F‚ð•Ï‚¦‚é
@@ -1217,7 +1217,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 if (CurrentRow >= dgv.RowCount) return;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ReqSumTotalList/FrmReqSumTotalList.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ReqSumTotalList/FrmReqSumTotalList.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/ReqSumTotalList/FrmReqSumTotalList.cs	(revision 355)
@@ -408,7 +408,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 Label lblwrk = null;
                 lblwrk = lblCellTotal;
                 lblwrk.Text = string.Empty;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelOrderer.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelOrderer.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelOrderer.Designer.cs	(revision 355)
@@ -34,7 +34,7 @@
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
             this.label4 = new System.Windows.Forms.Label();
             this.cbReqMonth = new System.Windows.Forms.ComboBox();
-            this.dgv1 = new System.Windows.Forms.DataGridView();
+            this.dgv1 = new CustomControls.DataGridViewEX();
             this.col1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.col2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.col3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -232,7 +232,7 @@
 
         private System.Windows.Forms.Label label4;
         private System.Windows.Forms.ComboBox cbReqMonth;
-        private System.Windows.Forms.DataGridView dgv1;
+        private CustomControls.DataGridViewEX dgv1;
         private System.Windows.Forms.Button btnSelRequest;
         private System.Windows.Forms.Button btnEnd;
         private System.Windows.Forms.DataGridViewTextBoxColumn col1;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelRequest.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelRequest.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmEntryReqSelRequest.Designer.cs	(revision 355)
@@ -40,7 +40,7 @@
             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.dgv1 = new CustomControls.DataGridViewEX();
             this.col1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
             this.col2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.col3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -419,7 +419,7 @@
         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 CustomControls.DataGridViewEX dgv1;
         private System.Windows.Forms.Label label10;
         private System.Windows.Forms.ComboBox cbCreateDate;
         private System.Windows.Forms.DataGridViewCheckBoxColumn col1;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrintSel.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrintSel.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestEntry/FrmRequestPrintSel.Designer.cs	(revision 355)
@@ -44,7 +44,7 @@
             this.btnAllUnselect = new System.Windows.Forms.Button();
             this.btnAllSelect = new System.Windows.Forms.Button();
             this.lbTotalAmount = new System.Windows.Forms.Label();
-            this.dgv1 = new System.Windows.Forms.DataGridView();
+            this.dgv1 = new CustomControls.DataGridViewEX();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.col1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
             this.col2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -518,7 +518,7 @@
         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 CustomControls.DataGridViewEX dgv1;
         private System.Windows.Forms.Label label10;
         private System.Windows.Forms.ComboBox cbCreateDate;
         private System.Windows.Forms.Button btnDel;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInput.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInput.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInput.Designer.cs	(revision 355)
@@ -50,7 +50,7 @@
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
             this.label3 = new System.Windows.Forms.Label();
-            this.dgv1 = new System.Windows.Forms.DataGridView();
+            this.dgv1 = new CustomControls.DataGridViewEX();
             this.col001 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.col002 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.col003 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -525,6 +525,8 @@
             // 
             this.groupBoxEx1.BackColor = System.Drawing.Color.Gold;
             this.groupBoxEx1.BorderColor = System.Drawing.Color.White;
+            this.groupBoxEx1.Controls.Add(this.pnlNormal);
+            this.groupBoxEx1.Controls.Add(this.pnlApproval);
             this.groupBoxEx1.Controls.Add(this.label2);
             this.groupBoxEx1.Controls.Add(this.label4);
             this.groupBoxEx1.Controls.Add(this.cbReqMonth);
@@ -531,8 +533,6 @@
             this.groupBoxEx1.Controls.Add(this.label5);
             this.groupBoxEx1.Controls.Add(this.txtOrderer);
             this.groupBoxEx1.Controls.Add(this.lblReqOrder);
-            this.groupBoxEx1.Controls.Add(this.pnlNormal);
-            this.groupBoxEx1.Controls.Add(this.pnlApproval);
             this.groupBoxEx1.Location = new System.Drawing.Point(5, 52);
             this.groupBoxEx1.Name = "groupBoxEx1";
             this.groupBoxEx1.Size = new System.Drawing.Size(1320, 40);
@@ -744,7 +744,7 @@
         #endregion
 
         private System.Windows.Forms.Label label3;
-        private System.Windows.Forms.DataGridView dgv1;
+        private CustomControls.DataGridViewEX dgv1;
         private System.Windows.Forms.Label label2;
         private System.Windows.Forms.Button btnEntry;
         private System.Windows.Forms.Button btnEnd;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInput.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInput.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInput.cs	(revision 355)
@@ -157,6 +157,33 @@
         }
         #endregion
 
+        #region åˆ�æœŸèµ·å‹•ãƒ�ã‚§ãƒƒã‚¯
+        /// <summary>
+        /// åˆ�æœŸèµ·å‹•ãƒ�ã‚§ãƒƒã‚¯
+        /// </summary>
+        /// <returns></returns>
+        private bool InitExecCheck()
+        {
+            try
+            {
+                string msg = "";
+
+                // åˆ�æœŸèµ·å‹•ãƒ�ã‚§ãƒƒã‚¯
+                if (CheckInit(ref msg) == false)
+                {
+                    MessageBox.Show(msg, "èµ·å‹•ã‚¨ãƒ©ãƒ¼", MessageBoxButtons.OK);
+                    return false;
+                }
+                return true;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+                return false;
+            }
+        }
+        #endregion
+
         #region ãƒ•ã‚©ãƒ¼ãƒ ã�®ãƒ­ãƒ¼ãƒ‰
         /// <summary>
         /// ãƒ•ã‚©ãƒ¼ãƒ ã�®ãƒ­ãƒ¼ãƒ‰
@@ -163,76 +190,72 @@
         /// </summary>
         private void FrmRequestInput_Load(object sender, EventArgs e)
         {
-            string msg = "";
+            try
+            {
+                // åˆ�æœŸèµ·å‹•ãƒ�ã‚§ãƒƒã‚¯
+                if (!InitExecCheck())
+                {
+                    // å‰�ãƒ—ãƒ­ã‚»ã‚¹ã�«æˆ»ã‚‹
+                    ClsExcute.BackProcess();
+                    this.Close();
+                    return;
+                }
 
-            // åˆ�æœŸèµ·å‹•ãƒ�ã‚§ãƒƒã‚¯
-            if( CheckInit(ref msg) == false ){
-                ShowMessageBox(msg, "è«‹æ±‚å…¥åŠ›", MessageBoxButtons.OK, MessageBoxIcon.Error);
+                // ã‚¤ãƒ™ãƒ³ãƒˆå‰Šé™¤
+                dgv1.CellValueChanged -= dgv1_CellValueChanged;
 
-                m_EndButton = DialogResult.Cancel;
+                // DataGridViewEXã�«é …ç›®å��ã‚’è¨­å®š
+                SetGridDisplay();
 
-                // å‰�ãƒ—ãƒ­ã‚»ã‚¹ã�«æˆ»ã‚‹
-                ClsExcute.BackProcess();
+                // è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
+                GetRequestDispData();
 
-                this.Close();
+                // è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®è¨­å®š
+                SetRequestDispData();
 
-                return;
-            }
+                // è«‹æ±‚æœˆã�®è¨­å®š
+                SetRequestMonth();
 
-            dgv1.CellValueChanged -= dgv1_CellValueChanged;
+                for (int i = 1; i < m_nMaxOrderNo; i++)
+                {
+                    int tcol = (int)ColumnName.Request01 + i;
 
-            // DataGridViewã�«é …ç›®å��ã‚’è¨­å®š
-            SetGridDisplay();
+                    dgv1.Columns[tcol].Visible = true;
+                }
 
-            // è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®å�–å¾—
-            GetRequestDispData();
+                // [å›žæ•°è¿½åŠ ]ãƒœã‚¿ãƒ³ã�®åˆ¶å¾¡
+                btnAdd.Enabled = GetbtnAddEnabled();
 
-            // è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ã�®è¨­å®š
-            SetRequestDispData();
+                // ç”»é�¢å·¦ä¸Šã�«åˆ†å‰²ã�‹ä¸€æ‹¬ã�‹ã‚’è¡¨ç¤º
+                if (BillingSplit())
+                {
+                    SeparateBillingLabel.Visible = true;
+                    CombinedOrderLabel.Visible = false;
+                }
+                else
+                {
+                    SeparateBillingLabel.Visible = false;
+                    CombinedOrderLabel.Visible = true;
+                }
 
-            // è«‹æ±‚æœˆã�®è¨­å®š
-            SetRequestMonth();
+                if (m_bEdit == false)
+                {
+                    btnEntry.Enabled = false;
+                }
 
-            for (int i = 1; i < m_nMaxOrderNo; i++)
-            {
-                int tcol = (int)ColumnName.Request01 + i;
+                // *-----* å‡¦ç�†ç§»å‹•ãƒœã‚¿ãƒ³è¨­å®š *-----*
+                CreateProcessContextMenu(m_SubForm);
+                // *-----* å‡¦ç�†ç§»å‹•ãƒœã‚¿ãƒ³è¨­å®š *-----*
 
-                dgv1.Columns[tcol].Visible = true;
-            }
+                // æ‰¿èª�æ©Ÿèƒ½ç•ªå�·ã�Œ0ã�®å ´å�ˆ(=æ‰¿èª�ç”»é�¢ã�‹ã‚‰ã�®å‘¼ã�³å‡ºã�—)
+                if (m_ApprovalCode == 0) return;
 
-            // [å›žæ•°è¿½åŠ ]ãƒœã‚¿ãƒ³ã�®åˆ¶å¾¡
-            btnAdd.Enabled = GetbtnAddEnabled();
-
-
-            // ç”»é�¢å·¦ä¸Šã�«åˆ†å‰²ã�‹ä¸€æ‹¬ã�‹ã‚’è¡¨ç¤º
-            if (BillingSplit())
-            {
-                SeparateBillingLabel.Visible = true;
-                CombinedOrderLabel.Visible = false;
-            }
-            else
-            {
-                SeparateBillingLabel.Visible = false;
-                CombinedOrderLabel.Visible = true;
-            }
-
-            if( m_bEdit == false ){
-                btnEntry.Enabled = false;
-            }
-
-            // *-----* å‡¦ç�†ç§»å‹•ãƒœã‚¿ãƒ³è¨­å®š *-----*
-            CreateProcessContextMenu(m_SubForm);
-            // *-----* å‡¦ç�†ç§»å‹•ãƒœã‚¿ãƒ³è¨­å®š *-----*
-
-            // æ‰¿èª�æ©Ÿèƒ½ç•ªå�·ã�Œ0ä»¥å¤–(=æ‰¿èª�ç”»é�¢ã�‹ã‚‰ã�®å‘¼ã�³å‡ºã�—)ã�®å ´å�ˆ
-            if (m_ApprovalCode != 0)
-            {
                 pnlNormal.Visible = false;
 
                 ApprovalMaster App = null;
 
                 // æ‰¿èª�çµŒè·¯ä¸Šã�«ãƒ­ã‚°ã‚¤ãƒ³ãƒ¦ãƒ¼ã‚¶ã�Œã�‚ã‚‹å ´å�ˆã�¯ã€�æ‰¿èª�ã�®å�„ãƒœã‚¿ãƒ³ã‚’è¡¨ç¤º
-                if ( m_dicApprovalMaster.TryGetValue(CommonMotions.LoginUserData.PersonCode, out App ) == true)
+                if (m_dicApprovalMaster.TryGetValue(CommonMotions.LoginUserData.PersonCode, out App) == true)
                 {
                     pnlApproval.Visible = true;
                 }
@@ -240,14 +263,18 @@
                 // ã��ã�®ä»–ä¸�è¦�ã�ªãƒœã‚¿ãƒ³ã‚‚é�žè¡¨ç¤º
                 btnOtherProc.Visible = false;           // ã��ã�®ä»–ç”»é�¢ãƒœã‚¿ãƒ³
                 btnAdd.Visible = false;                 // å›žæ•°è¿½åŠ ãƒœã‚¿ãƒ³
-                btnEntry.Visible = false;           // ç™»éŒ²ãƒœã‚¿ãƒ³
-
+                btnEntry.Visible = false;               // ç™»éŒ²ãƒœã‚¿ãƒ³
             }
-
-            dgv1.CellValueChanged += dgv1_CellValueChanged;
-
-            m_bDirty = false;
-
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                // ã‚¤ãƒ™ãƒ³ãƒˆç™»éŒ²
+                dgv1.CellValueChanged += dgv1_CellValueChanged;
+                m_bDirty = false;
+            }
         }
         #endregion
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInputAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInputAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInputAuxiliary.cs	(revision 355)
@@ -12,6 +12,7 @@
 using ProcessManagement.DataModel;
 using ProcessManagement.DB.IOAccess;
 using ProcessManagement.Forms.SubForms;
+using ProcessManagement.Forms.CustomControls;
 using ProcessManagement.Forms.ControlsAction;
 using ProcessManagement.Forms.DataEntry;
 
@@ -21,7 +22,7 @@
     {
         #region å®šæ•°
         /// <summary>
-        /// DataGridViewåŒºåˆ†
+        /// DataGridViewEXåŒºåˆ†
         /// </summary>
         private enum dgvKind
         {
@@ -220,9 +221,9 @@
 
         #region ãƒ‡ãƒ¼ã‚¿ã‚°ãƒªãƒƒãƒ‰ãƒ“ãƒ¥é–¢é€£ãƒ¡ã‚½ãƒƒãƒ‰
 
-        #region DataGridViewã�®åˆ�æœŸè¡¨ç¤ºè¨­å®š
+        #region DataGridViewEXã�®åˆ�æœŸè¡¨ç¤ºè¨­å®š
         /// <summary>
-        /// DataGridViewã�®åˆ�æœŸè¡¨ç¤ºè¨­å®š
+        /// DataGridViewEXã�®åˆ�æœŸè¡¨ç¤ºè¨­å®š
         /// </summary>
         private void SetGridDisplay()
         {
@@ -277,7 +278,7 @@
         /// <summary>
         /// ãƒ˜ãƒƒãƒ€éƒ¨ã�®æ§‹ç¯‰
         /// </summary>
-        private int Createheader(DataGridView dgv)
+        private int Createheader(DataGridViewEX dgv)
         {
             string[] title = new string[] { "è«‹æ±‚æœˆ", "æ‰¿èª�çŠ¶æ…‹", "è«‹æ±‚å�ˆè¨ˆ", "è«‹æ±‚é‡‘é¡�", "æ¶ˆè²»ç¨Ž", "æœªå…¥é‡‘åˆ†" };
             int rowsNum = title.Count();
@@ -312,7 +313,7 @@
         /// <summary>
         /// ãƒœãƒ‡ã‚£éƒ¨ã�®æ§‹ç¯‰
         /// </summary>
-        private int CreateBody(DataGridView dgv, int cnt)
+        private int CreateBody(DataGridViewEX dgv, int cnt)
         {
             try
             {
@@ -360,7 +361,7 @@
         /// <summary>
         /// ãƒ•ãƒƒã‚¿éƒ¨ã�®æ§‹ç¯‰
         /// </summary>
-        private int CreateFooter(DataGridView dgv, int cnt)
+        private int CreateFooter(DataGridViewEX dgv, int cnt)
         {
             try
             {
@@ -744,15 +745,15 @@
         /// </summary>
         private bool CheckInit(ref string msg)
         {
-            string sql;
 
             IOConstructionBaseInfo ioInfo = new IOConstructionBaseInfo();
             IORequestHead ioReqHead = new IORequestHead();
+            try
+            {
+                msg = "èµ·å‹•ã�«å¤±æ•—ã�—ã�¾ã�—ã�Ÿã€‚";
 
-            msg = "èµ·å‹•ã�«å¤±æ•—ã�—ã�¾ã�—ã�Ÿã€‚";
+                string sql = string.Empty;
 
-            try
-            {
                 // å·¥äº‹åŸºæœ¬æƒ…å ±ã�®å�–å¾—
                 ConstructionBaseInfo Info = new ConstructionBaseInfo();
                 sql = ioInfo.CreatePrimarykeyString(m_ConstructionCode);
@@ -1466,8 +1467,6 @@
 
                 ReqHead.ReqConstructionCode = m_ConstructionCode;           // è«‹æ±‚å·¥äº‹ç•ªå�·
 
-                string str;
-
                 // è«‹æ±‚Noã�¯ç™»éŒ²æ™‚ã�«æŽ¡ç•ªï¼ˆåˆ�æœŸå€¤ï¼‰  
 
                 // å�—ä»˜ç•ªå�·ã�¯å¼•æ•°ã�®å�—ä»˜ç•ªå�·ã�«æº–æ‹                                       
@@ -1479,6 +1478,7 @@
                 ReqHead.OrderersCode = m_BaseConstructionBaseInfo.OrderersCode;           // ç™ºæ³¨è€…ã‚³ãƒ¼ãƒ‰
 
                 // ç™ºæ³¨è€…å��
+                string str = string.Empty;
                 m_dicBaseConstructionString.TryGetValue((int)ConstructionBaseInfoDetail.DataNoDef.OrderersName, out str);
                 ReqHead.OrderersName = str;
 
@@ -2163,25 +2163,14 @@
         {
             try
             {
-                int yyyymm;
-                int nState;
-                int now_yyyymm;
-
-                int key;
-                string val;
-                KeyValuePair<int, string> keyval;
-                RequestHead ReqHead;
-
-                yyyymm = 0;
-                now_yyyymm = 0;
-
+                int yyyymm = 0;
                 for (int i = m_nMaxOrderNo - 1; i >= 0; i--)
                 {
                     // è«‹æ±‚ãƒ˜ãƒƒãƒ€ã�®å�–å¾—
-                    ReqHead = m_lstRequestHead[i];
+                    RequestHead ReqHead = m_lstRequestHead[i];
 
                     // å�—ä»˜çŠ¶æ…‹ã‚’å�–å¾—
-                    nState = m_lstOrderState[i];
+                    int nState = m_lstOrderState[i];
 
                     // æœ€çµ‚æ‰¿èª�æ¸ˆä»¥å¤–ã�¯å¯¾è±¡å¤–
                     if (nState != (int)ApprovalState.End)
@@ -2199,12 +2188,13 @@
                 DateTime dt = DateTime.Today;
                 List<KeyValuePair<int, string>> lst = new List<KeyValuePair<int, string>>();
 
+                int now_yyyymm = 0;
                 // å…ˆæœˆã�‹ã‚‰3ã‚«æœˆå¾Œã�¾ã�§
                 for (int i = -1; i < 4; i++)
                 {
                     DateTime wk = dt.AddMonths(i);
 
-                    key = CommonMotions.cnvInt(wk.ToString("yyyyMM"));
+                    int key = CommonMotions.cnvInt(wk.ToString("yyyyMM"));
 
                     if (i == 0)
                     {
@@ -2214,11 +2204,9 @@
                     // æœ€çµ‚æ‰¿èª�æ¸ˆã�®è«‹æ±‚æœˆä»¥ä¸Šã�®å¹´æœˆã� ã�‘è¿½åŠ 
                     if (key >= yyyymm)
                     {
-                        val = wk.ToString("yyyy/MM");
+                        string val = wk.ToString("yyyy/MM");
 
-                        keyval = new KeyValuePair<int, string>(key, val);
-
-                        lst.Add(keyval);
+                        lst.Add(new KeyValuePair<int, string>(key, val));
                     }
                 }
 
@@ -2229,12 +2217,12 @@
                 ComboBoxAction.InitDataSetCombBox(cbReqMonth, lst, false);
 
                 // æœ€æ–°ã�®è«‹æ±‚ãƒ˜ãƒƒãƒ€ã€�å�—ä»˜çŠ¶æ…‹ã�®å�–å¾—
-                ReqHead = m_lstRequestHead[m_nMaxOrderNo - 1];
-                nState = m_lstOrderState[m_nMaxOrderNo - 1];
+                RequestHead ReqHead2 = m_lstRequestHead[m_nMaxOrderNo - 1];
+                int nState2 = m_lstOrderState[m_nMaxOrderNo - 1];
 
-                if (ReqHead.RequestNo != 0)
+                if (ReqHead2.RequestNo != 0)
                 {
-                    cbReqMonth.SelectedValue = ReqHead.RequestMonth;
+                    cbReqMonth.SelectedValue = ReqHead2.RequestMonth;
                 }
                 else
                 {
@@ -2242,7 +2230,7 @@
                 }
 
                 // ç›´è¿‘å�—ä»˜ã�Œæœ€çµ‚æ‰¿èª�æ¸ˆã�®å ´å�ˆ
-                if (nState == (int)ApprovalState.End)
+                if (nState2 == (int)ApprovalState.End)
                 {
                     // è«‹æ±‚å¹´æœˆã�¯å¤‰æ›´ä¸�å�¯
                     cbReqMonth.Enabled = false;
@@ -2489,7 +2477,6 @@
         }
         #endregion
 
-
         #endregion
 
         #region è«‹æ±‚å›žæ•°è¿½åŠ é–¢é€£
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/ProcessControl.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/ProcessControl.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInput/ProcessControl.cs	(revision 355)
@@ -35,7 +35,7 @@
         /// <summary>
         /// ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼
         /// </summary>
-        private ContextMenuStrip m_ProcessContextMenuStrip;
+        private ContextMenuStrip m_ProcessContextMenuStrip = new ContextMenuStrip();
         #endregion
 
         #region ä»–ãƒ—ãƒ­ã‚»ã‚¹ãƒ•ã‚©ãƒ¼ãƒ é…�åˆ—å¤‰æ•°
@@ -53,12 +53,8 @@
         {
             try
             {
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä¸€è¦§ã‚’ä½œæˆ�ã�™ã‚‹
-                m_ProcessContextMenuStrip = new ContextMenuStrip();
-
                 // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�®ã‚»ãƒƒãƒˆ
                 UpDateProcessContextMenu(bSubForm);
-
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputListAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestInputList/FrmReqInputListAuxiliary.cs	(revision 355)
@@ -113,7 +113,7 @@
         {
             try
             {
-                DataGridView dgv = dgvEntry;
+                DataGridViewEX dgv = dgvEntry;
 
                 int NowPoint = ClsExcute.GetNowProcessPoint();
                 // Œ»�Ý�Ý’è’lƒNƒŠƒA
@@ -428,7 +428,7 @@
             IOPurchaseOrder OrderDB = new IOPurchaseOrder();
             try
             {
-                DataGridView dgv = dgvEntry;
+                DataGridViewEX dgv = dgvEntry;
 
                 // ƒf�[ƒ^•\Ž¦
                 int ino = 1;
@@ -614,7 +614,7 @@
         {
             try
             {
-                DataGridView dgv = dgvEntry;
+                DataGridViewEX dgv = dgvEntry;
 
                 int NowPoint = ClsExcute.GetNowProcessPoint();
 
@@ -674,7 +674,7 @@
                 // ƒtƒH�[ƒ€ƒTƒCƒYŽæ“¾
                 m_FormWidthSize = this.Width;
 
-                DataGridView dgv = dgvEntry;
+                DataGridViewEX dgv = dgvEntry;
                 // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
                 m_GridWidthSize = dgv.Width;
 
@@ -701,7 +701,7 @@
         {
             try
             {
-                DataGridView dgv = dgvEntry;
+                DataGridViewEX dgv = dgvEntry;
                 int idifference = 0;
                 // �Å‘å‰»‚Ì�ê�‡
                 if (!bNormal)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestPrintList/FrmReqPrintList.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestPrintList/FrmReqPrintList.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestPrintList/FrmReqPrintList.cs	(revision 355)
@@ -365,7 +365,7 @@
         /// <param name="e"></param>
         private void dgvEntry_SelectionChanged(object sender, EventArgs e)
         {
-            DataGridView dgv = dgvEntry;
+            DataGridViewEX dgv = dgvEntry;
             DataGridViewRow CurRow = dgv.CurrentRow;
 
             // �s‘I‘ð�F‚ðŒ³‚É–ß‚·
@@ -388,7 +388,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 lblCellTotal.Text = string.Empty;
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestPrintList/FrmReqPrintListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestPrintList/FrmReqPrintListAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestPrintList/FrmReqPrintListAuxiliary.cs	(revision 355)
@@ -399,7 +399,7 @@
         {
             try
             {
-                DataGridView dgv = dgvEntry;
+                DataGridViewEX dgv = dgvEntry;
 
                 // ƒf�[ƒ^•\Ž¦
                 int ino = 1;
@@ -501,7 +501,7 @@
         {
             try
             {
-                DataGridView dgv = dgvEntry;
+                DataGridViewEX dgv = dgvEntry;
 
                 int NowPoint = ClsExcute.GetNowProcessPoint();
 
@@ -561,7 +561,7 @@
                 // ƒtƒH�[ƒ€ƒTƒCƒYŽæ“¾
                 m_FormWidthSize = this.Width;
 
-                DataGridView dgv = dgvEntry;
+                DataGridViewEX dgv = dgvEntry;
                 // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
                 m_GridWidthSize = dgv.Width;
 
@@ -588,7 +588,7 @@
         {
             try
             {
-                DataGridView dgv = dgvEntry;
+                DataGridViewEX dgv = dgvEntry;
                 int idifference = 0;
                 // �Å‘å‰»‚Ì�ê�‡
                 if (!bNormal)
@@ -638,7 +638,7 @@
         {
             try
             {
-                DataGridView dgv = dgvEntry;
+                DataGridViewEX dgv = dgvEntry;
 
                 // �s‚Ì�F‚ð•Ï‚¦‚é
                 for (int i = 0; i < dgv.ColumnCount; i++)
@@ -664,7 +664,7 @@
         {
             try
             {
-                DataGridView dgv = dgvEntry;
+                DataGridViewEX dgv = dgvEntry;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
 
                 // �s‚Ì�F‚ð•Ï‚¦‚é
@@ -687,7 +687,7 @@
         {
             try
             {
-                DataGridView dgv = dgvEntry;
+                DataGridViewEX dgv = dgvEntry;
                 if (CurrentRow >= dgv.RowCount) return;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
 
@@ -724,7 +724,7 @@
         {
             try
             {
-                DataGridView dgv = dgvEntry;
+                DataGridViewEX dgv = dgvEntry;
 
                 int NowPoint = ClsExcute.GetNowProcessPoint();
                 // Œ»�Ý�Ý’è’lƒNƒŠƒA
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.cs	(revision 355)
@@ -703,7 +703,7 @@
                 if (ActiveControl == null) return;
                 if (!ActiveControl.GetType().Equals(typeof(DataGridViewEX))) return;
 
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // “Ç�ž�ê—pƒZƒ‹‚Í�ˆ—�‚µ‚È‚¢
                 if (dgv.CurrentCell.ReadOnly) return;
@@ -737,7 +737,7 @@
         /// <param name="e"></param>
         private void DataGridView_CellValueChanged(object sender, DataGridViewCellEventArgs e)
         {
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
             try
             {
                 // ˆê’UƒZƒ‹‚Ì’l•Ï�XƒCƒxƒ“ƒg‚ð–³Œø‚É‚·‚é
@@ -881,7 +881,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 if (dgv.CurrentCellAddress.X == (int)DispColumn.KyoryokuUmu && dgv.IsCurrentCellDirty)
                 {
@@ -912,7 +912,7 @@
         private void DataGridView_CellBeginEdit(object sender, DataGridViewCellCancelEventArgs e)
         {
 
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
             try
             {
                 // “ü—ÍƒJƒ‰ƒ€ˆÈŠO‚Í�ˆ—�‚µ‚È‚¢
@@ -1073,7 +1073,7 @@
         /// <param name="e"></param>
         private void DataGridView_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
         {
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
 
             try
             {
@@ -1160,7 +1160,7 @@
         {
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
 
                 // �ˆ—�‚µ‚È‚¢
                 if ((m_Select_DataCount == 0 && dgv.Rows.Count == 0)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.designer.cs	(revision 355)
@@ -1,11 +1,4 @@
-ï»¿using ProcessManagement.Common;
-using ProcessManagement.DB.IOAccess;
-using ProcessManagement.DataModel;
-using ProcessManagement.DB.Core;
-using ProcessManagement.Forms.CustomControls;
-using ProcessManagement.Forms.ControlsAction;
-
-namespace ProcessManagement.Forms.DataEntry
+ï»¿namespace ProcessManagement.Forms.DataEntry
 {
     partial class FrmRequestSummaryList
     {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryListAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryListAuxiliary.cs	(revision 355)
@@ -611,7 +611,7 @@
         /// �‰Šú•\Ž¦‚ÌƒXƒ^ƒCƒ‹‚ð•Ï�X
         /// </summary>
         /// <param name="dgv"></param>
-        private void InitDisplayStyle(DataGridView dgv)
+        private void InitDisplayStyle(DataGridViewEX dgv)
         {
             try
             {
@@ -938,7 +938,7 @@
         {
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
 
                 DataGridViewRow[] Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
                                                                                     && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible)
@@ -1025,7 +1025,7 @@
         /// ƒf�[ƒ^ƒOƒŠƒbƒhƒrƒ…�[‚Ì‘€�ì‰Â•s‰Â�Ø‚è‘Ö‚¦
         /// </summary>
         /// <param name="dgv"></param>
-        private void DataGridView_ReadOnlyChange(DataGridView dgv)
+        private void DataGridView_ReadOnlyChange(DataGridViewEX dgv)
         {
             try
             {
@@ -1107,7 +1107,7 @@
         /// <summary>
         /// Œ»�Ý•\Ž¦‚³‚ê‚Ä‚¢‚éƒOƒŠƒbƒh‚ð•Ô‚·
         /// </summary>
-        private DataGridView getShowingView()
+        private DataGridViewEX getShowingView()
         {
             try
             {
@@ -1137,7 +1137,7 @@
         {
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 Label lblwrk = null;
                 lblwrk = lblCellTotal;
                 lblwrk.Text = string.Empty;
@@ -1183,7 +1183,7 @@
             IOConstructionBaseInfo IoCbi = new IOConstructionBaseInfo();
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 // �³”F�Ï‚Ý‚Í�ˆ—�‚µ‚È‚¢
@@ -1268,7 +1268,7 @@
             FrmConstructionLedger frm2 = new FrmConstructionLedger();
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 DataGridViewRow CurRow = dgv.CurrentRow;
                 int MakeIndex = -1;
 
@@ -1374,7 +1374,7 @@
             FrmConstructionLedger frm2 = new FrmConstructionLedger();
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 DataGridViewRow CurRow = dgv.CurrentRow;
                 int MakeIndex = -1;
 
@@ -1471,7 +1471,7 @@
         /// <summary>
         /// ’�•¶�‘—X‘—�E’�•¶�‘•Ô‘—�E—\ŽZ�‘‚Ì’lŽæ“¾
         /// </summary>
-        private void SetMaruBatsuKigou(DataGridView dgv
+        private void SetMaruBatsuKigou(DataGridViewEX dgv
                                         , IOConstructionBaseInfo IoCbi
                                         , int nConstructionCode
                                         , int nNewMakeRowIndex)
@@ -1514,7 +1514,7 @@
             try
             {
                 int Result = 0;
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 // ‹ÆŽÒ‚ªŠù‚É‚ ‚ê‚ÎŽæ“¾‚·‚é
                 DataGridViewRow[] rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == nCompCode
                                                                                 && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
@@ -1586,7 +1586,7 @@
             try
             {
                 int Result = 0;
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 DataGridViewRow SelRow = null;
                 if (bCompany)
                 {
@@ -1635,7 +1635,7 @@
                                 , int iIndex = -1
                                 , string GenbaName = "")
         {
-            DataGridView dgv = getShowingView();
+            DataGridViewEX dgv = getShowingView();
             int iLineCnt = 0;
             int iGoukeiSeqNo = 0;
             int iGoukeiCode = rdbCompany.Checked ? CompanyCode : GenbaCode;
@@ -1802,7 +1802,7 @@
             IOConstructionBaseInfo IoCbi = new IOConstructionBaseInfo();
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 int nCompanyCode = CommonMotions.cnvInt(CurRow.Cells[m_Company_DispColumn].Value);
@@ -1885,7 +1885,7 @@
             FrmConstructionLedger frm2 = new FrmConstructionLedger();
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 // ƒOƒŠƒbƒh‚ÌƒR�[ƒhŽæ“¾
@@ -1958,7 +1958,7 @@
             FrmConstructionLedger frm2 = new FrmConstructionLedger();
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 // ƒOƒŠƒbƒh‚ÌƒR�[ƒhŽæ“¾
@@ -2086,7 +2086,7 @@
         {
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
 
                 // ‘Î�Û‹ÆŽÒ‚ðŽæ“¾‚·‚é
                 DataGridViewRow[] SelRows = null;
@@ -2137,7 +2137,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
                 RowsTypeDef TargetRowtype = (RowsTypeDef)dgv[(int)DispColumn.RowType, e.RowIndex].Value;
 
                 // �s�E—ñ‚ª”ÍˆÍŠO‚Í�ˆ—�‚µ‚È‚¢
@@ -2259,7 +2259,7 @@
         {
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 int DisporderCol = 0;
                 int iNo, iTop;
 
@@ -2397,7 +2397,7 @@
         {
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
 
                 DataGridViewRow[] ExistenceData = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == CompanyCode
                                                                                             && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
@@ -2449,7 +2449,7 @@
         {
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 Delete = false;
 
                 // “¯ƒOƒ‹�[ƒv‚ª‘S‚Ä–³‚­‚È‚Á‚½�ê�‡‚Í�A�‡Œv•\Ž¦‚ð�í�œ
@@ -2478,9 +2478,9 @@
         }
         #endregion
 
-        #region –Ú“I‚Ì�‡Œv�s‚ÌDataGridView‚ÌIndex‚ð•Ô‚·
+        #region –Ú“I‚Ì�‡Œv�s‚ÌDataGridViewEX‚ÌIndex‚ð•Ô‚·
         /// <summary>
-        /// –Ú“I‚Ì�‡Œv�s‚ÌDataGridView‚ÌIndex‚ð•Ô‚·
+        /// –Ú“I‚Ì�‡Œv�s‚ÌDataGridViewEX‚ÌIndex‚ð•Ô‚·
         /// </summary>
         /// <param name="CodeCol">ƒR�[ƒh—ñ”Ô�†</param>
         /// <param name="Code">ƒR�[ƒh</param>
@@ -2490,7 +2490,7 @@
         {
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 int type = (int)RowType;
                 int Result = 0;
                 DataGridViewRow[] Rows = null;
@@ -2534,7 +2534,7 @@
         private int CheckPaymentDataDetail(int CompanyCode, int SeqNo, int LineCount)
         {
             IOPaymentDataDetail IoPdD = new IOPaymentDataDetail();
-            DataGridView dgv;
+            DataGridViewEX dgv;
             try
             {
                 List<PaymentDataDetail> PdDList = new List<PaymentDataDetail>();
@@ -2575,7 +2575,7 @@
         /// <param name="iRowIndex"></param>
         /// <param name="lstDefaultShonin"></param>
         /// <returns></returns>
-        private bool SetDefaultShonin(DataGridView dgv,
+        private bool SetDefaultShonin(DataGridViewEX dgv,
                                         int iRowIndex,
                                         int DepartmentCode,
                                         ref int DataCount,
@@ -2674,7 +2674,7 @@
         /// </summary>
         /// <param name="dgv">‘Î�ÛƒOƒŠƒbƒh</param>
         /// <param name="GoukeiCd">�‡Œv’PˆÊ‚ÌƒR�[ƒh</param>
-        private void setGoukei_DataDisp(DataGridView dgv, int GoukeiCd)
+        private void setGoukei_DataDisp(DataGridViewEX dgv, int GoukeiCd)
         {
             try
             {
@@ -2794,7 +2794,7 @@
         /// <param name="dgv"></param>
         /// <param name="RowIndex"></param>
         /// <param name="Code_Column"></param>
-        private void SetKyoryokukin(DataGridView dgv, int RowIndex, int Code_Column)
+        private void SetKyoryokukin(DataGridViewEX dgv, int RowIndex, int Code_Column)
         {
             try
             {
@@ -2837,7 +2837,7 @@
         /// <param name="Code_Column">�‡Œv‚·‚é’PˆÊ‚Ì—ñ”Ô�†</param>
         /// <param name="Code">�‡Œv‚·‚é’PˆÊ‚Ì—ñ‚Ì’l</param>
         /// <param name="SetRow">‘Î�Û�‡Œv�s</param>
-        private void SetSubGoukei(DataGridView dgv, int ColIndex, int GetColIndex, int Code_Column, int Code, RowsTypeDef SetRow)
+        private void SetSubGoukei(DataGridViewEX dgv, int ColIndex, int GetColIndex, int Code_Column, int Code, RowsTypeDef SetRow)
         {
             try
             {
@@ -2866,7 +2866,7 @@
         /// <param name="CompanyCode"></param>
         private void ShoukeiSanshutu(int TargetColumn, int Code_Column, int Code)
         {
-            DataGridView dgv = getShowingView();
+            DataGridViewEX dgv = getShowingView();
             try
             {
                 if (dgv.RowCount <= 1) return;
@@ -2904,7 +2904,7 @@
         {
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
 
                 // �Ý’è�sŒŸ�õ
                 int RowIndex = SearchRowIndex(CompanyCode_Column, CompanyCode, RowsTypeDef.�‡Œv);
@@ -2945,7 +2945,7 @@
         /// <param name="GoukeiCD">�‡Œv’PˆÊƒR�[ƒh</param>
         /// <param name="DispOrder">‹¦—Í‰ïŽÐ•\Ž¦�‡</param>
         /// <param name="StartIndex">�s�ì�¬ˆÊ’u</param>
-        private void MakeGoukeiGyo(DataGridView dgv, int GoukeiCD, int DispOrder = 0, int StartIndex = -1)
+        private void MakeGoukeiGyo(DataGridViewEX dgv, int GoukeiCD, int DispOrder = 0, int StartIndex = -1)
         {
             try
             {
@@ -3148,7 +3148,7 @@
         {
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 return dgv.Rows.Count;
             }
             catch (System.Exception ex)
@@ -3352,7 +3352,7 @@
                 //int ApprovalAuthority = 0;
                 DateTime dtApproval = DateTime.MinValue;
 
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 foreach (DataGridViewRow CurRow in dgv.Rows)
                 {
                     // ”ñ•\Ž¦�s‚Í‘Î�ÛŠO
@@ -3455,7 +3455,7 @@
                     return bAns;
                 }
 
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 int nSelCnt = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible
                                                                             && CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×)
                                                                             .Count();
@@ -3487,7 +3487,7 @@
                 if (!DataEntryProcess()) return;
 
                 // ‘Î�ÛƒOƒŠƒbƒhŽæ“¾
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 // ‹N“®”Ô�†
                 int NowPoint = ClsExcute.NextProcess((int)ClsExcute.SubFormExecuteNo.ApprovalPerson);
                 // ’S“–ŽÒƒR�[ƒh
@@ -3528,7 +3528,7 @@
         {
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 int nPersonCode = 0;
 
                 foreach (DataGridViewRow CurRow in dgv.Rows)
@@ -3858,7 +3858,7 @@
             ConstructionBaseInfo Cbi = new ConstructionBaseInfo();
             PersonInChargeMaster Picm = new PersonInChargeMaster();
 
-            DataGridView dgv = getShowingView();
+            DataGridViewEX dgv = getShowingView();
 
             try
             {
@@ -4119,7 +4119,7 @@
         {
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
 
                 // ’S“–ŽÒƒf�[ƒ^Žæ“¾
                 object[] objFirst = (object[])RowData[ReadCnt];
@@ -4201,7 +4201,7 @@
         {
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 DataGridViewRow CurRow = dgv.Rows[LineCount];
 
                 int DepCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.DetailName].Value);
@@ -4295,7 +4295,7 @@
         {
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
 
                 // ‘I‘ðƒf�[ƒ^Žæ“¾
                 int SelDepCode = GetDepartmentCode();
@@ -4405,7 +4405,7 @@
         {
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
 
                 icnt = dgv.Rows.Add();
 
@@ -4892,7 +4892,7 @@
         /// <param name="ChargePaymentKind">‘Î�ÛŽx•¥‚¢‹æ•ª�@0�F�¿‹�(‘�–±�j 1�FŽx•¥(�HŽ–’S“–)</param>
         /// <param name="BpsWork"></param>
         /// <returns></returns>
-        private bool GetBpsGoukei(DataGridView dgv, int CompanyCode, int ChargePaymentKind, ref BillingPaymentSummary BpsWork)
+        private bool GetBpsGoukei(DataGridViewEX dgv, int CompanyCode, int ChargePaymentKind, ref BillingPaymentSummary BpsWork)
         {
             try
             {
@@ -4952,7 +4952,7 @@
         /// <param name="CompanyCode"></param>
         /// <param name="TargetColumn"></param>
         /// <returns></returns>
-        private long GetBpsGoukei(DataGridView dgv, int CompanyCode, DispColumn TargetColumn)
+        private long GetBpsGoukei(DataGridViewEX dgv, int CompanyCode, DispColumn TargetColumn)
         {
             long Result = 0;
             try
@@ -4983,7 +4983,7 @@
             bool bRet = true;
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
 
                 // •K—v�s’Š�o ‹ÆŽÒƒR�[ƒh�A˜A”Ô�A�s”Ô�†�¸�‡
                 DataGridViewRow[] Rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
@@ -5063,7 +5063,7 @@
             try
             {
                 bool bModify = false;
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
 
                 //�@�í�œ‘Î�Û‚Ì‹ÆŽÒƒR�[ƒh�A˜A”Ô‚Ìƒf�[ƒ^‚Ì’†‚Ì‚¢‚¸‚ê‚©‚ª‘¼ŽÒ‚É‚æ‚Á‚Ä•Ï�X‚³‚ê‚Ä‚¢‚é‚©ƒ`ƒFƒbƒN
                 var rows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
@@ -5170,7 +5170,7 @@
         {
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 // ƒJƒŒƒ“ƒg�sƒoƒbƒNƒAƒbƒv�•‘Î�Û�FƒZƒbƒg
@@ -5248,7 +5248,7 @@
         {
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 // �í�œŠm”F
@@ -5370,7 +5370,7 @@
         {
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 if (dgv == null) return;
                 DataGridViewRow CurRow = dgv.CurrentRow;
                 if (CurRow == null) return;
@@ -5496,7 +5496,7 @@
             IOConstructionLedgerDetail CLDDB = new IOConstructionLedgerDetail();
             try
             {
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
 
                 // •\Ž¦‰æ–Ê�ã‚É‹¦—Í‰ïŽÐ‚ª–³‚¢‚©‚ðƒ`ƒFƒbƒN‚·‚é
                 DataGridViewRow[] compRow = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
@@ -5571,7 +5571,7 @@
             try
             {
 
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
 
                 // •\Ž¦‰æ–Ê�ã‚É‹¦—Í‰ïŽÐ‚ª–³‚¢‚©‚ðƒ`ƒFƒbƒN‚·‚é
                 return dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowVisible].Value) == (int)RowVisibleDef.Visible).Count();
@@ -5698,7 +5698,7 @@
             IOMSubContractor IoSub = new IOMSubContractor();
 
             // ‘Î�ÛƒOƒŠƒbƒhŽæ“¾
-            DataGridView dgv = getShowingView();
+            DataGridViewEX dgv = getShowingView();
             try
             {
                 // ˆê’UƒZƒ‹‚Ì’l•Ï�XƒCƒxƒ“ƒg‚ð–³Œø‚É‚·‚é
@@ -5929,7 +5929,7 @@
             try
             {
                 // ‘Î�ÛƒOƒŠƒbƒhŽæ“¾
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 int DataCnt = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
                                                                         && CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == nCompanyCode
                                                                         && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == nSeqNo
@@ -6147,7 +6147,7 @@
                 // —ñ”Ô�†‚ª–³‚¢Žž‚ÍƒZƒbƒg‚·‚é
                 if (CommonMotions.cnvInt(CurRow.Cells[(int)DispColumn.ConstructionLedgerColNo].Value) == 0)
                 {
-                    DataGridView dgv = getShowingView();
+                    DataGridViewEX dgv = getShowingView();
                     DataGridViewRow[] TargetRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[m_Genba_Column].Value) == nConstrCode
                                                                                             && CommonMotions.cnvInt(x.Cells[(int)DispColumn.ConstructionLedgerColNo].Value) != 0)
                                                                                     .ToArray();
@@ -6528,7 +6528,7 @@
                 int nLineCnt = IoDetail.SelectMaxLineCount(strSQL.ToString(), false) + 1;
 
                 // •K—v�s’Š�o
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 DataGridViewRow[] CompanyRows = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvInt(x.Cells[(int)DispColumn.RowType].Value) == (int)RowsTypeDef.–¾�×
                                                                                          && CommonMotions.cnvInt(x.Cells[m_Company_DispColumn].Value) == nCompCode
                                                                                          && CommonMotions.cnvInt(x.Cells[(int)DispColumn.GroupSeqNo].Value) == nSeqNo)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/ProcessControl.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/ProcessControl.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/ProcessControl.cs	(revision 355)
@@ -31,13 +31,13 @@
         /// è‡ªãƒ—ãƒ­ã‚»ã‚¹ã�®ç•ªå�·ã‚’æŒ�ã�¤
         /// </summary>
         private static int s_CurrentProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestSummaryList;
- 		#endregion
+        #endregion
 
         #region ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼å¤‰æ•°
         /// <summary>
         /// ãƒ—ãƒ­ã‚»ã‚¹ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼
         /// </summary>
-        private ContextMenuStrip m_ProcessContextMenuStrip;
+        private ContextMenuStrip m_ProcessContextMenuStrip = new ContextMenuStrip();
         #endregion
 
         #region å·¥äº‹ç•ªå�·
@@ -63,12 +63,8 @@
         {
             try
             {
-                // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä¸€è¦§ã‚’ä½œæˆ�ã�™ã‚‹
-                m_ProcessContextMenuStrip = new ContextMenuStrip();
-
                 // ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã�®ã‚»ãƒƒãƒˆ
                 //UpDateProcessContextMenu(bSubForm);
-
             }
             catch (Exception ex)
             {
@@ -1367,7 +1363,7 @@
                 m_ConstructionCode = 0;
                 
                 // ã‚°ãƒªãƒƒãƒ‰å�–å¾—
-                DataGridView dgv = getShowingView();
+                DataGridViewEX dgv = getShowingView();
                 // ã‚«ãƒ¬ãƒ³ãƒˆè¡Œå�–å¾—
                 DataGridViewRow CurRow = dgv.CurrentRow;
                 // ã‚»ãƒ«ä½�ç½®å�–å¾—
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirm.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirm.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirm.Designer.cs	(revision 355)
@@ -36,7 +36,7 @@
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
             this.label3 = new System.Windows.Forms.Label();
-            this.dgvMaster = new System.Windows.Forms.DataGridView();
+            this.dgvMaster = new CustomControls.DataGridViewEX();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -608,7 +608,7 @@
         #endregion
 
         private System.Windows.Forms.Label label3;
-        private System.Windows.Forms.DataGridView dgvMaster;
+        private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Button btnEnd;
         private ProcessManagement.Forms.CustomControls.GroupBoxEx groupBox1;
         private System.Windows.Forms.Label label7;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirm.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirm.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirm.cs	(revision 355)
@@ -432,7 +432,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 lblCellTotal.Text = string.Empty;
 
@@ -472,7 +472,7 @@
         /// <param name="e"></param>
         private void dgvMaster_SelectionChanged(object sender, EventArgs e)
         {
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             // è¡Œé�¸æŠžè‰²ã‚’å…ƒã�«æˆ»ã�™
             if (m_BeforeGridRow != -1) DefaultRowChangeColor(m_BeforeGridRow);
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirmAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirmAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirmAuxiliary.cs	(revision 355)
@@ -34,7 +34,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
                 int CellCount = dgv.ColumnCount;
                 m_CellSize = new int[CellCount];
@@ -498,7 +498,7 @@
         private void DisplayData()
         {
             IORequestHead ReqHDB = new IORequestHead();
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             try
             {
                 var sql = new StringBuilder();
@@ -744,7 +744,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
                 int colcnt = dgv.Columns.Count;
                 int RowCount = CurRow.Index;
@@ -783,7 +783,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
                 // ƒJƒ‰ƒ€�”
                 int colcnt = dgv.Columns.Count;
@@ -809,7 +809,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 int CellWidth1 = m_CellSize[(int)GridColumn.OrdersName];
                 int CellWidth2 = m_CellSize[(int)GridColumn.OrderPrice];
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/FrmEntryDeposit.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/FrmEntryDeposit.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/FrmEntryDeposit.Designer.cs	(revision 355)
@@ -34,7 +34,7 @@
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
-            this.dgv1 = new System.Windows.Forms.DataGridView();
+            this.dgv1 = new CustomControls.DataGridViewEX();
             this.OrderersDivision = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.OrderersCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.TargetDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -311,7 +311,7 @@
 
         #endregion
 
-        private System.Windows.Forms.DataGridView dgv1;
+        private ProcessManagement.Forms.CustomControls.DataGridViewEX dgv1;
         private System.Windows.Forms.Button btnAccept;
         private System.Windows.Forms.Button btnEnd;
         private System.Windows.Forms.Label label1;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/FrmEntryDeposit.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/FrmEntryDeposit.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/FrmEntryDeposit.cs	(revision 355)
@@ -651,7 +651,7 @@
         /// <param name="e"></param>
         private void dgv1_CellFormatting_1(object sender, DataGridViewCellFormattingEventArgs e)
         {
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
 
             try
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/FrmSelectPayment.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/FrmSelectPayment.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/FrmSelectPayment.Designer.cs	(revision 355)
@@ -54,7 +54,7 @@
             this.label2 = new System.Windows.Forms.Label();
             this.btnShow = new System.Windows.Forms.Button();
             this.button1 = new System.Windows.Forms.Button();
-            this.dgvMaster = new System.Windows.Forms.DataGridView();
+            this.dgvMaster = new CustomControls.DataGridViewEX();
             this.No = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.RequestMonth = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.RequestNo = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -636,7 +636,7 @@
         private System.Windows.Forms.Button btnShow;
         private System.Windows.Forms.ComboBox cbTargetMonth;
         private System.Windows.Forms.Label label2;
-        private System.Windows.Forms.DataGridView dgvMaster;
+        private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Button Registration;
         private System.Windows.Forms.Button btnEnd;
         private System.Windows.Forms.Button button1;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/FrmSelectPayment.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/FrmSelectPayment.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SelectPayment/FrmSelectPayment.cs	(revision 355)
@@ -2218,7 +2218,7 @@
 
         private void dgvMaster_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
         {
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
 
             try
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SafetyPatrol/SafetyPatrolAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SafetyPatrol/SafetyPatrolAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SafetyPatrol/SafetyPatrolAuxiliary.cs	(revision 355)
@@ -111,7 +111,7 @@
         private bool SetDetailHeaderData(int bInit = (int)DataAction.NonSelData)
         {
             IOSFPData sfpDB = new IOSFPData();
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             try
             {
                 StringBuilder strSQL = new StringBuilder();
@@ -202,7 +202,7 @@
         private void SetGridData()
         {
             IOSFPDataDetail sfpDB = new IOSFPDataDetail();
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             try
             {
                 dgv.Rows.Clear();
@@ -522,7 +522,7 @@
                 strSQL.Append(sfpdDB.CreatePrimarykeyString(m_ConstructionCode, CommonMotions.cnvInt(lblDataCount.Text)));
                 sfpdDB.DeleteAction(strSQL.ToString(), false);
                 
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 int ino = 1;
                 SFPDataDetail sfpdRec = new SFPDataDetail();
                 foreach (DataGridViewRow CurRow in dgv.Rows)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SalesGraphData/FrmSalesGraphData.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SalesGraphData/FrmSalesGraphData.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SalesGraphData/FrmSalesGraphData.cs	(revision 355)
@@ -275,7 +275,7 @@
             if (dgvMaster.Rows[e.RowIndex].Cells[e.ColumnIndex].Value == null) return;
 
             // å€¤ã�Œå¤‰ã‚�ã‚Œã�°ãƒ„ãƒ¼ãƒ«ãƒ�ãƒƒãƒ—ã‚’å¤‰æ›´ã�™ã‚‹
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
             dgvMaster.Rows[e.RowIndex].Cells[e.ColumnIndex].ToolTipText
                 = CommonMotions.cnvString(dgv.Rows[e.RowIndex].Cells[e.ColumnIndex].Value);
             // å¤‰æ›´ãƒ•ãƒ©ã‚°ON
@@ -389,7 +389,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 if (dgv.CurrentCell.ReadOnly) return;
 
@@ -430,7 +430,7 @@
                 if (CommonMotions.chkObjectIsNull(dgvMaster.Rows[irowcnt - 1].Cells[(int)DispColumn.NameString].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvMaster, (int)DispColumn.GraphDataCode, (int)DispColumn.Value4);
+                dgvMaster.GridRowUpAction((int)DispColumn.GraphDataCode, (int)DispColumn.Value4);
 
                 m_bChengeAns = true;
             }
@@ -460,7 +460,7 @@
                 if (CommonMotions.cnvString(dgvMaster.Rows[irowcnt + 1].Cells[(int)DispColumn.NameString].Value).Equals("")) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvMaster, (int)DispColumn.GraphDataCode, (int)DispColumn.Value4);
+                dgvMaster.GridRowDownAction((int)DispColumn.GraphDataCode, (int)DispColumn.Value4);
 
                 m_bChengeAns = true;
             }
@@ -479,7 +479,7 @@
         /// <param name="e"></param>
         private void FrmSalesGraphData_KeyDown(object sender, KeyEventArgs e)
         {
-            // DataGridviewã�¯å‡¦ç�†ã�—ã�ªã�„
+            // DataGridViewEXã�¯å‡¦ç�†ã�—ã�ªã�„
             if (ActiveControl.Name.Equals("dgvMaster"))
             {
                 // æœ€çµ‚è¡Œæ™‚ã�®å‡¦ç�†
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SalesGraphData/FrmSalesGraphData.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SalesGraphData/FrmSalesGraphData.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SalesGraphData/FrmSalesGraphData.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmSalesGraphData
     {
@@ -346,7 +344,7 @@
 
         #endregion
 
-        private DataGridViewEX dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Button btnDataEntry;
         private System.Windows.Forms.Button btnLineEntry;
         private System.Windows.Forms.Button btnLineDelete;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SubConstrRegist/FrmSubConstrRegist.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SubConstrRegist/FrmSubConstrRegist.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SubConstrRegist/FrmSubConstrRegist.cs	(revision 355)
@@ -754,7 +754,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvJobItem, 0, 1);
+                dgvJobItem.GridRowUpAction(0, 1);
 
                 m_bChengeAns = true;
             }
@@ -776,7 +776,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvJobItem, 0, 1);
+                dgvJobItem.GridRowDownAction(0, 1);
 
                 m_bChengeAns = true;
             }
@@ -798,7 +798,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvJobLink, 0, 1);
+                dgvJobLink.GridRowUpAction(0, 1);
 
                 m_bChengeAns = true;
             }
@@ -820,7 +820,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvJobLink, 0, 1);
+                dgvJobLink.GridRowDownAction(0, 1);
 
                 m_bChengeAns = true;
             }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SubConstrRegist/FrmSubConstrRegist.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SubConstrRegist/FrmSubConstrRegist.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SubConstrRegist/FrmSubConstrRegist.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.DataEntry
+ï»¿namespace ProcessManagement.Forms.DataEntry
 {
     partial class FrmSubConstrRegist
     {
@@ -1590,7 +1588,7 @@
         private System.Windows.Forms.Label label16;
         private System.Windows.Forms.ComboBox cmbCorporateStatus;
         private System.Windows.Forms.Label label17;
-        private DataGridViewEX dgvJobItem;
+        private CustomControls.DataGridViewEX dgvJobItem;
         private System.Windows.Forms.Label label7;
         private System.Windows.Forms.TextBox txtInput10;
         private System.Windows.Forms.Label label5;
@@ -1615,7 +1613,7 @@
         private System.Windows.Forms.Button btnJobItemDelete;
         private System.Windows.Forms.Button btnJobItemUp;
         private System.Windows.Forms.Label label29;
-        private DataGridViewEX dgvJobLink;
+        private CustomControls.DataGridViewEX dgvJobLink;
         private System.Windows.Forms.Button btnJobLinkAdd;
         private System.Windows.Forms.Button btnJobLinkDelete;
         private System.Windows.Forms.Button btnJobLinkUp;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SubConstrRegist/FrmSubConstrRegistListAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SubConstrRegist/FrmSubConstrRegistListAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/SubConstrRegist/FrmSubConstrRegistListAuxiliary.cs	(revision 355)
@@ -129,7 +129,7 @@
             try
             {
                 this.Visible = false;
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 if (bNewFlg)
@@ -314,7 +314,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 int ino = 1;
                 int OPoint = -1;
                 int datamode = 0;
@@ -423,7 +423,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 // ƒOƒŠƒbƒh‚Ì�s‚ð0‚É–ß‚·
                 dgv.Rows.Clear();
@@ -447,7 +447,7 @@
             // ƒtƒH�[ƒ€ƒTƒCƒYŽæ“¾
             m_FormWidthSize = this.Width;
 
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             // ƒOƒŠƒbƒh‚Ì�î•ñ‚ðŽæ“¾‚·‚é
             m_GridWidthSize = dgv.Width;
 
@@ -468,7 +468,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 int idifference = 0;
                 // �Å‘å‰»‚Ì�ê�‡
                 if (!bNormal)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCosts.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCosts.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCosts.Designer.cs	(revision 355)
@@ -28,90 +28,90 @@
         /// </summary>
         private void InitializeComponent()
         {
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle85 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle86 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle87 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle88 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle89 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle90 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle91 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle92 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle93 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle94 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle95 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle96 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle97 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle98 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle99 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle100 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle101 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle102 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle103 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle104 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle105 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle106 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle107 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle108 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle109 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle110 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle111 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle112 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle113 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle114 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle115 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle116 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle117 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle118 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle119 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle120 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle121 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle122 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle123 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle124 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle125 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle126 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle127 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle128 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle129 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle130 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle131 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle132 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle133 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle134 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle135 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle136 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle137 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle138 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle139 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle140 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle141 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle142 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle143 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle144 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle145 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle146 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle147 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle148 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle149 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle150 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle151 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle152 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle153 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle154 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle155 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle156 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle157 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle158 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle159 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle160 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle161 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle162 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle163 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle164 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle165 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle166 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle167 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle168 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle169 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle170 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle171 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle172 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle173 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle174 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle175 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle176 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle177 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle178 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle179 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle180 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle181 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle182 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle183 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle184 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle185 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle186 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle187 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle188 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle189 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle190 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle191 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle192 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle193 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle194 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle195 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle196 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle197 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle198 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle199 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle200 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle201 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle202 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle203 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle204 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle205 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle206 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle207 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle208 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle209 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle210 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle211 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle212 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle213 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle214 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle215 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle216 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle217 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle218 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle219 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle220 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle221 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle222 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle223 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle224 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle225 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle226 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle227 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle228 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle229 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle230 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle231 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle232 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle233 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle234 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle235 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle236 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle237 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle238 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle239 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle240 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle241 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle242 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle243 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle244 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle245 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle246 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle247 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle248 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle249 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle250 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle251 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle252 = new System.Windows.Forms.DataGridViewCellStyle();
             this.label1 = new System.Windows.Forms.Label();
             this.btnEnd = new System.Windows.Forms.Button();
             this.TabControl1 = new System.Windows.Forms.TabControl();
@@ -531,14 +531,14 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.dgvPage1.BackgroundColor = System.Drawing.Color.White;
             this.dgvPage1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle85.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle85.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle85.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle85.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle85.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle85.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle85.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvPage1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle85;
+            dataGridViewCellStyle169.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle169.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle169.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle169.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle169.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle169.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle169.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvPage1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle169;
             this.dgvPage1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvPage1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.dataGridViewTextBoxColumn3,
@@ -579,9 +579,9 @@
             // 
             // dataGridViewTextBoxColumn3
             // 
-            dataGridViewCellStyle86.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle86.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle86;
+            dataGridViewCellStyle170.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle170.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle170;
             this.dataGridViewTextBoxColumn3.Frozen = true;
             this.dataGridViewTextBoxColumn3.HeaderText = "æ—¥ä»˜";
             this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
@@ -612,9 +612,9 @@
             // 
             // dataGridViewTextBoxColumn41
             // 
-            dataGridViewCellStyle87.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle87.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn41.DefaultCellStyle = dataGridViewCellStyle87;
+            dataGridViewCellStyle171.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle171.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn41.DefaultCellStyle = dataGridViewCellStyle171;
             this.dataGridViewTextBoxColumn41.Frozen = true;
             this.dataGridViewTextBoxColumn41.HeaderText = "å·¥ã€€äº‹ã€€å��ã€€ç§°";
             this.dataGridViewTextBoxColumn41.Name = "dataGridViewTextBoxColumn41";
@@ -625,9 +625,9 @@
             // 
             // dataGridViewTextBoxColumn42
             // 
-            dataGridViewCellStyle88.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle88.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn42.DefaultCellStyle = dataGridViewCellStyle88;
+            dataGridViewCellStyle172.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle172.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn42.DefaultCellStyle = dataGridViewCellStyle172;
             this.dataGridViewTextBoxColumn42.Frozen = true;
             this.dataGridViewTextBoxColumn42.HeaderText = "æ”¯ã€€æ‰•ã€€å†…ã€€å®¹";
             this.dataGridViewTextBoxColumn42.Name = "dataGridViewTextBoxColumn42";
@@ -637,10 +637,10 @@
             // 
             // Column6
             // 
-            dataGridViewCellStyle89.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle89.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle89.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.Column6.DefaultCellStyle = dataGridViewCellStyle89;
+            dataGridViewCellStyle173.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle173.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle173.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.Column6.DefaultCellStyle = dataGridViewCellStyle173;
             this.Column6.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column6.Frozen = true;
             this.Column6.HeaderText = "å€‹";
@@ -649,10 +649,10 @@
             // 
             // Column7
             // 
-            dataGridViewCellStyle90.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle90.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle90.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.Column7.DefaultCellStyle = dataGridViewCellStyle90;
+            dataGridViewCellStyle174.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle174.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle174.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.Column7.DefaultCellStyle = dataGridViewCellStyle174;
             this.Column7.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column7.Frozen = true;
             this.Column7.HeaderText = "ç�¾";
@@ -661,10 +661,10 @@
             // 
             // Column8
             // 
-            dataGridViewCellStyle91.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle91.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle91.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.Column8.DefaultCellStyle = dataGridViewCellStyle91;
+            dataGridViewCellStyle175.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle175.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle175.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.Column8.DefaultCellStyle = dataGridViewCellStyle175;
             this.Column8.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column8.Frozen = true;
             this.Column8.HeaderText = "æ³•";
@@ -683,8 +683,8 @@
             // 
             // Column4
             // 
-            dataGridViewCellStyle92.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.Column4.DefaultCellStyle = dataGridViewCellStyle92;
+            dataGridViewCellStyle176.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column4.DefaultCellStyle = dataGridViewCellStyle176;
             this.Column4.Frozen = true;
             this.Column4.HeaderText = "æ”¯æ‰•æ–¹æ³•";
             this.Column4.Name = "Column4";
@@ -694,10 +694,10 @@
             // 
             // dataGridViewTextBoxColumn43
             // 
-            dataGridViewCellStyle93.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle93.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle93.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn43.DefaultCellStyle = dataGridViewCellStyle93;
+            dataGridViewCellStyle177.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle177.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle177.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn43.DefaultCellStyle = dataGridViewCellStyle177;
             this.dataGridViewTextBoxColumn43.Frozen = true;
             this.dataGridViewTextBoxColumn43.HeaderText = "ç¨ŽæŠœæ”¯æ‰•é‡‘é¡�";
             this.dataGridViewTextBoxColumn43.Name = "dataGridViewTextBoxColumn43";
@@ -707,10 +707,10 @@
             // 
             // Column9
             // 
-            dataGridViewCellStyle94.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle94.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle94.ForeColor = System.Drawing.Color.Black;
-            this.Column9.DefaultCellStyle = dataGridViewCellStyle94;
+            dataGridViewCellStyle178.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle178.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle178.ForeColor = System.Drawing.Color.Black;
+            this.Column9.DefaultCellStyle = dataGridViewCellStyle178;
             this.Column9.Frozen = true;
             this.Column9.HeaderText = "ç¨Žè¾¼æ”¯æ‰•é‡‘é¡�";
             this.Column9.Name = "Column9";
@@ -730,9 +730,9 @@
             // 
             // dataGridViewTextBoxColumn45
             // 
-            dataGridViewCellStyle95.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle95.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn45.DefaultCellStyle = dataGridViewCellStyle95;
+            dataGridViewCellStyle179.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle179.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn45.DefaultCellStyle = dataGridViewCellStyle179;
             this.dataGridViewTextBoxColumn45.Frozen = true;
             this.dataGridViewTextBoxColumn45.HeaderText = "æ”¯æ‰•å…ˆå��ç§°";
             this.dataGridViewTextBoxColumn45.Name = "dataGridViewTextBoxColumn45";
@@ -752,10 +752,10 @@
             // 
             // Column3
             // 
-            dataGridViewCellStyle96.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle96.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle96.ForeColor = System.Drawing.Color.Black;
-            this.Column3.DefaultCellStyle = dataGridViewCellStyle96;
+            dataGridViewCellStyle180.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle180.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle180.ForeColor = System.Drawing.Color.Black;
+            this.Column3.DefaultCellStyle = dataGridViewCellStyle180;
             this.Column3.Frozen = true;
             this.Column3.HeaderText = "ä¼�ç¥¨ç•ªå�·";
             this.Column3.Name = "Column3";
@@ -765,11 +765,11 @@
             // 
             // Column14
             // 
-            dataGridViewCellStyle97.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle97.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle97.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle97.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column14.DefaultCellStyle = dataGridViewCellStyle97;
+            dataGridViewCellStyle181.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle181.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle181.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle181.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column14.DefaultCellStyle = dataGridViewCellStyle181;
             this.Column14.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column14.Frozen = true;
             this.Column14.HeaderText = "ç¢º";
@@ -778,11 +778,11 @@
             // 
             // Column20
             // 
-            dataGridViewCellStyle98.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle98.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle98.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle98.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column20.DefaultCellStyle = dataGridViewCellStyle98;
+            dataGridViewCellStyle182.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle182.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle182.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle182.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column20.DefaultCellStyle = dataGridViewCellStyle182;
             this.Column20.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column20.Frozen = true;
             this.Column20.HeaderText = "ç¢º";
@@ -850,14 +850,14 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.dgvPage2.BackgroundColor = System.Drawing.Color.White;
             this.dgvPage2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle99.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle99.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle99.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle99.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle99.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle99.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle99.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvPage2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle99;
+            dataGridViewCellStyle183.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle183.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle183.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle183.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle183.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle183.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle183.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvPage2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle183;
             this.dgvPage2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvPage2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.dataGridViewTextBoxColumn1,
@@ -898,9 +898,9 @@
             // 
             // dataGridViewTextBoxColumn1
             // 
-            dataGridViewCellStyle100.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle100.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle100;
+            dataGridViewCellStyle184.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle184.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle184;
             this.dataGridViewTextBoxColumn1.Frozen = true;
             this.dataGridViewTextBoxColumn1.HeaderText = "æ—¥ä»˜";
             this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
@@ -931,9 +931,9 @@
             // 
             // dataGridViewTextBoxColumn5
             // 
-            dataGridViewCellStyle101.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle101.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle101;
+            dataGridViewCellStyle185.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle185.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle185;
             this.dataGridViewTextBoxColumn5.Frozen = true;
             this.dataGridViewTextBoxColumn5.HeaderText = "å·¥ã€€äº‹ã€€å��ã€€ç§°";
             this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
@@ -944,9 +944,9 @@
             // 
             // dataGridViewTextBoxColumn6
             // 
-            dataGridViewCellStyle102.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle102.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle102;
+            dataGridViewCellStyle186.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle186.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle186;
             this.dataGridViewTextBoxColumn6.Frozen = true;
             this.dataGridViewTextBoxColumn6.HeaderText = "æ”¯ã€€æ‰•ã€€å†…ã€€å®¹";
             this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
@@ -956,10 +956,10 @@
             // 
             // dataGridViewButtonColumn1
             // 
-            dataGridViewCellStyle103.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle103.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle103.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn1.DefaultCellStyle = dataGridViewCellStyle103;
+            dataGridViewCellStyle187.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle187.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle187.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn1.DefaultCellStyle = dataGridViewCellStyle187;
             this.dataGridViewButtonColumn1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn1.Frozen = true;
             this.dataGridViewButtonColumn1.HeaderText = "å€‹";
@@ -968,10 +968,10 @@
             // 
             // dataGridViewButtonColumn2
             // 
-            dataGridViewCellStyle104.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle104.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle104.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn2.DefaultCellStyle = dataGridViewCellStyle104;
+            dataGridViewCellStyle188.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle188.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle188.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn2.DefaultCellStyle = dataGridViewCellStyle188;
             this.dataGridViewButtonColumn2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn2.Frozen = true;
             this.dataGridViewButtonColumn2.HeaderText = "ç�¾";
@@ -980,10 +980,10 @@
             // 
             // dataGridViewButtonColumn3
             // 
-            dataGridViewCellStyle105.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle105.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle105.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn3.DefaultCellStyle = dataGridViewCellStyle105;
+            dataGridViewCellStyle189.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle189.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle189.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn3.DefaultCellStyle = dataGridViewCellStyle189;
             this.dataGridViewButtonColumn3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn3.Frozen = true;
             this.dataGridViewButtonColumn3.HeaderText = "æ³•";
@@ -1002,8 +1002,8 @@
             // 
             // dataGridViewTextBoxColumn8
             // 
-            dataGridViewCellStyle106.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle106;
+            dataGridViewCellStyle190.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle190;
             this.dataGridViewTextBoxColumn8.Frozen = true;
             this.dataGridViewTextBoxColumn8.HeaderText = "æ”¯æ‰•æ–¹æ³•";
             this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
@@ -1013,10 +1013,10 @@
             // 
             // dataGridViewTextBoxColumn9
             // 
-            dataGridViewCellStyle107.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle107.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle107.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle107;
+            dataGridViewCellStyle191.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle191.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle191.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle191;
             this.dataGridViewTextBoxColumn9.Frozen = true;
             this.dataGridViewTextBoxColumn9.HeaderText = "ç¨ŽæŠœæ”¯æ‰•é‡‘é¡�";
             this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
@@ -1026,10 +1026,10 @@
             // 
             // Column10
             // 
-            dataGridViewCellStyle108.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle108.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle108.ForeColor = System.Drawing.Color.Black;
-            this.Column10.DefaultCellStyle = dataGridViewCellStyle108;
+            dataGridViewCellStyle192.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle192.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle192.ForeColor = System.Drawing.Color.Black;
+            this.Column10.DefaultCellStyle = dataGridViewCellStyle192;
             this.Column10.Frozen = true;
             this.Column10.HeaderText = "ç¨Žè¾¼æ”¯æ‰•é‡‘é¡�";
             this.Column10.Name = "Column10";
@@ -1049,9 +1049,9 @@
             // 
             // dataGridViewTextBoxColumn38
             // 
-            dataGridViewCellStyle109.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle109.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn38.DefaultCellStyle = dataGridViewCellStyle109;
+            dataGridViewCellStyle193.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle193.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn38.DefaultCellStyle = dataGridViewCellStyle193;
             this.dataGridViewTextBoxColumn38.Frozen = true;
             this.dataGridViewTextBoxColumn38.HeaderText = "æ”¯æ‰•å…ˆå��ç§°";
             this.dataGridViewTextBoxColumn38.Name = "dataGridViewTextBoxColumn38";
@@ -1071,10 +1071,10 @@
             // 
             // dataGridViewTextBoxColumn49
             // 
-            dataGridViewCellStyle110.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle110.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle110.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn49.DefaultCellStyle = dataGridViewCellStyle110;
+            dataGridViewCellStyle194.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle194.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle194.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn49.DefaultCellStyle = dataGridViewCellStyle194;
             this.dataGridViewTextBoxColumn49.Frozen = true;
             this.dataGridViewTextBoxColumn49.HeaderText = "ä¼�ç¥¨ç•ªå�·";
             this.dataGridViewTextBoxColumn49.Name = "dataGridViewTextBoxColumn49";
@@ -1084,11 +1084,11 @@
             // 
             // Column15
             // 
-            dataGridViewCellStyle111.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle111.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle111.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle111.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column15.DefaultCellStyle = dataGridViewCellStyle111;
+            dataGridViewCellStyle195.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle195.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle195.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle195.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column15.DefaultCellStyle = dataGridViewCellStyle195;
             this.Column15.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column15.Frozen = true;
             this.Column15.HeaderText = "ç¢º";
@@ -1097,11 +1097,11 @@
             // 
             // Column21
             // 
-            dataGridViewCellStyle112.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle112.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle112.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle112.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column21.DefaultCellStyle = dataGridViewCellStyle112;
+            dataGridViewCellStyle196.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle196.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle196.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle196.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column21.DefaultCellStyle = dataGridViewCellStyle196;
             this.Column21.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column21.Frozen = true;
             this.Column21.HeaderText = "ç¢º";
@@ -1282,14 +1282,14 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.dgvPage3.BackgroundColor = System.Drawing.Color.White;
             this.dgvPage3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle113.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle113.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle113.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle113.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle113.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle113.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle113.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvPage3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle113;
+            dataGridViewCellStyle197.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle197.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle197.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle197.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle197.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle197.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle197.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvPage3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle197;
             this.dgvPage3.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvPage3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.dataGridViewTextBoxColumn11,
@@ -1330,9 +1330,9 @@
             // 
             // dataGridViewTextBoxColumn11
             // 
-            dataGridViewCellStyle114.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle114.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn11.DefaultCellStyle = dataGridViewCellStyle114;
+            dataGridViewCellStyle198.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle198.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn11.DefaultCellStyle = dataGridViewCellStyle198;
             this.dataGridViewTextBoxColumn11.Frozen = true;
             this.dataGridViewTextBoxColumn11.HeaderText = "æ—¥ä»˜";
             this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
@@ -1363,9 +1363,9 @@
             // 
             // dataGridViewTextBoxColumn14
             // 
-            dataGridViewCellStyle115.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle115.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle115;
+            dataGridViewCellStyle199.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle199.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle199;
             this.dataGridViewTextBoxColumn14.Frozen = true;
             this.dataGridViewTextBoxColumn14.HeaderText = "å·¥ã€€äº‹ã€€å��ã€€ç§°";
             this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
@@ -1376,9 +1376,9 @@
             // 
             // dataGridViewTextBoxColumn15
             // 
-            dataGridViewCellStyle116.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle116.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn15.DefaultCellStyle = dataGridViewCellStyle116;
+            dataGridViewCellStyle200.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle200.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn15.DefaultCellStyle = dataGridViewCellStyle200;
             this.dataGridViewTextBoxColumn15.Frozen = true;
             this.dataGridViewTextBoxColumn15.HeaderText = "æ”¯ã€€æ‰•ã€€å†…ã€€å®¹";
             this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
@@ -1388,10 +1388,10 @@
             // 
             // dataGridViewButtonColumn4
             // 
-            dataGridViewCellStyle117.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle117.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle117.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn4.DefaultCellStyle = dataGridViewCellStyle117;
+            dataGridViewCellStyle201.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle201.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle201.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn4.DefaultCellStyle = dataGridViewCellStyle201;
             this.dataGridViewButtonColumn4.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn4.Frozen = true;
             this.dataGridViewButtonColumn4.HeaderText = "å€‹";
@@ -1400,10 +1400,10 @@
             // 
             // dataGridViewButtonColumn5
             // 
-            dataGridViewCellStyle118.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle118.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle118.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn5.DefaultCellStyle = dataGridViewCellStyle118;
+            dataGridViewCellStyle202.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle202.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle202.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn5.DefaultCellStyle = dataGridViewCellStyle202;
             this.dataGridViewButtonColumn5.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn5.Frozen = true;
             this.dataGridViewButtonColumn5.HeaderText = "ç�¾";
@@ -1412,10 +1412,10 @@
             // 
             // dataGridViewButtonColumn6
             // 
-            dataGridViewCellStyle119.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle119.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle119.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn6.DefaultCellStyle = dataGridViewCellStyle119;
+            dataGridViewCellStyle203.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle203.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle203.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn6.DefaultCellStyle = dataGridViewCellStyle203;
             this.dataGridViewButtonColumn6.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn6.Frozen = true;
             this.dataGridViewButtonColumn6.HeaderText = "æ³•";
@@ -1434,8 +1434,8 @@
             // 
             // dataGridViewTextBoxColumn17
             // 
-            dataGridViewCellStyle120.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle120;
+            dataGridViewCellStyle204.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle204;
             this.dataGridViewTextBoxColumn17.Frozen = true;
             this.dataGridViewTextBoxColumn17.HeaderText = "æ”¯æ‰•æ–¹æ³•";
             this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
@@ -1445,10 +1445,10 @@
             // 
             // dataGridViewTextBoxColumn18
             // 
-            dataGridViewCellStyle121.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle121.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle121.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn18.DefaultCellStyle = dataGridViewCellStyle121;
+            dataGridViewCellStyle205.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle205.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle205.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn18.DefaultCellStyle = dataGridViewCellStyle205;
             this.dataGridViewTextBoxColumn18.Frozen = true;
             this.dataGridViewTextBoxColumn18.HeaderText = "ç¨ŽæŠœæ”¯æ‰•é‡‘é¡�";
             this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
@@ -1458,10 +1458,10 @@
             // 
             // Column11
             // 
-            dataGridViewCellStyle122.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle122.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle122.ForeColor = System.Drawing.Color.Black;
-            this.Column11.DefaultCellStyle = dataGridViewCellStyle122;
+            dataGridViewCellStyle206.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle206.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle206.ForeColor = System.Drawing.Color.Black;
+            this.Column11.DefaultCellStyle = dataGridViewCellStyle206;
             this.Column11.Frozen = true;
             this.Column11.HeaderText = "ç¨Žè¾¼æ”¯æ‰•é‡‘é¡�";
             this.Column11.Name = "Column11";
@@ -1481,9 +1481,9 @@
             // 
             // dataGridViewTextBoxColumn39
             // 
-            dataGridViewCellStyle123.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle123.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn39.DefaultCellStyle = dataGridViewCellStyle123;
+            dataGridViewCellStyle207.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle207.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn39.DefaultCellStyle = dataGridViewCellStyle207;
             this.dataGridViewTextBoxColumn39.Frozen = true;
             this.dataGridViewTextBoxColumn39.HeaderText = "æ”¯æ‰•å…ˆå��ç§°";
             this.dataGridViewTextBoxColumn39.Name = "dataGridViewTextBoxColumn39";
@@ -1503,9 +1503,9 @@
             // 
             // dataGridViewTextBoxColumn51
             // 
-            dataGridViewCellStyle124.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle124.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.dataGridViewTextBoxColumn51.DefaultCellStyle = dataGridViewCellStyle124;
+            dataGridViewCellStyle208.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle208.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.dataGridViewTextBoxColumn51.DefaultCellStyle = dataGridViewCellStyle208;
             this.dataGridViewTextBoxColumn51.Frozen = true;
             this.dataGridViewTextBoxColumn51.HeaderText = "ä¼�ç¥¨ç•ªå�·";
             this.dataGridViewTextBoxColumn51.Name = "dataGridViewTextBoxColumn51";
@@ -1515,11 +1515,11 @@
             // 
             // Column16
             // 
-            dataGridViewCellStyle125.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle125.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle125.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle125.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column16.DefaultCellStyle = dataGridViewCellStyle125;
+            dataGridViewCellStyle209.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle209.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle209.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle209.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column16.DefaultCellStyle = dataGridViewCellStyle209;
             this.Column16.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column16.Frozen = true;
             this.Column16.HeaderText = "ç¢º";
@@ -1528,11 +1528,11 @@
             // 
             // Column22
             // 
-            dataGridViewCellStyle126.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle126.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle126.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle126.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column22.DefaultCellStyle = dataGridViewCellStyle126;
+            dataGridViewCellStyle210.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle210.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle210.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle210.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column22.DefaultCellStyle = dataGridViewCellStyle210;
             this.Column22.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column22.Frozen = true;
             this.Column22.HeaderText = "ç¢º";
@@ -1714,14 +1714,14 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.dgvPage4.BackgroundColor = System.Drawing.Color.White;
             this.dgvPage4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle127.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle127.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle127.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle127.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle127.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle127.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle127.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvPage4.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle127;
+            dataGridViewCellStyle211.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle211.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle211.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle211.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle211.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle211.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle211.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvPage4.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle211;
             this.dgvPage4.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvPage4.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.dataGridViewTextBoxColumn19,
@@ -1762,9 +1762,9 @@
             // 
             // dataGridViewTextBoxColumn19
             // 
-            dataGridViewCellStyle128.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle128.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn19.DefaultCellStyle = dataGridViewCellStyle128;
+            dataGridViewCellStyle212.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle212.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn19.DefaultCellStyle = dataGridViewCellStyle212;
             this.dataGridViewTextBoxColumn19.Frozen = true;
             this.dataGridViewTextBoxColumn19.HeaderText = "æ—¥ä»˜";
             this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
@@ -1795,9 +1795,9 @@
             // 
             // dataGridViewTextBoxColumn23
             // 
-            dataGridViewCellStyle129.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle129.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn23.DefaultCellStyle = dataGridViewCellStyle129;
+            dataGridViewCellStyle213.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle213.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn23.DefaultCellStyle = dataGridViewCellStyle213;
             this.dataGridViewTextBoxColumn23.Frozen = true;
             this.dataGridViewTextBoxColumn23.HeaderText = "å·¥ã€€äº‹ã€€å��ã€€ç§°";
             this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
@@ -1808,9 +1808,9 @@
             // 
             // dataGridViewTextBoxColumn24
             // 
-            dataGridViewCellStyle130.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle130.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn24.DefaultCellStyle = dataGridViewCellStyle130;
+            dataGridViewCellStyle214.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle214.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn24.DefaultCellStyle = dataGridViewCellStyle214;
             this.dataGridViewTextBoxColumn24.Frozen = true;
             this.dataGridViewTextBoxColumn24.HeaderText = "æ”¯ã€€æ‰•ã€€å†…ã€€å®¹";
             this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24";
@@ -1820,10 +1820,10 @@
             // 
             // dataGridViewButtonColumn7
             // 
-            dataGridViewCellStyle131.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle131.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle131.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn7.DefaultCellStyle = dataGridViewCellStyle131;
+            dataGridViewCellStyle215.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle215.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle215.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn7.DefaultCellStyle = dataGridViewCellStyle215;
             this.dataGridViewButtonColumn7.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn7.Frozen = true;
             this.dataGridViewButtonColumn7.HeaderText = "å€‹";
@@ -1832,10 +1832,10 @@
             // 
             // dataGridViewButtonColumn8
             // 
-            dataGridViewCellStyle132.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle132.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle132.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn8.DefaultCellStyle = dataGridViewCellStyle132;
+            dataGridViewCellStyle216.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle216.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle216.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn8.DefaultCellStyle = dataGridViewCellStyle216;
             this.dataGridViewButtonColumn8.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn8.Frozen = true;
             this.dataGridViewButtonColumn8.HeaderText = "ç�¾";
@@ -1844,10 +1844,10 @@
             // 
             // dataGridViewButtonColumn9
             // 
-            dataGridViewCellStyle133.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle133.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle133.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn9.DefaultCellStyle = dataGridViewCellStyle133;
+            dataGridViewCellStyle217.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle217.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle217.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn9.DefaultCellStyle = dataGridViewCellStyle217;
             this.dataGridViewButtonColumn9.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn9.Frozen = true;
             this.dataGridViewButtonColumn9.HeaderText = "æ³•";
@@ -1866,8 +1866,8 @@
             // 
             // dataGridViewTextBoxColumn26
             // 
-            dataGridViewCellStyle134.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dataGridViewTextBoxColumn26.DefaultCellStyle = dataGridViewCellStyle134;
+            dataGridViewCellStyle218.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dataGridViewTextBoxColumn26.DefaultCellStyle = dataGridViewCellStyle218;
             this.dataGridViewTextBoxColumn26.Frozen = true;
             this.dataGridViewTextBoxColumn26.HeaderText = "æ”¯æ‰•æ–¹æ³•";
             this.dataGridViewTextBoxColumn26.Name = "dataGridViewTextBoxColumn26";
@@ -1877,10 +1877,10 @@
             // 
             // dataGridViewTextBoxColumn28
             // 
-            dataGridViewCellStyle135.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle135.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle135.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn28.DefaultCellStyle = dataGridViewCellStyle135;
+            dataGridViewCellStyle219.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle219.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle219.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn28.DefaultCellStyle = dataGridViewCellStyle219;
             this.dataGridViewTextBoxColumn28.Frozen = true;
             this.dataGridViewTextBoxColumn28.HeaderText = "ç¨ŽæŠœæ”¯æ‰•é‡‘é¡�";
             this.dataGridViewTextBoxColumn28.Name = "dataGridViewTextBoxColumn28";
@@ -1890,10 +1890,10 @@
             // 
             // Column12
             // 
-            dataGridViewCellStyle136.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle136.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle136.ForeColor = System.Drawing.Color.Black;
-            this.Column12.DefaultCellStyle = dataGridViewCellStyle136;
+            dataGridViewCellStyle220.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle220.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle220.ForeColor = System.Drawing.Color.Black;
+            this.Column12.DefaultCellStyle = dataGridViewCellStyle220;
             this.Column12.Frozen = true;
             this.Column12.HeaderText = "ç¨Žè¾¼æ”¯æ‰•é‡‘é¡�";
             this.Column12.Name = "Column12";
@@ -1912,9 +1912,9 @@
             // 
             // dataGridViewTextBoxColumn46
             // 
-            dataGridViewCellStyle137.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle137.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn46.DefaultCellStyle = dataGridViewCellStyle137;
+            dataGridViewCellStyle221.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle221.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn46.DefaultCellStyle = dataGridViewCellStyle221;
             this.dataGridViewTextBoxColumn46.Frozen = true;
             this.dataGridViewTextBoxColumn46.HeaderText = "æ”¯æ‰•å…ˆå��ç§°";
             this.dataGridViewTextBoxColumn46.Name = "dataGridViewTextBoxColumn46";
@@ -1934,10 +1934,10 @@
             // 
             // dataGridViewTextBoxColumn53
             // 
-            dataGridViewCellStyle138.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle138.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle138.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn53.DefaultCellStyle = dataGridViewCellStyle138;
+            dataGridViewCellStyle222.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle222.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle222.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn53.DefaultCellStyle = dataGridViewCellStyle222;
             this.dataGridViewTextBoxColumn53.Frozen = true;
             this.dataGridViewTextBoxColumn53.HeaderText = "ä¼�ç¥¨ç•ªå�·";
             this.dataGridViewTextBoxColumn53.Name = "dataGridViewTextBoxColumn53";
@@ -1947,11 +1947,11 @@
             // 
             // Column17
             // 
-            dataGridViewCellStyle139.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle139.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle139.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle139.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column17.DefaultCellStyle = dataGridViewCellStyle139;
+            dataGridViewCellStyle223.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle223.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle223.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle223.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column17.DefaultCellStyle = dataGridViewCellStyle223;
             this.Column17.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column17.Frozen = true;
             this.Column17.HeaderText = "ç¢º";
@@ -1960,11 +1960,11 @@
             // 
             // Column23
             // 
-            dataGridViewCellStyle140.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle140.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle140.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle140.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column23.DefaultCellStyle = dataGridViewCellStyle140;
+            dataGridViewCellStyle224.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle224.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle224.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle224.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column23.DefaultCellStyle = dataGridViewCellStyle224;
             this.Column23.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column23.Frozen = true;
             this.Column23.HeaderText = "ç¢º";
@@ -2145,14 +2145,14 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.dgvPage5.BackgroundColor = System.Drawing.Color.White;
             this.dgvPage5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle141.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle141.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle141.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle141.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle141.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle141.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle141.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvPage5.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle141;
+            dataGridViewCellStyle225.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle225.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle225.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle225.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle225.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle225.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle225.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvPage5.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle225;
             this.dgvPage5.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvPage5.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.dataGridViewTextBoxColumn27,
@@ -2193,9 +2193,9 @@
             // 
             // dataGridViewTextBoxColumn27
             // 
-            dataGridViewCellStyle142.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle142.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn27.DefaultCellStyle = dataGridViewCellStyle142;
+            dataGridViewCellStyle226.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle226.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn27.DefaultCellStyle = dataGridViewCellStyle226;
             this.dataGridViewTextBoxColumn27.Frozen = true;
             this.dataGridViewTextBoxColumn27.HeaderText = "æ—¥ä»˜";
             this.dataGridViewTextBoxColumn27.Name = "dataGridViewTextBoxColumn27";
@@ -2226,9 +2226,9 @@
             // 
             // dataGridViewTextBoxColumn31
             // 
-            dataGridViewCellStyle143.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle143.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn31.DefaultCellStyle = dataGridViewCellStyle143;
+            dataGridViewCellStyle227.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle227.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn31.DefaultCellStyle = dataGridViewCellStyle227;
             this.dataGridViewTextBoxColumn31.Frozen = true;
             this.dataGridViewTextBoxColumn31.HeaderText = "å·¥ã€€äº‹ã€€å��ã€€ç§°";
             this.dataGridViewTextBoxColumn31.Name = "dataGridViewTextBoxColumn31";
@@ -2239,9 +2239,9 @@
             // 
             // dataGridViewTextBoxColumn32
             // 
-            dataGridViewCellStyle144.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle144.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn32.DefaultCellStyle = dataGridViewCellStyle144;
+            dataGridViewCellStyle228.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle228.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn32.DefaultCellStyle = dataGridViewCellStyle228;
             this.dataGridViewTextBoxColumn32.Frozen = true;
             this.dataGridViewTextBoxColumn32.HeaderText = "æ”¯ã€€æ‰•ã€€å†…ã€€å®¹";
             this.dataGridViewTextBoxColumn32.Name = "dataGridViewTextBoxColumn32";
@@ -2251,10 +2251,10 @@
             // 
             // dataGridViewButtonColumn10
             // 
-            dataGridViewCellStyle145.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle145.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle145.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn10.DefaultCellStyle = dataGridViewCellStyle145;
+            dataGridViewCellStyle229.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle229.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle229.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn10.DefaultCellStyle = dataGridViewCellStyle229;
             this.dataGridViewButtonColumn10.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn10.Frozen = true;
             this.dataGridViewButtonColumn10.HeaderText = "å€‹";
@@ -2263,10 +2263,10 @@
             // 
             // dataGridViewButtonColumn11
             // 
-            dataGridViewCellStyle146.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle146.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle146.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn11.DefaultCellStyle = dataGridViewCellStyle146;
+            dataGridViewCellStyle230.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle230.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle230.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn11.DefaultCellStyle = dataGridViewCellStyle230;
             this.dataGridViewButtonColumn11.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn11.Frozen = true;
             this.dataGridViewButtonColumn11.HeaderText = "ç�¾";
@@ -2275,10 +2275,10 @@
             // 
             // dataGridViewButtonColumn12
             // 
-            dataGridViewCellStyle147.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle147.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle147.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn12.DefaultCellStyle = dataGridViewCellStyle147;
+            dataGridViewCellStyle231.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle231.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle231.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn12.DefaultCellStyle = dataGridViewCellStyle231;
             this.dataGridViewButtonColumn12.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn12.Frozen = true;
             this.dataGridViewButtonColumn12.HeaderText = "æ³•";
@@ -2297,8 +2297,8 @@
             // 
             // dataGridViewTextBoxColumn34
             // 
-            dataGridViewCellStyle148.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dataGridViewTextBoxColumn34.DefaultCellStyle = dataGridViewCellStyle148;
+            dataGridViewCellStyle232.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dataGridViewTextBoxColumn34.DefaultCellStyle = dataGridViewCellStyle232;
             this.dataGridViewTextBoxColumn34.Frozen = true;
             this.dataGridViewTextBoxColumn34.HeaderText = "æ”¯æ‰•æ–¹æ³•";
             this.dataGridViewTextBoxColumn34.Name = "dataGridViewTextBoxColumn34";
@@ -2308,10 +2308,10 @@
             // 
             // dataGridViewTextBoxColumn36
             // 
-            dataGridViewCellStyle149.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle149.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle149.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn36.DefaultCellStyle = dataGridViewCellStyle149;
+            dataGridViewCellStyle233.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle233.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle233.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn36.DefaultCellStyle = dataGridViewCellStyle233;
             this.dataGridViewTextBoxColumn36.Frozen = true;
             this.dataGridViewTextBoxColumn36.HeaderText = "ç¨ŽæŠœæ”¯æ‰•é‡‘é¡�";
             this.dataGridViewTextBoxColumn36.Name = "dataGridViewTextBoxColumn36";
@@ -2321,10 +2321,10 @@
             // 
             // Column13
             // 
-            dataGridViewCellStyle150.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle150.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle150.ForeColor = System.Drawing.Color.Black;
-            this.Column13.DefaultCellStyle = dataGridViewCellStyle150;
+            dataGridViewCellStyle234.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle234.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle234.ForeColor = System.Drawing.Color.Black;
+            this.Column13.DefaultCellStyle = dataGridViewCellStyle234;
             this.Column13.Frozen = true;
             this.Column13.HeaderText = "ç¨Žè¾¼æ”¯æ‰•é‡‘é¡�";
             this.Column13.Name = "Column13";
@@ -2344,9 +2344,9 @@
             // 
             // dataGridViewTextBoxColumn47
             // 
-            dataGridViewCellStyle151.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle151.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn47.DefaultCellStyle = dataGridViewCellStyle151;
+            dataGridViewCellStyle235.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle235.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn47.DefaultCellStyle = dataGridViewCellStyle235;
             this.dataGridViewTextBoxColumn47.Frozen = true;
             this.dataGridViewTextBoxColumn47.HeaderText = "æ”¯æ‰•å…ˆå��ç§°";
             this.dataGridViewTextBoxColumn47.Name = "dataGridViewTextBoxColumn47";
@@ -2366,10 +2366,10 @@
             // 
             // dataGridViewTextBoxColumn55
             // 
-            dataGridViewCellStyle152.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle152.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle152.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn55.DefaultCellStyle = dataGridViewCellStyle152;
+            dataGridViewCellStyle236.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle236.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle236.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn55.DefaultCellStyle = dataGridViewCellStyle236;
             this.dataGridViewTextBoxColumn55.Frozen = true;
             this.dataGridViewTextBoxColumn55.HeaderText = "ä¼�ç¥¨ç•ªå�·";
             this.dataGridViewTextBoxColumn55.Name = "dataGridViewTextBoxColumn55";
@@ -2379,11 +2379,11 @@
             // 
             // Column18
             // 
-            dataGridViewCellStyle153.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle153.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle153.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle153.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column18.DefaultCellStyle = dataGridViewCellStyle153;
+            dataGridViewCellStyle237.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle237.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle237.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle237.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column18.DefaultCellStyle = dataGridViewCellStyle237;
             this.Column18.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column18.Frozen = true;
             this.Column18.HeaderText = "ç¢º";
@@ -2392,11 +2392,11 @@
             // 
             // Column24
             // 
-            dataGridViewCellStyle154.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle154.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle154.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle154.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column24.DefaultCellStyle = dataGridViewCellStyle154;
+            dataGridViewCellStyle238.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle238.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle238.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle238.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column24.DefaultCellStyle = dataGridViewCellStyle238;
             this.Column24.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column24.Frozen = true;
             this.Column24.HeaderText = "ç¢º";
@@ -2719,14 +2719,14 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.dgvPage6.BackgroundColor = System.Drawing.Color.White;
             this.dgvPage6.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle155.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle155.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle155.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle155.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle155.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle155.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle155.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvPage6.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle155;
+            dataGridViewCellStyle239.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle239.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle239.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            dataGridViewCellStyle239.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle239.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle239.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle239.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvPage6.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle239;
             this.dgvPage6.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvPage6.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.dataGridViewTextBoxColumn56,
@@ -2767,9 +2767,9 @@
             // 
             // dataGridViewTextBoxColumn56
             // 
-            dataGridViewCellStyle156.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle156.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn56.DefaultCellStyle = dataGridViewCellStyle156;
+            dataGridViewCellStyle240.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle240.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn56.DefaultCellStyle = dataGridViewCellStyle240;
             this.dataGridViewTextBoxColumn56.Frozen = true;
             this.dataGridViewTextBoxColumn56.HeaderText = "æ—¥ä»˜";
             this.dataGridViewTextBoxColumn56.Name = "dataGridViewTextBoxColumn56";
@@ -2800,9 +2800,9 @@
             // 
             // dataGridViewTextBoxColumn59
             // 
-            dataGridViewCellStyle157.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle157.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn59.DefaultCellStyle = dataGridViewCellStyle157;
+            dataGridViewCellStyle241.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle241.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn59.DefaultCellStyle = dataGridViewCellStyle241;
             this.dataGridViewTextBoxColumn59.Frozen = true;
             this.dataGridViewTextBoxColumn59.HeaderText = "å·¥ã€€äº‹ã€€å��ã€€ç§°";
             this.dataGridViewTextBoxColumn59.Name = "dataGridViewTextBoxColumn59";
@@ -2813,9 +2813,9 @@
             // 
             // dataGridViewTextBoxColumn60
             // 
-            dataGridViewCellStyle158.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle158.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn60.DefaultCellStyle = dataGridViewCellStyle158;
+            dataGridViewCellStyle242.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle242.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn60.DefaultCellStyle = dataGridViewCellStyle242;
             this.dataGridViewTextBoxColumn60.Frozen = true;
             this.dataGridViewTextBoxColumn60.HeaderText = "æ”¯ã€€æ‰•ã€€å†…ã€€å®¹";
             this.dataGridViewTextBoxColumn60.Name = "dataGridViewTextBoxColumn60";
@@ -2825,10 +2825,10 @@
             // 
             // dataGridViewButtonColumn13
             // 
-            dataGridViewCellStyle159.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle159.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle159.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn13.DefaultCellStyle = dataGridViewCellStyle159;
+            dataGridViewCellStyle243.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle243.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle243.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn13.DefaultCellStyle = dataGridViewCellStyle243;
             this.dataGridViewButtonColumn13.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn13.Frozen = true;
             this.dataGridViewButtonColumn13.HeaderText = "å€‹";
@@ -2837,10 +2837,10 @@
             // 
             // dataGridViewButtonColumn14
             // 
-            dataGridViewCellStyle160.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle160.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle160.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn14.DefaultCellStyle = dataGridViewCellStyle160;
+            dataGridViewCellStyle244.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle244.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle244.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn14.DefaultCellStyle = dataGridViewCellStyle244;
             this.dataGridViewButtonColumn14.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn14.Frozen = true;
             this.dataGridViewButtonColumn14.HeaderText = "ç�¾";
@@ -2849,10 +2849,10 @@
             // 
             // dataGridViewButtonColumn15
             // 
-            dataGridViewCellStyle161.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle161.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle161.SelectionBackColor = System.Drawing.Color.Transparent;
-            this.dataGridViewButtonColumn15.DefaultCellStyle = dataGridViewCellStyle161;
+            dataGridViewCellStyle245.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle245.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle245.SelectionBackColor = System.Drawing.Color.Transparent;
+            this.dataGridViewButtonColumn15.DefaultCellStyle = dataGridViewCellStyle245;
             this.dataGridViewButtonColumn15.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.dataGridViewButtonColumn15.Frozen = true;
             this.dataGridViewButtonColumn15.HeaderText = "æ³•";
@@ -2871,8 +2871,8 @@
             // 
             // dataGridViewTextBoxColumn62
             // 
-            dataGridViewCellStyle162.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.dataGridViewTextBoxColumn62.DefaultCellStyle = dataGridViewCellStyle162;
+            dataGridViewCellStyle246.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.dataGridViewTextBoxColumn62.DefaultCellStyle = dataGridViewCellStyle246;
             this.dataGridViewTextBoxColumn62.Frozen = true;
             this.dataGridViewTextBoxColumn62.HeaderText = "æ”¯æ‰•æ–¹æ³•";
             this.dataGridViewTextBoxColumn62.Name = "dataGridViewTextBoxColumn62";
@@ -2882,10 +2882,10 @@
             // 
             // dataGridViewTextBoxColumn63
             // 
-            dataGridViewCellStyle163.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle163.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle163.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn63.DefaultCellStyle = dataGridViewCellStyle163;
+            dataGridViewCellStyle247.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle247.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle247.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn63.DefaultCellStyle = dataGridViewCellStyle247;
             this.dataGridViewTextBoxColumn63.Frozen = true;
             this.dataGridViewTextBoxColumn63.HeaderText = "ç¨ŽæŠœæ”¯æ‰•é‡‘é¡�";
             this.dataGridViewTextBoxColumn63.Name = "dataGridViewTextBoxColumn63";
@@ -2895,10 +2895,10 @@
             // 
             // dataGridViewTextBoxColumn64
             // 
-            dataGridViewCellStyle164.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle164.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle164.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn64.DefaultCellStyle = dataGridViewCellStyle164;
+            dataGridViewCellStyle248.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle248.Font = new System.Drawing.Font("Century", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle248.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn64.DefaultCellStyle = dataGridViewCellStyle248;
             this.dataGridViewTextBoxColumn64.Frozen = true;
             this.dataGridViewTextBoxColumn64.HeaderText = "ç¨Žè¾¼æ”¯æ‰•é‡‘é¡�";
             this.dataGridViewTextBoxColumn64.Name = "dataGridViewTextBoxColumn64";
@@ -2918,9 +2918,9 @@
             // 
             // dataGridViewTextBoxColumn66
             // 
-            dataGridViewCellStyle165.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle165.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn66.DefaultCellStyle = dataGridViewCellStyle165;
+            dataGridViewCellStyle249.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle249.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn66.DefaultCellStyle = dataGridViewCellStyle249;
             this.dataGridViewTextBoxColumn66.Frozen = true;
             this.dataGridViewTextBoxColumn66.HeaderText = "æ”¯æ‰•å…ˆå��ç§°";
             this.dataGridViewTextBoxColumn66.Name = "dataGridViewTextBoxColumn66";
@@ -2940,10 +2940,10 @@
             // 
             // dataGridViewTextBoxColumn68
             // 
-            dataGridViewCellStyle166.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle166.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            dataGridViewCellStyle166.ForeColor = System.Drawing.Color.Black;
-            this.dataGridViewTextBoxColumn68.DefaultCellStyle = dataGridViewCellStyle166;
+            dataGridViewCellStyle250.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle250.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            dataGridViewCellStyle250.ForeColor = System.Drawing.Color.Black;
+            this.dataGridViewTextBoxColumn68.DefaultCellStyle = dataGridViewCellStyle250;
             this.dataGridViewTextBoxColumn68.Frozen = true;
             this.dataGridViewTextBoxColumn68.HeaderText = "ä¼�ç¥¨ç•ªå�·";
             this.dataGridViewTextBoxColumn68.Name = "dataGridViewTextBoxColumn68";
@@ -2953,11 +2953,11 @@
             // 
             // Column19
             // 
-            dataGridViewCellStyle167.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle167.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle167.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle167.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column19.DefaultCellStyle = dataGridViewCellStyle167;
+            dataGridViewCellStyle251.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle251.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle251.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle251.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column19.DefaultCellStyle = dataGridViewCellStyle251;
             this.Column19.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column19.Frozen = true;
             this.Column19.HeaderText = "ç¢º";
@@ -2966,11 +2966,11 @@
             // 
             // Column25
             // 
-            dataGridViewCellStyle168.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle168.BackColor = System.Drawing.SystemColors.ButtonFace;
-            dataGridViewCellStyle168.ForeColor = System.Drawing.Color.Transparent;
-            dataGridViewCellStyle168.SelectionForeColor = System.Drawing.Color.Transparent;
-            this.Column25.DefaultCellStyle = dataGridViewCellStyle168;
+            dataGridViewCellStyle252.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle252.BackColor = System.Drawing.SystemColors.ButtonFace;
+            dataGridViewCellStyle252.ForeColor = System.Drawing.Color.Transparent;
+            dataGridViewCellStyle252.SelectionForeColor = System.Drawing.Color.Transparent;
+            this.Column25.DefaultCellStyle = dataGridViewCellStyle252;
             this.Column25.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.Column25.Frozen = true;
             this.Column25.HeaderText = "ç¢º";
@@ -2988,9 +2988,9 @@
             this.panel3.Controls.Add(this.label3);
             this.panel3.Controls.Add(this.label4);
             this.panel3.Controls.Add(this.comboBox1);
-            this.panel3.Location = new System.Drawing.Point(6, 40);
+            this.panel3.Location = new System.Drawing.Point(5, 40);
             this.panel3.Name = "panel3";
-            this.panel3.Size = new System.Drawing.Size(1325, 44);
+            this.panel3.Size = new System.Drawing.Size(1334, 44);
             this.panel3.TabIndex = 0;
             // 
             // cmbDepartment
@@ -3079,7 +3079,7 @@
             this.pnlApproval.Controls.Add(this.lblApprovalCount);
             this.pnlApproval.Controls.Add(this.btnPetition);
             this.pnlApproval.Controls.Add(this.btnApproval);
-            this.pnlApproval.Location = new System.Drawing.Point(1069, 3);
+            this.pnlApproval.Location = new System.Drawing.Point(1077, 3);
             this.pnlApproval.Name = "pnlApproval";
             this.pnlApproval.Size = new System.Drawing.Size(262, 34);
             this.pnlApproval.TabIndex = 109;
@@ -3133,7 +3133,7 @@
             this.pnlApprovalButton.Controls.Add(this.btnOnApproval);
             this.pnlApprovalButton.Controls.Add(this.btnNotApproval);
             this.pnlApprovalButton.Controls.Add(this.btnOnHold);
-            this.pnlApprovalButton.Location = new System.Drawing.Point(1069, 3);
+            this.pnlApprovalButton.Location = new System.Drawing.Point(1077, 3);
             this.pnlApprovalButton.Name = "pnlApprovalButton";
             this.pnlApprovalButton.Size = new System.Drawing.Size(262, 34);
             this.pnlApprovalButton.TabIndex = 110;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCosts.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCosts.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCosts.cs	(revision 355)
@@ -324,7 +324,7 @@
         /// <summary>
         /// ã‚°ãƒªãƒƒãƒ‰ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ä¿�æŒ�é…�åˆ—
         /// </summary>
-        private DataGridView[] m_dispGridControl;
+        private DataGridViewEX[] m_dispGridControl;
 
         /// <summary>
         /// ãƒ©ãƒ™ãƒ«ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ä¿�æŒ�é…�åˆ—
@@ -559,7 +559,7 @@
                     return;
                 }
 
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // èª­è¾¼å°‚ç”¨ã‚»ãƒ«ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (dgv.CurrentCell.ReadOnly) return;
@@ -598,7 +598,7 @@
                 // å�‚ç…§æ™‚ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (m_EditLock) return;
 
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
                 DataGridViewRow CurRow = dgv.CurrentRow;
                 DataGridViewCell CurCell = dgv.CurrentCell;
                 // å¯¾è±¡ã‚¿ãƒ–ãƒšãƒ¼ã‚¸å�–å¾—
@@ -652,7 +652,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
                 Label lblwrk = lblCellTotal;
 
                 lblwrk.Text = string.Empty;
@@ -844,7 +844,7 @@
                 // å�‚ç…§æ™‚ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (m_EditLock) return;
 
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
                 DataGridViewRow dgvRow = dgv.CurrentRow;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã�ŒREADONLYã�¯å‡¦ç�†ã�—ã�ªã�„
@@ -944,7 +944,7 @@
                     default:
                         break;
                 }
-                DataGridView dgv = m_dispGridControl[CurTabCnt];
+                DataGridViewEX dgv = m_dispGridControl[CurTabCnt];
                 dgv.EndEdit();
             }
             catch (System.Exception ex)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCostsAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCostsAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/TAndPCosts/FrmTAndPCostsAuxiliary.cs	(revision 355)
@@ -39,7 +39,7 @@
                 }
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã�®ã‚»ãƒƒãƒˆ
-                m_dispGridControl = new DataGridView[] { dgvPage1, dgvPage2, dgvPage3, dgvPage4, dgvPage5, dgvPage6 };
+                m_dispGridControl = new DataGridViewEX[] { dgvPage1, dgvPage2, dgvPage3, dgvPage4, dgvPage5, dgvPage6 };
 
                 // è¡¨ç¤ºãƒ©ãƒ™ãƒ«ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã�®ã‚»ãƒƒãƒˆ
                 int LabelCnt = Enum.GetNames(typeof(DispControl)).Length;
@@ -89,7 +89,7 @@
             {
                 // è¡¨ç¤ºã‚¯ãƒªã‚¢
                 ClearDisplay();
-                foreach (DataGridView dgv in m_dispGridControl)
+                foreach (DataGridViewEX dgv in m_dispGridControl)
                 {
                     dgv.Rows.Clear();
                 }
@@ -578,7 +578,7 @@
         /// </summary>
         /// <param name="dgv"></param>
         /// <param name="LastDays"></param>
-        private void SetGridInit(DataGridView dgv, int LastDays)
+        private void SetGridInit(DataGridViewEX dgv, int LastDays)
         {
             try
             {
@@ -678,7 +678,7 @@
                 }
 
                 // è©²å½“ã‚°ãƒªãƒƒãƒ‰å�–å¾—
-                DataGridView dgv = m_dispGridControl[TargetTab];
+                DataGridViewEX dgv = m_dispGridControl[TargetTab];
 
                 // å‰�æœˆã‚ˆã‚Šå‰�ã�¯ä¿®æ­£ã�•ã�›ã�ªã�„
                 DateTime dtProvYearMonth = DateTime.Now.AddMonths(-1);
@@ -813,7 +813,7 @@
                 ArrayList arDataList = new ArrayList();
                 CostDB.ExecuteReader(strSQL.ToString(), ref arDataList);
                 // è©²å½“ã‚°ãƒªãƒƒãƒ‰å�–å¾—
-                DataGridView dgv = m_dispGridControl[TargetTab];
+                DataGridViewEX dgv = m_dispGridControl[TargetTab];
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¯ãƒªã‚¢
                 dgv.Rows.Clear();
@@ -823,6 +823,7 @@
                     m_label_TabTotal[TargetTab, i].Text = "0";
                 }
 
+                // ãƒ˜ãƒƒãƒ€ãƒ¼æ–‡å­—ã‚µã‚¤ã‚ºå¤‰æ›´
                 dgv.Columns[(int)DispGridColumn.EntryPrice].HeaderCell.Style.Font =
                             new Font("ï¼­ï¼³ æ˜Žæœ�", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
                 dgv.Columns[(int)DispGridColumn.EntryPriceInTax].HeaderCell.Style.Font =
@@ -1041,7 +1042,7 @@
                 int CurTabCnt = TabControl1.SelectedIndex;
 
                 // å¯¾è±¡ã‚°ãƒªãƒƒãƒ‰å�–å¾—
-                DataGridView dgv = m_dispGridControl[CurTabCnt];
+                DataGridViewEX dgv = m_dispGridControl[CurTabCnt];
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 bool LastRow = false;
@@ -1055,7 +1056,7 @@
                 if (InsertCnt == 0) return;
 
                 // è¡Œä½œæˆ�
-                DataGridViewAction.CreateNewLine(dgv, ref InsertCnt);
+                dgv.CreateNewLine(ref InsertCnt);
 
                 // æ—¥ä»˜ã‚»ãƒƒãƒˆ
                 dgv.Rows[InsertCnt].Cells[(int)DispGridColumn.Days].Value = TargetDay;
@@ -1084,7 +1085,7 @@
             {
                 // å¯¾è±¡ã‚¿ãƒ–ãƒšãƒ¼ã‚¸å�–å¾—
                 int CurTabCnt = TabControl1.SelectedIndex;
-                DataGridView dgv = m_dispGridControl[CurTabCnt];
+                DataGridViewEX dgv = m_dispGridControl[CurTabCnt];
                 // ã‚«ãƒ¬ãƒ³ãƒˆè¡Œå�–å¾—
                 DataGridViewRow CurRow = dgv.CurrentRow;
                 int RemoveCnt = CurRow.Index;
@@ -1258,7 +1259,7 @@
                 for (int i = (int)InputTabCount.Transport; i <= (int)InputTabCount.DisposalCost; i++)
                 {
                     // ã‚°ãƒªãƒƒãƒ‰å�–å¾—
-                    DataGridView dgv = m_dispGridControl[i];
+                    DataGridViewEX dgv = m_dispGridControl[i];
 
                     // ã‚°ãƒªãƒƒãƒ‰ã�®è¡Œåˆ†å‡¦ç�†ã‚’è¡Œã�†
                     int Addcnt = 1;
@@ -1492,7 +1493,7 @@
                 // å…¨ã‚¿ãƒ–ã‚’å¯¾è±¡ã�«å‡¦ç�†ã‚’è¡Œã�†
                 for (int i = (int)InputTabCount.Transport; i <= (int)InputTabCount.DisposalCost; i++)
                 {
-                    DataGridView dgv = m_dispGridControl[i];
+                    DataGridViewEX dgv = m_dispGridControl[i];
                     // ã‚°ãƒªãƒƒãƒ‰ã�®è¡Œåˆ†å‡¦ç�†ã‚’è¡Œã�†
                     foreach (DataGridViewRow wrkRow in dgv.Rows)
                     {
@@ -1542,7 +1543,7 @@
             try
             {
                 // å¯¾è±¡ã‚°ãƒªãƒƒãƒ‰å�–å¾—
-                DataGridView dgv = m_dispGridControl[CurTabCnt];
+                DataGridViewEX dgv = m_dispGridControl[CurTabCnt];
 
                 int Total1 = 0;
                 int Total2 = 0;
@@ -1587,7 +1588,7 @@
             FrmConstructionDiag frm = new FrmConstructionDiag();
             try
             {
-                DataGridView dgv = m_dispGridControl[TabCnt];
+                DataGridViewEX dgv = m_dispGridControl[TabCnt];
                 DataGridViewRow dgvRow = dgv.Rows[RowCnt];
 
                 // ã‚°ãƒªãƒƒãƒ‰ã�ŒREADONLYã�¯å‡¦ç�†ã�—ã�ªã�„
@@ -1633,7 +1634,7 @@
             try
             {
                 // å¯¾è±¡ã‚°ãƒªãƒƒãƒ‰å�–å¾—
-                DataGridView dgv = m_dispGridControl[CurTabCnt];
+                DataGridViewEX dgv = m_dispGridControl[CurTabCnt];
 
                 // ã‚°ãƒªãƒƒãƒ‰ã�ŒREADONLYã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (dgv.ReadOnly) return;
@@ -1671,7 +1672,7 @@
             try
             {
                 // å¯¾è±¡ã‚°ãƒªãƒƒãƒ‰å�–å¾—
-                DataGridView dgv = m_dispGridControl[CurTabCnt];
+                DataGridViewEX dgv = m_dispGridControl[CurTabCnt];
 
                 // ã‚°ãƒªãƒƒãƒ‰ã�ŒREADONLYã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (dgv.ReadOnly) return;
@@ -1707,7 +1708,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰
-                DataGridView dgv = m_dispGridControl[tabCnt];
+                DataGridViewEX dgv = m_dispGridControl[tabCnt];
                 dgv.ReadOnly = lockEnt;
 
                 // ã‚¿ãƒ–æ¯Žãƒœã‚¿ãƒ³é…�åˆ—
@@ -1737,7 +1738,7 @@
                 for (int i = (int)InputTabCount.Transport; i <= (int)InputTabCount.DisposalCost; i++)
                 {
                     // ã‚°ãƒªãƒƒãƒ‰å�–å¾—
-                    DataGridView dgv = m_dispGridControl[i];
+                    DataGridViewEX dgv = m_dispGridControl[i];
                     dgv.ReadOnly = false;
                     foreach (DataGridViewColumn CurCol in dgv.Columns)
                     {
@@ -1752,7 +1753,7 @@
                 for (int i = (int)InputTabCount.Transport; i <= (int)InputTabCount.DisposalCost; i++)
                 {
                     // ã‚°ãƒªãƒƒãƒ‰å�–å¾—
-                    DataGridView dgv = m_dispGridControl[i];
+                    DataGridViewEX dgv = m_dispGridControl[i];
                     dgv.ReadOnly = true;
                 }
             }
@@ -1769,7 +1770,7 @@
         /// </summary>
         /// <param name="dgv"></param>
         /// <param name="nClick"></param>
-        private void SetPayType(DataGridView dgv, int nClick)
+        private void SetPayType(DataGridViewEX dgv, int nClick)
         {
             try
             {
@@ -1843,7 +1844,7 @@
         /// </summary>
         /// <param name="CurTabCnt"></param>
         /// <param name="dgv"></param>
-        private void SetSlipNo(int CurTabCnt, DataGridView dgv)
+        private void SetSlipNo(int CurTabCnt, DataGridViewEX dgv)
         {
             try
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/AlwaysEmployment/AlwaysEmployment.resx
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/AlwaysEmployment/AlwaysEmployment.resx	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/AlwaysEmployment/AlwaysEmployment.resx	(nonexistent)
@@ -1,141 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-    Microsoft ResX Schema 
-    
-    Version 2.0
-    
-    The primary goals of this format is to allow a simple XML format 
-    that is mostly human readable. The generation and parsing of the 
-    various data types are done through the TypeConverter classes 
-    associated with the data types.
-    
-    Example:
-    
-    ... ado.net/XML headers & schema ...
-    <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">2.0</resheader>
-    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
-    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        <value>[base64 mime encoded serialized .NET Framework object]</value>
-    </data>
-    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
-        <comment>This is a comment</comment>
-    </data>
-                
-    There are any number of "resheader" rows that contain simple 
-    name/value pairs.
-    
-    Each data row contains a name, and value. The row also contains a 
-    type or mimetype. Type corresponds to a .NET class that support 
-    text/value conversion through the TypeConverter architecture. 
-    Classes that don't support this are serialized and stored with the 
-    mimetype set.
-    
-    The mimetype is used for serialized objects, and tells the 
-    ResXResourceReader how to depersist the object. This is currently not 
-    extensible. For a given mimetype the value must be set accordingly:
-    
-    Note - application/x-microsoft.net.object.binary.base64 is the format 
-    that the ResXResourceWriter will generate, however the reader can 
-    read any of the formats listed below.
-    
-    mimetype: application/x-microsoft.net.object.binary.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
-            : and then encoded with base64 encoding.
-    
-    mimetype: application/x-microsoft.net.object.soap.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-            : and then encoded with base64 encoding.
-
-    mimetype: application/x-microsoft.net.object.bytearray.base64
-    value   : The object must be serialized into a byte array 
-            : using a System.ComponentModel.TypeConverter
-            : and then encoded with base64 encoding.
-    -->
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="metadata">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" />
-              </xsd:sequence>
-              <xsd:attribute name="name" use="required" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="assembly">
-            <xsd:complexType>
-              <xsd:attribute name="alias" type="xsd:string" />
-              <xsd:attribute name="name" type="xsd:string" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>2.0</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <metadata name="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="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>
-</root>
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/AlwaysEmployment/AlwaysEmployment.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/AlwaysEmployment/AlwaysEmployment.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/AlwaysEmployment/AlwaysEmployment.designer.cs	(nonexistent)
@@ -1,845 +0,0 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
-{
-    partial class FrmAlwaysEmployment
-    {
-        /// <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 dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
-            this.btnDataEntry = new System.Windows.Forms.Button();
-            this.btnEnd = new System.Windows.Forms.Button();
-            this.label1 = new System.Windows.Forms.Label();
-            this.btnDataDelete = new System.Windows.Forms.Button();
-            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
-            this.cmbLedgerFlg = new System.Windows.Forms.ComboBox();
-            this.btnBackColor = new System.Windows.Forms.Button();
-            this.label16 = new System.Windows.Forms.Label();
-            this.lblMessageColor = new System.Windows.Forms.Label();
-            this.lblPersonCode = new System.Windows.Forms.Label();
-            this.lblPersonLabel = new System.Windows.Forms.Label();
-            this.label3 = new System.Windows.Forms.Label();
-            this.txtInput1 = new System.Windows.Forms.TextBox();
-            this.label8 = new System.Windows.Forms.Label();
-            this.txtInput2 = new System.Windows.Forms.TextBox();
-            this.label9 = new System.Windows.Forms.Label();
-            this.txtInput3 = new System.Windows.Forms.TextBox();
-            this.label4 = new System.Windows.Forms.Label();
-            this.txtInput4 = new System.Windows.Forms.TextBox();
-            this.cmbSecurityManagement = new System.Windows.Forms.ComboBox();
-            this.label6 = new System.Windows.Forms.Label();
-            this.label5 = new System.Windows.Forms.Label();
-            this.cmbDepartment = new System.Windows.Forms.ComboBox();
-            this.txtInput5 = new System.Windows.Forms.TextBox();
-            this.label7 = new System.Windows.Forms.Label();
-            this.label10 = new System.Windows.Forms.Label();
-            this.txtInput6 = new System.Windows.Forms.TextBox();
-            this.txtInput7 = new System.Windows.Forms.TextBox();
-            this.label2 = new System.Windows.Forms.Label();
-            this.label11 = new System.Windows.Forms.Label();
-            this.label12 = new System.Windows.Forms.Label();
-            this.label13 = new System.Windows.Forms.Label();
-            this.txtInput8 = new System.Windows.Forms.TextBox();
-            this.label14 = new System.Windows.Forms.Label();
-            this.txtInput9 = new System.Windows.Forms.TextBox();
-            this.label15 = new System.Windows.Forms.Label();
-            this.lblEditMode = new System.Windows.Forms.Label();
-            this.btnDataSelect = new System.Windows.Forms.Button();
-            this.btnDataLineEntry = new System.Windows.Forms.Button();
-            this.btnDispDown = new System.Windows.Forms.Button();
-            this.btnDispUp = new System.Windows.Forms.Button();
-            this.dgvMaster = 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.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.tableLayoutPanel1.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvMaster)).BeginInit();
-            this.SuspendLayout();
-            // 
-            // btnDataEntry
-            // 
-            this.btnDataEntry.BackColor = System.Drawing.Color.Green;
-            this.btnDataEntry.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnDataEntry.ForeColor = System.Drawing.Color.White;
-            this.btnDataEntry.Location = new System.Drawing.Point(838, 650);
-            this.btnDataEntry.Name = "btnDataEntry";
-            this.btnDataEntry.Size = new System.Drawing.Size(120, 30);
-            this.btnDataEntry.TabIndex = 10;
-            this.btnDataEntry.Text = "å†…å®¹ç™»éŒ²";
-            this.btnDataEntry.UseVisualStyleBackColor = false;
-            this.btnDataEntry.Click += new System.EventHandler(this.btnDataEntry_Click);
-            // 
-            // btnEnd
-            // 
-            this.btnEnd.BackColor = System.Drawing.Color.Blue;
-            this.btnEnd.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnEnd.ForeColor = System.Drawing.Color.White;
-            this.btnEnd.Location = new System.Drawing.Point(1090, 650);
-            this.btnEnd.Name = "btnEnd";
-            this.btnEnd.Size = new System.Drawing.Size(120, 30);
-            this.btnEnd.TabIndex = 12;
-            this.btnEnd.Text = "çµ‚ã€€äº†";
-            this.btnEnd.UseVisualStyleBackColor = false;
-            this.btnEnd.Click += new System.EventHandler(this.btnEnd_Click);
-            // 
-            // label1
-            // 
-            this.label1.BackColor = System.Drawing.Color.Aquamarine;
-            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(360, 10);
-            this.label1.Name = "label1";
-            this.label1.Size = new System.Drawing.Size(500, 20);
-            this.label1.TabIndex = 5;
-            this.label1.Text = "å¤–ã€€æ³¨ã€€è€…ã€€ç™»ã€€éŒ²ã€€ç”»ã€€é�¢";
-            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // btnDataDelete
-            // 
-            this.btnDataDelete.BackColor = System.Drawing.Color.Red;
-            this.btnDataDelete.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnDataDelete.ForeColor = System.Drawing.Color.White;
-            this.btnDataDelete.Location = new System.Drawing.Point(964, 650);
-            this.btnDataDelete.Name = "btnDataDelete";
-            this.btnDataDelete.Size = new System.Drawing.Size(120, 30);
-            this.btnDataDelete.TabIndex = 11;
-            this.btnDataDelete.Text = "å†…å®¹å‰Šé™¤";
-            this.btnDataDelete.UseVisualStyleBackColor = false;
-            this.btnDataDelete.Click += new System.EventHandler(this.btnDataDelete_Click);
-            // 
-            // tableLayoutPanel1
-            // 
-            this.tableLayoutPanel1.ColumnCount = 3;
-            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
-            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 27F));
-            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 48F));
-            this.tableLayoutPanel1.Controls.Add(this.cmbLedgerFlg, 1, 13);
-            this.tableLayoutPanel1.Controls.Add(this.btnBackColor, 2, 8);
-            this.tableLayoutPanel1.Controls.Add(this.label16, 0, 13);
-            this.tableLayoutPanel1.Controls.Add(this.lblMessageColor, 1, 8);
-            this.tableLayoutPanel1.Controls.Add(this.lblPersonCode, 1, 0);
-            this.tableLayoutPanel1.Controls.Add(this.lblPersonLabel, 0, 0);
-            this.tableLayoutPanel1.Controls.Add(this.label3, 0, 1);
-            this.tableLayoutPanel1.Controls.Add(this.txtInput1, 1, 1);
-            this.tableLayoutPanel1.Controls.Add(this.label8, 0, 2);
-            this.tableLayoutPanel1.Controls.Add(this.txtInput2, 1, 2);
-            this.tableLayoutPanel1.Controls.Add(this.label9, 0, 3);
-            this.tableLayoutPanel1.Controls.Add(this.txtInput3, 1, 3);
-            this.tableLayoutPanel1.Controls.Add(this.label4, 0, 7);
-            this.tableLayoutPanel1.Controls.Add(this.txtInput4, 1, 4);
-            this.tableLayoutPanel1.Controls.Add(this.cmbSecurityManagement, 1, 7);
-            this.tableLayoutPanel1.Controls.Add(this.label6, 0, 9);
-            this.tableLayoutPanel1.Controls.Add(this.label5, 0, 10);
-            this.tableLayoutPanel1.Controls.Add(this.cmbDepartment, 1, 9);
-            this.tableLayoutPanel1.Controls.Add(this.txtInput5, 1, 10);
-            this.tableLayoutPanel1.Controls.Add(this.label7, 0, 5);
-            this.tableLayoutPanel1.Controls.Add(this.label10, 0, 6);
-            this.tableLayoutPanel1.Controls.Add(this.txtInput6, 1, 5);
-            this.tableLayoutPanel1.Controls.Add(this.txtInput7, 1, 6);
-            this.tableLayoutPanel1.Controls.Add(this.label2, 0, 4);
-            this.tableLayoutPanel1.Controls.Add(this.label11, 2, 5);
-            this.tableLayoutPanel1.Controls.Add(this.label12, 2, 6);
-            this.tableLayoutPanel1.Controls.Add(this.label13, 0, 11);
-            this.tableLayoutPanel1.Controls.Add(this.txtInput8, 1, 11);
-            this.tableLayoutPanel1.Controls.Add(this.label14, 0, 12);
-            this.tableLayoutPanel1.Controls.Add(this.txtInput9, 1, 12);
-            this.tableLayoutPanel1.Controls.Add(this.label15, 0, 8);
-            this.tableLayoutPanel1.Location = new System.Drawing.Point(600, 100);
-            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
-            this.tableLayoutPanel1.RowCount = 14;
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
-            this.tableLayoutPanel1.Size = new System.Drawing.Size(610, 490);
-            this.tableLayoutPanel1.TabIndex = 0;
-            // 
-            // cmbLedgerFlg
-            // 
-            this.cmbLedgerFlg.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.tableLayoutPanel1.SetColumnSpan(this.cmbLedgerFlg, 2);
-            this.cmbLedgerFlg.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbLedgerFlg.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbLedgerFlg.FormattingEnabled = true;
-            this.cmbLedgerFlg.Location = new System.Drawing.Point(155, 462);
-            this.cmbLedgerFlg.Name = "cmbLedgerFlg";
-            this.cmbLedgerFlg.Size = new System.Drawing.Size(300, 24);
-            this.cmbLedgerFlg.TabIndex = 31;
-            // 
-            // btnBackColor
-            // 
-            this.btnBackColor.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.btnBackColor.BackColor = System.Drawing.SystemColors.Control;
-            this.btnBackColor.ForeColor = System.Drawing.Color.Black;
-            this.btnBackColor.Location = new System.Drawing.Point(319, 286);
-            this.btnBackColor.Name = "btnBackColor";
-            this.btnBackColor.Size = new System.Drawing.Size(120, 23);
-            this.btnBackColor.TabIndex = 16;
-            this.btnBackColor.TabStop = false;
-            this.btnBackColor.Text = "èƒŒæ™¯è‰²é�¸æŠž";
-            this.btnBackColor.UseVisualStyleBackColor = false;
-            this.btnBackColor.Visible = false;
-            this.btnBackColor.Click += new System.EventHandler(this.btnBackColor_Click);
-            // 
-            // label16
-            // 
-            this.label16.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.label16.BackColor = System.Drawing.Color.Aquamarine;
-            this.label16.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label16.ForeColor = System.Drawing.Color.Black;
-            this.label16.Location = new System.Drawing.Point(3, 460);
-            this.label16.Name = "label16";
-            this.label16.Size = new System.Drawing.Size(144, 25);
-            this.label16.TabIndex = 32;
-            this.label16.Text = "å�°å¸³è¨ˆç®—å¯¾è±¡";
-            this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // lblMessageColor
-            // 
-            this.lblMessageColor.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.lblMessageColor.BackColor = System.Drawing.Color.White;
-            this.lblMessageColor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lblMessageColor.ForeColor = System.Drawing.Color.Black;
-            this.lblMessageColor.Location = new System.Drawing.Point(155, 286);
-            this.lblMessageColor.Name = "lblMessageColor";
-            this.lblMessageColor.Size = new System.Drawing.Size(150, 23);
-            this.lblMessageColor.TabIndex = 31;
-            this.lblMessageColor.Text = "ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸è‰²";
-            this.lblMessageColor.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            this.lblMessageColor.Visible = false;
-            // 
-            // lblPersonCode
-            // 
-            this.lblPersonCode.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.lblPersonCode.BackColor = System.Drawing.Color.White;
-            this.lblPersonCode.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lblPersonCode.ForeColor = System.Drawing.Color.Black;
-            this.lblPersonCode.Location = new System.Drawing.Point(155, 5);
-            this.lblPersonCode.Name = "lblPersonCode";
-            this.lblPersonCode.Size = new System.Drawing.Size(150, 25);
-            this.lblPersonCode.TabIndex = 4;
-            this.lblPersonCode.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
-            this.lblPersonCode.TextChanged += new System.EventHandler(this.valueChange);
-            // 
-            // lblPersonLabel
-            // 
-            this.lblPersonLabel.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.lblPersonLabel.BackColor = System.Drawing.Color.Aquamarine;
-            this.lblPersonLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lblPersonLabel.ForeColor = System.Drawing.Color.Black;
-            this.lblPersonLabel.Location = new System.Drawing.Point(3, 5);
-            this.lblPersonLabel.Name = "lblPersonLabel";
-            this.lblPersonLabel.Size = new System.Drawing.Size(144, 25);
-            this.lblPersonLabel.TabIndex = 23;
-            this.lblPersonLabel.Text = "å¤–æ³¨è€…ã‚³ãƒ¼ãƒ‰";
-            this.lblPersonLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label3
-            // 
-            this.label3.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.label3.BackColor = System.Drawing.Color.Aquamarine;
-            this.label3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label3.ForeColor = System.Drawing.Color.Black;
-            this.label3.Location = new System.Drawing.Point(3, 40);
-            this.label3.Name = "label3";
-            this.label3.Size = new System.Drawing.Size(144, 25);
-            this.label3.TabIndex = 26;
-            this.label3.Text = "å¤–æ³¨è€…å��";
-            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // txtInput1
-            // 
-            this.txtInput1.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.tableLayoutPanel1.SetColumnSpan(this.txtInput1, 2);
-            this.txtInput1.ImeMode = System.Windows.Forms.ImeMode.On;
-            this.txtInput1.Location = new System.Drawing.Point(155, 41);
-            this.txtInput1.MaxLength = 100;
-            this.txtInput1.Name = "txtInput1";
-            this.txtInput1.Size = new System.Drawing.Size(450, 23);
-            this.txtInput1.TabIndex = 1;
-            this.txtInput1.TextChanged += new System.EventHandler(this.valueChange);
-            // 
-            // label8
-            // 
-            this.label8.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.label8.BackColor = System.Drawing.Color.Aquamarine;
-            this.label8.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label8.ForeColor = System.Drawing.Color.Black;
-            this.label8.Location = new System.Drawing.Point(3, 75);
-            this.label8.Name = "label8";
-            this.label8.Size = new System.Drawing.Size(144, 25);
-            this.label8.TabIndex = 28;
-            this.label8.Text = "é–‹å§‹å¹´æœˆæ—¥";
-            this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // txtInput2
-            // 
-            this.txtInput2.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.txtInput2.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput2.Location = new System.Drawing.Point(155, 76);
-            this.txtInput2.MaxLength = 11;
-            this.txtInput2.Name = "txtInput2";
-            this.txtInput2.Size = new System.Drawing.Size(150, 23);
-            this.txtInput2.TabIndex = 2;
-            this.txtInput2.TextChanged += new System.EventHandler(this.valueChange);
-            this.txtInput2.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
-            // label9
-            // 
-            this.label9.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.label9.BackColor = System.Drawing.Color.Aquamarine;
-            this.label9.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label9.ForeColor = System.Drawing.Color.Black;
-            this.label9.Location = new System.Drawing.Point(3, 110);
-            this.label9.Name = "label9";
-            this.label9.Size = new System.Drawing.Size(144, 25);
-            this.label9.TabIndex = 30;
-            this.label9.Text = "çµ‚äº†å¹´æœˆæ—¥";
-            this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // txtInput3
-            // 
-            this.txtInput3.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.txtInput3.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput3.Location = new System.Drawing.Point(155, 111);
-            this.txtInput3.MaxLength = 11;
-            this.txtInput3.Name = "txtInput3";
-            this.txtInput3.Size = new System.Drawing.Size(150, 23);
-            this.txtInput3.TabIndex = 3;
-            this.txtInput3.TextChanged += new System.EventHandler(this.valueChange);
-            // 
-            // label4
-            // 
-            this.label4.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.label4.BackColor = System.Drawing.Color.Aquamarine;
-            this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label4.ForeColor = System.Drawing.Color.Black;
-            this.label4.Location = new System.Drawing.Point(3, 250);
-            this.label4.Name = "label4";
-            this.label4.Size = new System.Drawing.Size(144, 25);
-            this.label4.TabIndex = 30;
-            this.label4.Text = "æ©Ÿå¯†åŒºåˆ†";
-            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // txtInput4
-            // 
-            this.txtInput4.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.txtInput4.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput4.Location = new System.Drawing.Point(155, 146);
-            this.txtInput4.MaxLength = 11;
-            this.txtInput4.Name = "txtInput4";
-            this.txtInput4.Size = new System.Drawing.Size(150, 23);
-            this.txtInput4.TabIndex = 4;
-            this.txtInput4.TextChanged += new System.EventHandler(this.valueChange);
-            // 
-            // cmbSecurityManagement
-            // 
-            this.cmbSecurityManagement.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.tableLayoutPanel1.SetColumnSpan(this.cmbSecurityManagement, 2);
-            this.cmbSecurityManagement.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbSecurityManagement.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbSecurityManagement.FormattingEnabled = true;
-            this.cmbSecurityManagement.Location = new System.Drawing.Point(155, 252);
-            this.cmbSecurityManagement.Name = "cmbSecurityManagement";
-            this.cmbSecurityManagement.Size = new System.Drawing.Size(300, 24);
-            this.cmbSecurityManagement.TabIndex = 5;
-            this.cmbSecurityManagement.SelectedIndexChanged += new System.EventHandler(this.cmbSecurityManagement_SelectedIndexChanged);
-            this.cmbSecurityManagement.TextChanged += new System.EventHandler(this.valueChange);
-            // 
-            // label6
-            // 
-            this.label6.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.label6.BackColor = System.Drawing.Color.Aquamarine;
-            this.label6.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label6.ForeColor = System.Drawing.Color.Black;
-            this.label6.Location = new System.Drawing.Point(3, 320);
-            this.label6.Name = "label6";
-            this.label6.Size = new System.Drawing.Size(144, 25);
-            this.label6.TabIndex = 30;
-            this.label6.Text = "éƒ¨ç½²";
-            this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label5
-            // 
-            this.label5.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.label5.BackColor = System.Drawing.Color.Aquamarine;
-            this.label5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label5.ForeColor = System.Drawing.Color.Black;
-            this.label5.Location = new System.Drawing.Point(3, 355);
-            this.label5.Name = "label5";
-            this.label5.Size = new System.Drawing.Size(144, 25);
-            this.label5.TabIndex = 30;
-            this.label5.Text = "å½¹è�·å��ç§°";
-            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // cmbDepartment
-            // 
-            this.cmbDepartment.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.tableLayoutPanel1.SetColumnSpan(this.cmbDepartment, 2);
-            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(155, 322);
-            this.cmbDepartment.Name = "cmbDepartment";
-            this.cmbDepartment.Size = new System.Drawing.Size(300, 24);
-            this.cmbDepartment.TabIndex = 6;
-            this.cmbDepartment.SelectedIndexChanged += new System.EventHandler(this.cmbSecurityManagement_SelectedIndexChanged);
-            this.cmbDepartment.TextChanged += new System.EventHandler(this.valueChange);
-            // 
-            // txtInput5
-            // 
-            this.txtInput5.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.tableLayoutPanel1.SetColumnSpan(this.txtInput5, 2);
-            this.txtInput5.ImeMode = System.Windows.Forms.ImeMode.On;
-            this.txtInput5.Location = new System.Drawing.Point(155, 356);
-            this.txtInput5.MaxLength = 40;
-            this.txtInput5.Name = "txtInput5";
-            this.txtInput5.Size = new System.Drawing.Size(250, 23);
-            this.txtInput5.TabIndex = 7;
-            this.txtInput5.TextChanged += new System.EventHandler(this.valueChange);
-            // 
-            // label7
-            // 
-            this.label7.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.label7.BackColor = System.Drawing.Color.Aquamarine;
-            this.label7.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label7.ForeColor = System.Drawing.Color.Black;
-            this.label7.Location = new System.Drawing.Point(3, 180);
-            this.label7.Name = "label7";
-            this.label7.Size = new System.Drawing.Size(144, 25);
-            this.label7.TabIndex = 30;
-            this.label7.Text = "æœˆçµ¦é‡‘é¡�";
-            this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label10
-            // 
-            this.label10.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.label10.BackColor = System.Drawing.Color.Aquamarine;
-            this.label10.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label10.ForeColor = System.Drawing.Color.Black;
-            this.label10.Location = new System.Drawing.Point(3, 215);
-            this.label10.Name = "label10";
-            this.label10.Size = new System.Drawing.Size(144, 25);
-            this.label10.TabIndex = 30;
-            this.label10.Text = "å¹´ä¿¸é‡‘é¡�";
-            this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // txtInput6
-            // 
-            this.txtInput6.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.txtInput6.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput6.Location = new System.Drawing.Point(155, 181);
-            this.txtInput6.MaxLength = 11;
-            this.txtInput6.Name = "txtInput6";
-            this.txtInput6.Size = new System.Drawing.Size(150, 23);
-            this.txtInput6.TabIndex = 4;
-            this.txtInput6.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
-            this.txtInput6.TextChanged += new System.EventHandler(this.valueChange);
-            this.txtInput6.Validated += new System.EventHandler(this.txtInputSalary_Validated);
-            // 
-            // txtInput7
-            // 
-            this.txtInput7.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.txtInput7.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput7.Location = new System.Drawing.Point(155, 216);
-            this.txtInput7.MaxLength = 11;
-            this.txtInput7.Name = "txtInput7";
-            this.txtInput7.Size = new System.Drawing.Size(150, 23);
-            this.txtInput7.TabIndex = 4;
-            this.txtInput7.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
-            this.txtInput7.TextChanged += new System.EventHandler(this.valueChange);
-            this.txtInput7.Validated += new System.EventHandler(this.txtInputSalary_Validated);
-            // 
-            // label2
-            // 
-            this.label2.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.label2.BackColor = System.Drawing.Color.Aquamarine;
-            this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label2.ForeColor = System.Drawing.Color.Black;
-            this.label2.Location = new System.Drawing.Point(3, 145);
-            this.label2.Name = "label2";
-            this.label2.Size = new System.Drawing.Size(144, 25);
-            this.label2.TabIndex = 30;
-            this.label2.Text = "ãƒ‘ã‚¹ãƒ¯ãƒ¼ãƒ‰";
-            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label11
-            // 
-            this.label11.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.label11.AutoSize = true;
-            this.label11.BackColor = System.Drawing.Color.Transparent;
-            this.label11.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label11.ForeColor = System.Drawing.Color.White;
-            this.label11.Location = new System.Drawing.Point(319, 183);
-            this.label11.Name = "label11";
-            this.label11.Size = new System.Drawing.Size(30, 19);
-            this.label11.TabIndex = 30;
-            this.label11.Text = "å††";
-            this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label12
-            // 
-            this.label12.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.label12.AutoSize = true;
-            this.label12.BackColor = System.Drawing.Color.Transparent;
-            this.label12.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label12.ForeColor = System.Drawing.Color.White;
-            this.label12.Location = new System.Drawing.Point(319, 218);
-            this.label12.Name = "label12";
-            this.label12.Size = new System.Drawing.Size(30, 19);
-            this.label12.TabIndex = 30;
-            this.label12.Text = "å††";
-            this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // label13
-            // 
-            this.label13.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.label13.BackColor = System.Drawing.Color.Aquamarine;
-            this.label13.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label13.ForeColor = System.Drawing.Color.Black;
-            this.label13.Location = new System.Drawing.Point(3, 390);
-            this.label13.Name = "label13";
-            this.label13.Size = new System.Drawing.Size(144, 25);
-            this.label13.TabIndex = 30;
-            this.label13.Text = "è³‡æ ¼æƒ…å ±";
-            this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // txtInput8
-            // 
-            this.txtInput8.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.tableLayoutPanel1.SetColumnSpan(this.txtInput8, 2);
-            this.txtInput8.ImeMode = System.Windows.Forms.ImeMode.On;
-            this.txtInput8.Location = new System.Drawing.Point(155, 391);
-            this.txtInput8.MaxLength = 120;
-            this.txtInput8.Name = "txtInput8";
-            this.txtInput8.Size = new System.Drawing.Size(450, 23);
-            this.txtInput8.TabIndex = 8;
-            this.txtInput8.TextChanged += new System.EventHandler(this.valueChange);
-            // 
-            // label14
-            // 
-            this.label14.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.label14.BackColor = System.Drawing.Color.Aquamarine;
-            this.label14.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label14.ForeColor = System.Drawing.Color.Black;
-            this.label14.Location = new System.Drawing.Point(3, 425);
-            this.label14.Name = "label14";
-            this.label14.Size = new System.Drawing.Size(144, 25);
-            this.label14.TabIndex = 30;
-            this.label14.Text = "å�°é‘‘è¡¨ç¤ºå��";
-            this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // txtInput9
-            // 
-            this.txtInput9.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.txtInput9.ImeMode = System.Windows.Forms.ImeMode.On;
-            this.txtInput9.Location = new System.Drawing.Point(155, 426);
-            this.txtInput9.MaxLength = 11;
-            this.txtInput9.Name = "txtInput9";
-            this.txtInput9.Size = new System.Drawing.Size(150, 23);
-            this.txtInput9.TabIndex = 9;
-            this.txtInput9.TextChanged += new System.EventHandler(this.valueChange);
-            // 
-            // label15
-            // 
-            this.label15.Anchor = System.Windows.Forms.AnchorStyles.Left;
-            this.label15.BackColor = System.Drawing.Color.Aquamarine;
-            this.label15.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label15.ForeColor = System.Drawing.Color.Black;
-            this.label15.Location = new System.Drawing.Point(3, 285);
-            this.label15.Name = "label15";
-            this.label15.Size = new System.Drawing.Size(144, 25);
-            this.label15.TabIndex = 30;
-            this.label15.Text = "æŒ‡æ‘˜äº‹é …è‰²";
-            this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            this.label15.Visible = false;
-            // 
-            // lblEditMode
-            // 
-            this.lblEditMode.BackColor = System.Drawing.Color.White;
-            this.lblEditMode.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lblEditMode.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.lblEditMode.Location = new System.Drawing.Point(600, 40);
-            this.lblEditMode.Name = "lblEditMode";
-            this.lblEditMode.Size = new System.Drawing.Size(117, 32);
-            this.lblEditMode.TabIndex = 8;
-            this.lblEditMode.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
-            // 
-            // btnDataSelect
-            // 
-            this.btnDataSelect.BackColor = System.Drawing.Color.SpringGreen;
-            this.btnDataSelect.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnDataSelect.Location = new System.Drawing.Point(300, 650);
-            this.btnDataSelect.Name = "btnDataSelect";
-            this.btnDataSelect.Size = new System.Drawing.Size(120, 30);
-            this.btnDataSelect.TabIndex = 0;
-            this.btnDataSelect.TabStop = false;
-            this.btnDataSelect.Text = "é�¸ã€€æŠž";
-            this.btnDataSelect.UseVisualStyleBackColor = false;
-            this.btnDataSelect.Click += new System.EventHandler(this.btnDataSelect_Click);
-            // 
-            // btnDataLineEntry
-            // 
-            this.btnDataLineEntry.BackColor = System.Drawing.Color.PaleGreen;
-            this.btnDataLineEntry.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnDataLineEntry.Location = new System.Drawing.Point(428, 650);
-            this.btnDataLineEntry.Name = "btnDataLineEntry";
-            this.btnDataLineEntry.Size = new System.Drawing.Size(120, 30);
-            this.btnDataLineEntry.TabIndex = 0;
-            this.btnDataLineEntry.TabStop = false;
-            this.btnDataLineEntry.Text = "æ–°è¦�ç™»éŒ²";
-            this.btnDataLineEntry.UseVisualStyleBackColor = false;
-            this.btnDataLineEntry.Click += new System.EventHandler(this.btnDataLineEntry_Click);
-            // 
-            // btnDispDown
-            // 
-            this.btnDispDown.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnDispDown.Location = new System.Drawing.Point(554, 332);
-            this.btnDispDown.Name = "btnDispDown";
-            this.btnDispDown.Size = new System.Drawing.Size(40, 40);
-            this.btnDispDown.TabIndex = 15;
-            this.btnDispDown.TabStop = false;
-            this.btnDispDown.Text = "â–¼";
-            this.btnDispDown.UseVisualStyleBackColor = true;
-            this.btnDispDown.Click += new System.EventHandler(this.btnDispDown_Click);
-            // 
-            // btnDispUp
-            // 
-            this.btnDispUp.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnDispUp.Location = new System.Drawing.Point(554, 268);
-            this.btnDispUp.Name = "btnDispUp";
-            this.btnDispUp.Size = new System.Drawing.Size(40, 40);
-            this.btnDispUp.TabIndex = 14;
-            this.btnDispUp.TabStop = false;
-            this.btnDispUp.Text = "â–²";
-            this.btnDispUp.UseVisualStyleBackColor = true;
-            this.btnDispUp.Click += new System.EventHandler(this.btnDispUp_Click);
-            // 
-            // dgvMaster
-            // 
-            this.dgvMaster.AllowUserToAddRows = false;
-            this.dgvMaster.AllowUserToDeleteRows = false;
-            this.dgvMaster.AllowUserToResizeColumns = false;
-            this.dgvMaster.AllowUserToResizeRows = false;
-            this.dgvMaster.BackgroundColor = System.Drawing.Color.White;
-            this.dgvMaster.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle1.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvMaster.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
-            this.dgvMaster.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
-            this.dgvMaster.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.Column1,
-            this.Column2,
-            this.Column3,
-            this.Column4,
-            this.Column5,
-            this.Column6,
-            this.Column7});
-            this.dgvMaster.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
-            this.dgvMaster.Location = new System.Drawing.Point(8, 40);
-            this.dgvMaster.MultiSelect = false;
-            this.dgvMaster.Name = "dgvMaster";
-            this.dgvMaster.RowHeadersWidth = 20;
-            this.dgvMaster.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
-            this.dgvMaster.RowTemplate.Height = 21;
-            this.dgvMaster.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
-            this.dgvMaster.Size = new System.Drawing.Size(540, 602);
-            this.dgvMaster.TabIndex = 6;
-            this.dgvMaster.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvMaster_CellClick);
-            // 
-            // Column1
-            // 
-            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            dataGridViewCellStyle2.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.Column1.DefaultCellStyle = dataGridViewCellStyle2;
-            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 = 80;
-            // 
-            // Column2
-            // 
-            dataGridViewCellStyle3.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.Column2.DefaultCellStyle = dataGridViewCellStyle3;
-            this.Column2.Frozen = true;
-            this.Column2.HeaderText = "å¤–æ³¨è€…ã‚³ãƒ¼ãƒ‰";
-            this.Column2.Name = "Column2";
-            this.Column2.ReadOnly = true;
-            this.Column2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column2.Visible = false;
-            // 
-            // Column3
-            // 
-            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle4.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.Column3.DefaultCellStyle = dataGridViewCellStyle4;
-            this.Column3.HeaderText = "å¤–ã€€æ³¨ã€€è€…ã€€å��";
-            this.Column3.Name = "Column3";
-            this.Column3.ReadOnly = true;
-            this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column3.Width = 420;
-            // 
-            // Column4
-            // 
-            this.Column4.HeaderText = "é–‹å§‹å¹´æœˆæ—¥";
-            this.Column4.Name = "Column4";
-            this.Column4.ReadOnly = true;
-            this.Column4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column4.Visible = false;
-            // 
-            // Column5
-            // 
-            this.Column5.HeaderText = "çµ‚äº†å¹´æœˆæ—¥";
-            this.Column5.Name = "Column5";
-            this.Column5.ReadOnly = true;
-            this.Column5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Column5.Visible = false;
-            // 
-            // Column6
-            // 
-            this.Column6.HeaderText = "ãƒ‘ã‚¹ãƒ¯ãƒ¼ãƒ‰";
-            this.Column6.Name = "Column6";
-            this.Column6.Visible = false;
-            // 
-            // Column7
-            // 
-            this.Column7.HeaderText = "æ©Ÿå¯†åŒºåˆ†";
-            this.Column7.Name = "Column7";
-            this.Column7.Visible = false;
-            // 
-            // FrmAlwaysEmployment
-            // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
-            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
-            this.BackColor = System.Drawing.Color.Black;
-            this.ClientSize = new System.Drawing.Size(1220, 687);
-            this.Controls.Add(this.btnDispDown);
-            this.Controls.Add(this.btnDispUp);
-            this.Controls.Add(this.btnDataSelect);
-            this.Controls.Add(this.btnDataLineEntry);
-            this.Controls.Add(this.lblEditMode);
-            this.Controls.Add(this.dgvMaster);
-            this.Controls.Add(this.tableLayoutPanel1);
-            this.Controls.Add(this.label1);
-            this.Controls.Add(this.btnDataDelete);
-            this.Controls.Add(this.btnDataEntry);
-            this.Controls.Add(this.btnEnd);
-            this.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
-            this.KeyPreview = true;
-            this.MaximizeBox = false;
-            this.Name = "FrmAlwaysEmployment";
-            this.ShowIcon = false;
-            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
-            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmAlwaysEmployment_FormClosing);
-            this.Load += new System.EventHandler(this.FrmAlwaysEmployment_Load);
-            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FrmAlwaysEmployment_KeyDown);
-            this.tableLayoutPanel1.ResumeLayout(false);
-            this.tableLayoutPanel1.PerformLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvMaster)).EndInit();
-            this.ResumeLayout(false);
-
-        }
-
-        #endregion
-
-        private System.Windows.Forms.Button btnDataEntry;
-        private System.Windows.Forms.Button btnEnd;
-        private System.Windows.Forms.Label label1;
-        private System.Windows.Forms.Button btnDataDelete;
-        private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
-        private System.Windows.Forms.Label lblPersonLabel;
-        private System.Windows.Forms.Label lblPersonCode;
-        private System.Windows.Forms.Label label3;
-        private System.Windows.Forms.TextBox txtInput1;
-        private System.Windows.Forms.Label label8;
-        private System.Windows.Forms.TextBox txtInput2;
-        private System.Windows.Forms.Label label9;
-        private System.Windows.Forms.TextBox txtInput3;
-        private DataGridViewEX dgvMaster;
-        private System.Windows.Forms.Label lblEditMode;
-        private System.Windows.Forms.Button btnDataSelect;
-        private System.Windows.Forms.Button btnDataLineEntry;
-        private System.Windows.Forms.Button btnDispDown;
-        private System.Windows.Forms.Button btnDispUp;
-        private System.Windows.Forms.Label label2;
-        private System.Windows.Forms.Label label4;
-        private System.Windows.Forms.TextBox txtInput4;
-        private System.Windows.Forms.ComboBox cmbSecurityManagement;
-        private System.Windows.Forms.Label label5;
-        private System.Windows.Forms.TextBox txtInput5;
-        private System.Windows.Forms.Label label6;
-        private System.Windows.Forms.ComboBox cmbDepartment;
-        private System.Windows.Forms.Label label7;
-        private System.Windows.Forms.Label label10;
-        private System.Windows.Forms.TextBox txtInput6;
-        private System.Windows.Forms.TextBox txtInput7;
-        private System.Windows.Forms.Label label11;
-        private System.Windows.Forms.Label label12;
-        private System.Windows.Forms.Label label13;
-        private System.Windows.Forms.TextBox txtInput8;
-        private System.Windows.Forms.Label label14;
-        private System.Windows.Forms.TextBox txtInput9;
-        private System.Windows.Forms.Label label15;
-        private System.Windows.Forms.Label lblMessageColor;
-        private System.Windows.Forms.Button btnBackColor;
-        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 Column6;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
-        private System.Windows.Forms.ComboBox cmbLedgerFlg;
-        private System.Windows.Forms.Label label16;
-    }
-}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/AlwaysEmployment/AlwaysEmployment.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/AlwaysEmployment/AlwaysEmployment.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/AlwaysEmployment/AlwaysEmployment.cs	(nonexistent)
@@ -1,1367 +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.SubForms;
-using ProcessManagement.Forms.CustomControls;
-using ProcessManagement.Forms.ControlsAction;
-//*---------------------------- å¸¸é›‡è€…ãƒžã‚¹ã‚¿ãƒ¡ãƒ³ãƒ†ç”»é�¢ ------------------------*
-//  2016/03/31  Ver1.0.0.0      Create Source           
-//
-//
-//*----------------------------------------------------------------------------*
-namespace ProcessManagement.Forms.Master
-{
-    public partial class FrmAlwaysEmployment : Form
-    {
-        #region ä½¿ç”¨å®šç¾©
-        //log4netãƒ­ã‚°ã‚’ä½¿ç”¨ã�™ã‚‹
-        private static readonly log4net.ILog logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
-        #endregion
-
-        #region å®šæ•°
-        /// <summary>
-        /// æ‹…å½“è€…å��æœ€å¤§æ–‡å­—æ•°(UTF-8 Length)
-        /// </summary>
-        private const int s_PersonNameLength = 60;
-        /// <summary>
-        /// ãƒ‘ã‚¹ãƒ¯ãƒ¼ãƒ‰æœ€å¤§æ–‡å­—æ•°(UTF-8 Length)
-        /// </summary>
-        private const int s_PassWordLength = 16;
-        /// <summary>
-        /// è¡¨ç¤ºãƒ»å�°åˆ·å��ç§°æœ€å¤§æ–‡å­—æ•°(UTF-8 Length)
-        /// </summary>
-        private const int s_DisplayStringLength = 40;
-        /// <summary>
-        /// 1å¹´ã�¯12ã‚«æœˆ
-        /// </summary>
-        private const double s_MonthCount = 12.0;
-        /// <summary>
-        /// è³‡æ ¼æƒ…å ±æœ€å¤§æ–‡å­—æ•°(UTF-8 Length)
-        /// </summary>
-        private const int s_QualificationLength = 120;
-        /// <summary>
-        /// å�°é‘‘è¡¨ç¤ºå��æœ€å¤§æ–‡å­—æ•°(UTF-8 Length)
-        /// </summary>
-        private const int s_SealPrintNameLength = 5;
-        /// <summary>
-        /// è¡¨ç¤ºé †ç•ª
-        /// </summary>
-        private enum DispListColumn
-        {
-            DISPLAY_ORDER = 0,
-            PERSON_CODE,
-            PERSON_NAME,
-            START_DATE,
-            END_DATE,
-        }
-        private enum Dispcount
-        {
-            PersonCode = 0,
-            PersonName,
-            StartDate,
-            EndDate,
-            PassWord,
-            MonthlySalary,
-            YearSalary,
-            SecurityManagement,
-            MessageColor,
-            Department,
-            DisplayString,
-            Qualification,
-            SealPrintName,
-            LedgerFlg,
-            EditMode,
-        }
-
-        /// <summary>
-        /// å·¥äº‹è©³ç´°å�°å¸³è¨ˆç®—å¯¾è±¡å��ç§°
-        /// </summary>
-        private string[] PersonLedgerDivNoName = new string[] { "è¨ˆç®—å¯¾è±¡å¤–", "è¨ˆç®—å¯¾è±¡" };
-        #endregion
-
-        #region å¤‰æ•°
-        /// <summary>
-        /// ã‚¤ãƒ™ãƒ³ãƒˆã‚¹ãƒˆãƒƒãƒ—ãƒ•ãƒ©ã‚°
-        /// </summary>
-        private bool m_bEventStop = false;
-        /// <summary>
-        /// åˆ�æœŸèª­è¾¼æ™‚ãƒ‡ãƒ¼ã‚¿ã‚«ã‚¦ãƒ³ãƒˆ
-        /// </summary>
-        private int m_initDataCount = 0;
-        /// <summary>
-        /// ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰å€¤å¤‰åŒ–ãƒ•ãƒ©ã‚°
-        /// </summary>
-        private bool m_bChengeAns = false;
-
-        /// <summary>
-        /// æ‹…å½“è€…ã‚³ãƒ¼ãƒ‰
-        /// </summary>
-        private int m_PersonCode = 0;
-
-        /// <summary>
-        /// ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹ãƒ‡ãƒ¼ã‚¿ä¿�æŒ�é ˜åŸŸ
-        /// </summary>
-        private DataTable m_cmbData = new DataTable();
-
-        /// <summary>
-        /// è¡¨ç¤ºã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ä¿�æŒ�é…�åˆ—
-        /// </summary>
-
-        /// <summary>
-        /// ãƒ‘ã‚¹ãƒ¯ãƒ¼ãƒ‰å…¥åŠ›ã�®ã�¿ãƒ•ãƒ©ã‚°
-        /// </summary>
-        private bool m_PasswordInputFlg = false;
-
-        private Control[] m_dispControl;
-        /// <summary>
-        /// çµ‚äº†ãƒœã‚¿ãƒ³æŠ¼ä¸‹ãƒ•ãƒ©ã‚°
-        /// </summary>
-        private bool m_EndButton = false;
-
-        /// <summary>
-        /// å�‚ç…§ãƒ•ãƒ©ã‚°
-        /// </summary>
-        private bool m_EditLock = false;
-        #endregion
-
-        #region ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£
-        /// <summary>
-        /// æ‹…å½“æ‰€ã‚³ãƒ¼ãƒ‰
-        /// </summary>
-        public int PersonCode
-        {
-            set { m_PersonCode = value; }
-        }
-        /// <summary>
-        /// ãƒ‘ã‚¹ãƒ¯ãƒ¼ãƒ‰ã�®ã�¿
-        /// </summary>
-        public bool PasswordInputFlg
-        {
-            set { m_PasswordInputFlg = value; }
-        }
-
-        /// <summary>
-        /// å�‚ç…§ãƒ•ãƒ©ã‚°
-        /// </summary>
-        public bool EditLock
-        {
-            get { return m_EditLock; }
-            set { m_EditLock = value; }
-        }
-        #endregion
-
-        #region ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
-        public FrmAlwaysEmployment()
-        {
-            InitializeComponent();
-        }
-        #endregion
-        #region ãƒ‡ã‚¹ãƒˆãƒ©ã‚¯ã‚¿
-        ~FrmAlwaysEmployment()
-        {
-            try
-            {
-                GC.Collect();
-            }
-            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 FrmAlwaysEmployment_FormClosing(object sender, FormClosingEventArgs e)
-        {
-            if (m_EndButton) return;
-            if (m_bChengeAns)
-            {
-                if (MessageBox.Show("ãƒ‡ãƒ¼ã‚¿ã�«å¤‰æ›´ã�Œã�‚ã‚Šã�¾ã�™ã€�ç™»éŒ²ã�›ã�šã�«çµ‚äº†ã�—ã�¦ã‚ˆã‚�ã�—ã�„ã�§ã�™ã�‹ï¼Ÿã€‚", "çµ‚äº†ç¢ºèª�"
-                                , MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.No)
-                {
-                    e.Cancel = true;
-                    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 void FrmAlwaysEmployment_Load(object sender, EventArgs e)
-        {
-            // ãƒ•ã‚©ãƒ¼ãƒ ã‚µã‚¤ã‚ºå›ºå®š
-            this.MaximizedBounds = new Rectangle(this.Left, this.Top, this.Width, this.Height);
-
-            m_bEventStop = true;
-            // ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆãƒ�ãƒ³ãƒ‰ãƒ«å�–å¾—
-            SetDisplayObject();
-
-            // åˆ�æœŸè¡¨ç¤º
-            DispGridData();
-
-            // æ›´æ–°ã‚¨ãƒªã‚¢ã‚¯ãƒªã‚¢
-            ClearDisplay();
-
-            // ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ãƒ­ãƒƒã‚¯
-            ControlLock(false);
-
-            // å�‚ç…§æ™‚ã�¯ãƒ‡ãƒ¼ã‚¿å¤‰æ›´ã�•ã�›ã�ªã�„
-            if (m_EditLock)
-            {
-                ExecReadOnly();
-            }
-
-            m_bEventStop = false;
-        }
-        #endregion
-
-        #region ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰å€¤å¤‰æ›´ãƒ•ãƒ©ã‚°
-        /// <summary>
-        /// ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰å€¤å¤‰æ›´ãƒ•ãƒ©ã‚°
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void valueChange(object sender, EventArgs e)
-        {
-            m_bChengeAns = true;
-        }
-        #endregion
-
-        #region ç™»éŒ²ãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        /// <summary>
-        /// ç™»éŒ²ãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnDataEntry_Click(object sender, EventArgs e)
-        {
-            try
-            {
-                //ãƒ‡ãƒ¼ã‚¿ãƒ�ã‚§ãƒƒã‚¯
-                if (!DispFeildCheck()) return;
-
-                if (MessageBox.Show("è¡¨ç¤ºä¸­ã�®ãƒ‡ãƒ¼ã‚¿ã‚’ç™»éŒ²ã�—ã�¾ã�™ã€‚", "ç™»éŒ²ç¢ºèª�"
-                        , MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes) return;
-
-                // ç·¨é›†ãƒ‡ãƒ¼ã‚¿ã‚°ãƒªãƒƒãƒ‰ã�¸ç§»å‹•
-
-
-                // ãƒ‡ãƒ¼ã‚¿ç™»éŒ²
-                if (!PersonInChargeMasterDataEntry()) return;
-
-                CommonMotions.EntryEndMessage("å¤–æ³¨è€…æƒ…å ±ãƒ‡ãƒ¼ã‚¿");
-
-                // æ›´æ–°ã‚¨ãƒªã‚¢ã‚¯ãƒªã‚¢
-                ClearDisplay();
-
-                // ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ãƒ­ãƒƒã‚¯
-                ControlLock(false);
-
-                // è¡¨ç¤ºè¡Œé€€é�¿
-                int iIndex = dgvMaster.FirstDisplayedScrollingRowIndex;
-
-                // ãƒ‡ãƒ¼ã‚¿ä¸€è¦§å†�è¡¨ç¤º
-                DispGridData();
-
-                // è¡¨ç¤ºè¡Œå¾©å…ƒ
-                dgvMaster.FirstDisplayedScrollingRowIndex = iIndex;
-
-                dgvMaster.Focus();
-
-                // å¤‰æ›´ãƒ•ãƒ©ã‚°ã‚¯ãƒªã‚¢
-                m_bChengeAns = false;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region å‰Šé™¤ãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        /// <summary>
-        /// å‰Šé™¤ãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnDataDelete_Click(object sender, EventArgs e)
-        {
-            IOMPersonInCharge picDB = new IOMPersonInCharge();
-            try
-            {
-                if (MessageBox.Show("è¡¨ç¤ºä¸­ã�®ãƒ‡ãƒ¼ã‚¿ã‚’å‰Šé™¤ã�—ã�¾ã�™ã€‚", "å‰Šé™¤ç¢ºèª�"
-                    , MessageBoxButtons.YesNo, MessageBoxIcon.Information) != DialogResult.Yes) return;
-
-                picDB.connect(); picDB.beginTran();
-
-                PersonInChargeMaster workList = new PersonInChargeMaster();
-                // ãƒ‡ãƒ¼ã‚¿å­˜åœ¨ç¢ºèª�
-                int PersonCode = CommonMotions.cnvInt(m_dispControl[(int)Dispcount.PersonCode].Text);
-                string strWhere = string.Format(" Where PersonCode = {0}", PersonCode);
-                // ãƒ‡ãƒ¼ã‚¿èª­è¾¼
-                if (!picDB.SelectAction(strWhere, ref workList, false))
-                {
-                    MessageBox.Show("å‰Šé™¤ç¢ºèª�ã�«å¤±æ•—ã�—ã�¾ã�—ã�Ÿã€‚", "å‰Šé™¤ã‚¨ãƒ©ãƒ¼", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return;
-                }
-
-                // çµ‚äº†å¹´æœˆæ—¥
-                if (!picDB.UpdateFeild(PersonCode, (int)IOMPersonInCharge.ColumnCnt.EndDate, DateTime.Now, false))
-                {
-                    picDB.rollback();
-                    MessageBox.Show("å‰Šé™¤ã�«å¤±æ•—ã�—ã�¾ã�—ã�Ÿã€‚", "å‰Šé™¤ã‚¨ãƒ©ãƒ¼", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return;
-                }
-                // å‰Šé™¤ãƒ•ãƒ©ã‚°
-                if (!picDB.UpdateFeild(PersonCode, (int)CommonDefine.DataRowDeleteDef.Deleted, 1, false))
-                {
-                    picDB.rollback();
-                    MessageBox.Show("å‰Šé™¤ã�«å¤±æ•—ã�—ã�¾ã�—ã�Ÿã€‚", "å‰Šé™¤ã‚¨ãƒ©ãƒ¼", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return;
-                }
-                picDB.commit();
-
-                CommonMotions.RemoveEndMessage("å¤–æ³¨è€…æƒ…å ±ãƒ‡ãƒ¼ã‚¿");
-
-                //// çµ‚äº†å¹´æœˆæ—¥
-                //workList[0].EndDate = DateTime.Now;
-                //// å‰Šé™¤ãƒ•ãƒ©ã‚°
-                //workList[0].DeleteFlg = 1;
-                //// ãƒ‡ãƒ¼ã‚¿æ›´æ–°
-                //if (!picDB.UpdateAction(strWhere, workList[0]))
-                //{
-                //    MessageBox.Show("å‰Šé™¤ã�«å¤±æ•—ã�—ã�¾ã�—ã�Ÿã€‚", "å‰Šé™¤ã‚¨ãƒ©ãƒ¼", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                //    return;
-                //}
-
-                // æ›´æ–°ã‚¨ãƒªã‚¢ã‚¯ãƒªã‚¢
-                ClearDisplay();
-
-                // ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ãƒ­ãƒƒã‚¯
-                ControlLock(false);
-
-                // è¡¨ç¤ºè¡Œé€€é�¿
-                int iIndex = dgvMaster.FirstDisplayedScrollingRowIndex;
-
-                // ãƒ‡ãƒ¼ã‚¿ä¸€è¦§å†�è¡¨ç¤º
-                DispGridData();
-
-                // è¡¨ç¤ºè¡Œå¾©å…ƒ
-                dgvMaster.FirstDisplayedScrollingRowIndex = iIndex;
-
-                dgvMaster.Focus();
-
-                // å¤‰æ›´ãƒ•ãƒ©ã‚°ã‚¯ãƒªã‚¢
-                m_bChengeAns = false;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                picDB.close(); picDB = null;
-            }
-        }
-        #endregion
-
-        #region é–‹å§‹å¹´æœˆæ—¥å…¥åŠ›å¾Œå‡¦ç�†
-        /// <summary>
-        /// é–‹å§‹å¹´æœˆæ—¥å…¥åŠ›å¾Œå‡¦ç�†
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void txtInputDate_TextChanged(object sender, EventArgs e)
-        {
-            TextBox txtbox = (TextBox)sender;
-
-            // æ–°è¦�ã�®ã�¨ã��ã�®ã�¿å‡¦ç�†ã�™ã‚‹
-            if (lblPersonCode.Text.Length != 0) return;
-
-            // çµ‚äº†æ—¥ä»˜ã�®å ´å�ˆã�¯å‡¦ç�†ã‚’çµ‚äº†ã�™ã‚‹
-            if (txtbox == (TextBox)m_dispControl[(int)Dispcount.EndDate]) return;
-
-            // æ—¥ä»˜ã‚’yyyy/mm/ddå½¢å¼�ã�§è¡¨ç¤ºã�™ã‚‹
-            if (txtbox.Text.Length == 0) return;
-
-            // æ—¥ä»˜ã�Œã�Šã�‹ã�—ã��ã�ªã�„ã�‹ã‚’ãƒ�ã‚§ãƒƒã‚¯ã�™ã‚‹
-            if(!CommonMotions.chkDate(txtbox.Text.ToString())) return;
-
-            // æ—¥ä»˜ç·¨é›†è¡¨ç¤º
-            DateTime wrkDt = DateTime.Parse(txtbox.Text);
-            txtbox.Text = wrkDt.ToShortDateString();
-
-            // æ‹…å½“è€…ã‚³ãƒ¼ãƒ‰ç”¨ã�«yyyy/mmã‚’å�–å¾—ã�™ã‚‹
-            string work = wrkDt.Year.ToString("0000") + "/" + wrkDt.Month.ToString("00");
-        
-            // æ‹…å½“è€…ã‚³ãƒ¼ãƒ‰ã�®åŸºã‚’å�–å¾—ã�™ã‚‹
-            int personcode = GetMaxPersonCode(work);
-            if (personcode == 0)
-            {   // å¯¾è±¡æœˆã�«ç™»éŒ²è€…ã�Œã�„ã�ªã�„å ´å�ˆã�¯1ç•ªã�§ä½œæˆ�
-                m_dispControl[(int)Dispcount.PersonCode].Text = work.Replace("/", "") + string.Format("{0:00}", 1);
-            }
-            else
-            {   // å¯¾è±¡æœˆã�«ç™»éŒ²è€…ã�Œã�„ã�Ÿå ´å�ˆã�¯ã��ã�®ç•ªå�·+1ã�«ã�™ã‚‹
-                m_dispControl[(int)Dispcount.PersonCode].Text = string.Format("{0:00000000}", personcode + 1);
-            }
-            // æ–°è¦�æ™‚ã�¯ãƒ‘ã‚¹ãƒ¯ãƒ¼ãƒ‰ã‚’å�Œã�˜ã�«ã�™ã‚‹
-            if (m_dispControl[(int)Dispcount.EditMode].Text.Trim().Equals(CommonDefine.EditModeStringNew))
-            {
-                m_dispControl[(int)Dispcount.PassWord].Text = m_dispControl[(int)Dispcount.PersonCode].Text;
-            }
-        }
-        #endregion
-
-        #region Entryã‚­ãƒ¼ã�§ã�®ç§»å‹•å‡¦ç�†
-        /// <summary>
-        /// Entryã‚­ãƒ¼ã�§ã�®ç§»å‹•å‡¦ç�†
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void FrmAlwaysEmployment_KeyDown(object sender, KeyEventArgs e)
-        {
-            //Enterã‚­ãƒ¼ã�ŒæŠ¼ã�•ã‚Œã�¦ã�„ã‚‹ã�‹ç¢ºèª�
-            //Altã�‹Ctrlã‚­ãƒ¼ã�ŒæŠ¼ã�•ã‚Œã�¦ã�„ã‚‹æ™‚ã�¯ç„¡è¦–ã�™ã‚‹
-            if ((e.KeyCode == Keys.Enter) && !e.Alt && !e.Control)
-            {
-                //ã�‚ã�Ÿã�‹ã‚‚Tabã‚­ãƒ¼ã�ŒæŠ¼ã�•ã‚Œã�Ÿã�‹ã�®ã‚ˆã�†ã�«ã�™ã‚‹
-                //Shiftã�ŒæŠ¼ã�•ã‚Œã�¦ã�„ã‚‹æ™‚ã�¯å‰�ã�®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã�®ãƒ•ã‚©ãƒ¼ã‚«ã‚¹ã‚’ç§»å‹•
-                this.ProcessTabKey(!e.Shift);
-
-                e.Handled = true;
-                //.NET Framework 2.0ä»¥é™�
-                e.SuppressKeyPress = true;
-            }
-        }
-        #endregion
-
-        #region è¡Œé�¸æŠžæ™‚å‡¦ç�†
-        /// <summary>
-        /// è¡Œé�¸æŠžæ™‚å‡¦ç�†
-        /// </summary>
-        private void DataSelectRow()
-        {
-            try
-            {
-                if (m_bChengeAns)
-                {
-                    if (MessageBox.Show("ãƒ‡ãƒ¼ã‚¿ã�«å¤‰æ›´ã�Œã�‚ã‚Šã�¾ã�™ã€�ç™»éŒ²å†…å®¹ã‚’ç ´æ£„ã�—ã�¦ã‚ˆã‚�ã�—ã�„ã�§ã�™ã�‹ï¼Ÿã€‚", "çµ‚äº†ç¢ºèª�"
-                                    , MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.No)
-                    {
-                        return;
-                    }
-                }
-                if (dgvMaster.Rows.Count < 1) return;
-                if (dgvMaster.CurrentRow.Index < 0) return;
-
-                // ç©ºç™½è¡Œã�¯å‡¦ç�†ã�—ã�ªã�„
-                if (CommonMotions.chkObjectIsNull(dgvMaster.CurrentRow.Cells[(int)DispListColumn.PERSON_CODE].Value) ||
-                    CommonMotions.cnvString(dgvMaster.CurrentRow.Cells[(int)DispListColumn.PERSON_CODE].Value).Length == 0)
-                {
-                    // ã‚¯ãƒªã‚¢
-                    ClearDisplay();
-                    // ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ãƒ­ãƒƒã‚¯è§£é™¤
-                    ControlLock(false);
-                    return;
-                }
-
-                m_PersonCode = CommonMotions.cnvInt(dgvMaster.CurrentRow.Cells[(int)DispListColumn.PERSON_CODE].Value);
-
-                // ã‚¯ãƒªã‚¢
-                ClearDisplay();
-
-                // ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ãƒ­ãƒƒã‚¯è§£é™¤
-                ControlLock();
-
-                // æ›´æ–°ãƒ‡ãƒ¼ã‚¿å�–å¾—
-                DispMentenanceData();
-
-                // ãƒ¢ãƒ¼ãƒ‰è¡¨ç¤º
-                if (m_EditLock)
-                    m_dispControl[(int)Dispcount.EditMode].Text = CommonDefine.EditModeStringRef;
-                else
-                    m_dispControl[(int)Dispcount.EditMode].Text = CommonDefine.EditModeStringEdit;
-
-                // å�‚ç…§æ™‚ã�¯ãƒ‡ãƒ¼ã‚¿å¤‰æ›´ã�•ã�›ã�ªã�„
-                if (m_EditLock)
-                {
-                    ExecReadOnly();
-                }
-
-                // ãƒ•ã‚©ãƒ¼ã‚«ã‚¹ã‚»ãƒƒãƒˆ
-                m_dispControl[(int)Dispcount.PersonName].Focus();
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ã‚°ãƒªãƒƒãƒ‰é�¸æŠžå‡¦ç�†
-        /// <summary>
-        /// ã‚°ãƒªãƒƒãƒ‰é�¸æŠžå‡¦ç�†
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void dgvMaster_CellClick(object sender, DataGridViewCellEventArgs e)
-        {
-            // è¡Œé�¸æŠžæ™‚å‡¦ç�†
-            DataSelectRow();
-        }
-        #endregion
-
-        #region é�¸æŠžãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        /// <summary>
-        /// é�¸æŠžãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnDataSelect_Click(object sender, EventArgs e)
-        {
-            // è¡Œé�¸æŠžæ™‚å‡¦ç�†
-            DataSelectRow();
-        }
-        #endregion
-
-        #region è¡Œè¿½åŠ ãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        /// <summary>
-        /// è¡Œè¿½åŠ ãƒœã‚¿ãƒ³æŠ¼ä¸‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnDataLineEntry_Click(object sender, EventArgs e)
-        {
-            m_PersonCode = 0;
-            // ã‚¯ãƒªã‚¢
-            ClearDisplay();
-
-            // ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ãƒ­ãƒƒã‚¯è§£é™¤
-            ControlLock();
-
-            // ãƒ¢ãƒ¼ãƒ‰è¡¨ç¤º
-            m_dispControl[(int)Dispcount.EditMode].Text = CommonDefine.EditModeStringNew;
-            // ãƒ•ã‚©ãƒ¼ã‚«ã‚¹ã‚»ãƒƒãƒˆ
-            m_dispControl[(int)Dispcount.PersonName].Focus();
-        }
-        #endregion
-
-        #region ã‚¢ãƒƒãƒ—ã‚­ãƒ¼æŠ¼ä¸‹
-        /// <summary>
-        /// ã‚¢ãƒƒãƒ—ã‚­ãƒ¼æŠ¼ä¸‹
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnDispUp_Click(object sender, EventArgs e)
-        {
-            try
-            {
-                // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvMaster, (int)DispListColumn.PERSON_CODE, (int)DispListColumn.END_DATE);
-
-                m_bChengeAns = true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼æŠ¼ä¸‹å‡¦ç�†
-        /// <summary>
-        /// ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼æŠ¼ä¸‹å‡¦ç�†
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnDispDown_Click(object sender, EventArgs e)
-        {
-            try
-            {
-                // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvMaster, (int)DispListColumn.PERSON_CODE, (int)DispListColumn.END_DATE);
-
-                m_bChengeAns = true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region æ©Ÿå¯†åŒºåˆ†é�¸æŠž
-        /// <summary>
-        /// æ©Ÿå¯†åŒºåˆ†é�¸æŠž
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void cmbSecurityManagement_SelectedIndexChanged(object sender, EventArgs e)
-        {
-            if (m_bEventStop) return;
-
-            int wrk = CommonMotions.cnvInt(((ComboBox)m_dispControl[(int)Dispcount.SecurityManagement]).SelectedValue.ToString());
-            if (wrk == 0 || wrk == CommonDefine.SystemManageDiv[(int)CommonDefine.SysManaDivNo.UserAuthority].Key)
-            {
-                label15.Visible = false;
-                lblMessageColor.Visible = false;
-                btnBackColor.Visible = false;
-            }
-            else
-            {
-                label15.Visible = true;
-                lblMessageColor.Visible = true;
-                btnBackColor.Visible = true;
-            }
-        }
-        #endregion
-
-        #region é‡‘é¡�å…¥åŠ›å¾Œå‡¦ç�†
-        /// <summary>
-        /// é‡‘é¡�å…¥åŠ›å¾Œå‡¦ç�†
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void txtInputSalary_Validated(object sender, EventArgs e)
-        {
-            TextBox wrkTxt = (TextBox)sender;
-
-            wrkTxt.Text = CommonMotions.cnvDouble(wrkTxt.Text).ToString("#,0");
-            // æœˆçµ¦å…¥åŠ›æ™‚
-            if (wrkTxt.Name == m_dispControl[(int)Dispcount.MonthlySalary].Name)
-            {
-                m_dispControl[(int)Dispcount.YearSalary].Text = CommonMotions.cnvRound(CommonMotions.cnvDouble(wrkTxt.Text) * s_MonthCount).ToString("#,#0");
-            }
-        }
-        #endregion
-
-        #region åˆ�æœŸæ™‚ãƒ‡ãƒ¼ã‚¿å�–å¾—
-        /// <summary>
-        /// åˆ�æœŸæ™‚ãƒ‡ãƒ¼ã‚¿å�–å¾—
-        /// </summary>
-        private bool DispGridData()
-        {
-            // æ‹…å½“è€…ãƒžã‚¹ã‚¿ã‚¯ãƒ©ã‚¹
-            IOMPersonInCharge picDB = new IOMPersonInCharge();
-            try
-            {
-                // æ‹…å½“è€…ãƒžã‚¹ã‚¿å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
-                List<PersonInChargeMaster> pic = new List<PersonInChargeMaster>();
-                // æ‹…å½“è€…ãƒžã‚¹ã‚¿å�–å¾—SQL
-                StringBuilder strSql = new StringBuilder();
-                strSql.AppendFormat(" Where EmployeeClassFlg = {0} And DeleteFlg = {1} Order By DisplayOrder ASC"
-                                    , (int)PersonInChargeMaster.EmployeeClassFlgDef.OutSource
-                                    , (int)CommonDefine.DataRowDeleteDef.Exists);
-                // ã‚°ãƒªãƒƒãƒ‰ã�®è¡Œã‚’0ã�«æˆ»ã�™
-                dgvMaster.Rows.Clear();
-                // æ‹…å½“è€…ãƒžã‚¹ã‚¿å�–å¾—
-                if (!picDB.SelectAction(strSql.ToString(), ref pic)) return false;
-
-                // ãƒ‡ãƒ¼ã‚¿è¡¨ç¤º
-                int ino = 1, icnt = 0;
-                foreach (PersonInChargeMaster work in pic)
-                {
-                    dgvMaster.Rows.Add((ino++).ToString()
-                                        , work.PersonCode
-                                        , work.PersonName
-                                        , work.StartDate.ToShortDateString()
-                                        , work.EndDate.ToShortDateString()
-                                        , work.PassWord
-                                        , work.SecurityManagement.ToString());
-
-                    dgvMaster.Rows[icnt++].Cells[(int)DispListColumn.PERSON_NAME].ToolTipText = work.PersonName;
-                }
-                // è¡¨ç¤ºè¡Œã�Œè¶³ã‚Šã�ªã�„å ´å�ˆã�¯è¿½åŠ ã�™ã‚‹
-                if (dgvMaster.Rows.Count <= CommonDefine.s_MaxInitLineCountMastamente)
-                {
-                    int iAddLine = CommonDefine.s_MaxInitLineCountMastamente - dgvMaster.Rows.Count;
-                    for (int i = 0; i < iAddLine; i++)
-                    {
-                        dgvMaster.Rows.Add();
-                    }
-                }
-
-                // èª­è¾¼æ™‚ãƒ‡ãƒ¼ã‚¿ã‚«ã‚¦ãƒ³ãƒˆå�–å¾—
-                m_initDataCount = pic.Count;
-
-                // è¡Œã‚’é�¸æŠžã�—ã�ªã�„
-                dgvMaster.ClearSelection();
-
-                return true;
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                picDB.close(); picDB = null;
-            }
-        }
-        #endregion
-
-        #region æ›´æ–°ãƒ‡ãƒ¼ã‚¿è¡¨ç¤ºå‡¦ç�†
-        /// <summary>
-        /// æ›´æ–°ãƒ‡ãƒ¼ã‚¿è¡¨ç¤ºå‡¦ç�†
-        /// </summary>
-        /// <param name="iLinecnt">è¡Œã‚«ã‚¦ãƒ³ãƒˆ</param>
-        /// <returns></returns>
-        private bool DispMentenanceData()
-        {
-            // æ‹…å½“è€…ãƒžã‚¹ã‚¿ã‚¯ãƒ©ã‚¹
-            IOMPersonInCharge picDB = new IOMPersonInCharge();
-            try
-            {
-                // æ‹…å½“è€…ãƒžã‚¹ã‚¿å�–å¾—ã‚¯ãƒ©ã‚¹é ˜åŸŸ
-                PersonInChargeMaster picList = new PersonInChargeMaster();
-
-                // æ‹…å½“è€…ãƒžã‚¹ã‚¿å�–å¾—SQL
-                string strSql = string.Format(" Where PersonCode = {0}", m_PersonCode.ToString());
-
-                // æ‹…å½“è€…ãƒžã‚¹ã‚¿å�–å¾—
-                if (!picDB.SelectAction(strSql, ref picList)) return false;
-
-                // ãƒ‡ãƒ¼ã‚¿è¡¨ç¤º
-                // ãƒ‡ãƒ¼ã‚¿è¡¨ç¤º
-                m_dispControl[(int)Dispcount.PersonCode].Text = picList.PersonCode.ToString();
-                m_dispControl[(int)Dispcount.PersonName].Text = picList.PersonName;
-                m_dispControl[(int)Dispcount.StartDate].Text = picList.StartDate.ToShortDateString();
-
-                if (picList.EndDate != DateTime.MinValue)
-                    m_dispControl[(int)Dispcount.EndDate].Text = picList.EndDate.ToShortDateString();
-
-                m_dispControl[(int)Dispcount.PassWord].Text = picList.PassWord;
-
-                m_dispControl[(int)Dispcount.MonthlySalary].Text = picList.MonthlySalary.ToString("#,#0");
-                m_dispControl[(int)Dispcount.YearSalary].Text = picList.YearSalary.ToString("#,#0");
-
-                // ä¸€èˆ¬ä½¿ç”¨è€…ã�¯æ‰¿èª�è‰²ã‚’ä½¿ç”¨ã�—ã�ªã�„
-                if (picList.SecurityManagement == CommonDefine.SystemManageDiv[(int)CommonDefine.SysManaDivNo.UserAuthority].Key)
-                {
-                    label15.Visible = false;
-                    m_dispControl[(int)Dispcount.MessageColor].Visible = false;
-                    btnBackColor.Visible = false;
-                }
-                else
-                {
-                    label15.Visible = true;
-                    m_dispControl[(int)Dispcount.MessageColor].Visible = true;
-                    btnBackColor.Visible = true;
-
-                    // èƒŒæ™¯è‰²è¨­å®š
-                    m_dispControl[(int)Dispcount.MessageColor].BackColor = CommonMotions.getBackForeColor(picList.MsgBackColor
-                                                                        , TermMaster.PalceOfColorDef.BackColor);
-                }
-
-                m_bEventStop = true;
-                ((ComboBox)m_dispControl[(int)Dispcount.SecurityManagement]).SelectedValue = picList.SecurityManagement;
-                ((ComboBox)m_dispControl[(int)Dispcount.Department]).SelectedValue = picList.DepartmentCode;
-                m_bEventStop = false;
-
-                ((ComboBox)m_dispControl[(int)Dispcount.LedgerFlg]).SelectedValue = picList.LedgerFlg;
-
-                m_dispControl[(int)Dispcount.DisplayString].Text = picList.DisplayString;
-                m_dispControl[(int)Dispcount.Qualification].Text = picList.Qualification;
-                m_dispControl[(int)Dispcount.SealPrintName].Text = picList.SealPrintName;
-
-
-                m_bChengeAns = false;
-
-
-                return true;
-
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                picDB.close(); picDB = null;
-            }
-        }
-        #endregion
-
-        #region ç”»é�¢ãƒ­ãƒƒã‚¯
-        /// <summary>
-        /// ç”»é�¢ãƒ­ãƒƒã‚¯
-        /// </summary>
-        private void ControlLock(bool bctrl = true)
-        {
-            foreach (Control wrk in m_dispControl)
-            {
-                if (CommonMotions.chkObjectIsNull(wrk)) continue;
-                if (!wrk.GetType().Equals(typeof(Label)))
-                    wrk.Enabled = bctrl;
-            }
-        }
-        #endregion
-
-        #region ç”»é�¢ã‚¯ãƒªã‚¢
-        /// <summary>
-        /// ç”»é�¢ã‚¯ãƒªã‚¢
-        /// </summary>
-        private void ClearDisplay()
-        {
-            foreach (Control wrk in m_dispControl)
-            {
-                if (CommonMotions.chkObjectIsNull(wrk)) continue;
-                wrk.Text = "";
-                CommonMotions.chgBackColor(wrk, true);
-            }
-
-            // æ–°è¦�æ™‚ã�¯æ‹…å½“è€…ã‚³ãƒ¼ãƒ‰ã‚’è¡¨ç¤ºã�—ã�ªã�„
-            if (m_PersonCode == 0)
-            {
-                lblPersonLabel.Visible = false;
-                lblPersonCode.Visible = false;
-            }
-            else
-            {
-                lblPersonLabel.Visible = true;
-                lblPersonCode.Visible = true;
-            }
-            // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸå‡¦ç�†
-            SetSecurityManagementCombBox();
-            SetDepartmentCombBox();
-            SetCalcLedgerCombBox();
-
-            m_bChengeAns = false;
-        }
-        #endregion
-
-        #region ç”»é�¢é …ç›®ã�®ãƒ�ã‚§ãƒƒã‚¯
-        /// <summary>
-        /// ç”»é�¢é …ç›®ã�®ãƒ�ã‚§ãƒƒã‚¯
-        /// </summary>
-        /// <returns></returns>
-        private bool DispFeildCheck()
-        {
-            bool bRet = true;
-            int iLength = 0;
-            try
-            {
-                // æ‹…å½“è€…å��
-                if (m_dispControl[(int)Dispcount.PersonName].Text.Length != 0) iLength++;
-                bRet &= CommonMotions.DispFieldLengthCheck(m_dispControl[(int)Dispcount.PersonName], s_PersonNameLength, true);
-
-                // ãƒžã‚¹ã‚¿ä½¿ç”¨é–‹å§‹å¹´æœˆ
-                if (m_dispControl[(int)Dispcount.StartDate].Text.Length != 0) iLength++;
-                bRet &= CommonMotions.DispFieldDateCheck(m_dispControl[(int)Dispcount.StartDate], true);
-
-                // ãƒžã‚¹ã‚¿ä½¿ç”¨çµ‚äº†å¹´æœˆ
-                if (m_dispControl[(int)Dispcount.EndDate].Text.Length != 0) iLength++;
-                if (m_dispControl[(int)Dispcount.EndDate].Text != CommonDefine.s_UndecidedString)
-                    bRet &= CommonMotions.DispFieldDateCheck(m_dispControl[(int)Dispcount.EndDate]);
-
-                //ã€€ãƒ‘ã‚¹ãƒ¯ãƒ¼ãƒ‰
-                if (m_dispControl[(int)Dispcount.PassWord].Text.Length != 0) iLength++;
-                bRet &= CommonMotions.DispFieldLengthCheck(m_dispControl[(int)Dispcount.PassWord], s_PassWordLength, true);
-
-                //ã€€ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£åŒºåˆ†
-                if (m_dispControl[(int)Dispcount.SecurityManagement].Text.Length != 0) iLength++;
-                bRet &= CommonMotions.DispFieldIndispensable(m_dispControl[(int)Dispcount.SecurityManagement]);
-
-                // è¡¨ç¤ºãƒ»å�°åˆ·å��ç§°
-                if (m_dispControl[(int)Dispcount.DisplayString].Text.Length != 0) iLength++;
-                bRet &= CommonMotions.DispFieldLengthCheck(m_dispControl[(int)Dispcount.DisplayString], s_DisplayStringLength);
-
-                //ã€€éƒ¨ç½²ã‚³ãƒ¼ãƒ‰
-                int SecVal = CommonMotions.cnvInt(((ComboBox)m_dispControl[(int)Dispcount.SecurityManagement]).SelectedValue.ToString());
-                if (SecVal > CommonDefine.SystemManageDiv[(int)CommonDefine.SysManaDivNo.SupervisorAuthority].Key)
-                {
-                    if (m_dispControl[(int)Dispcount.Department].Text.Length != 0) iLength++;
-                    bRet &= CommonMotions.DispFieldIndispensable(m_dispControl[(int)Dispcount.Department]);
-                }
-                
-                // æœˆçµ¦é‡‘é¡�
-                if (m_dispControl[(int)Dispcount.MonthlySalary].Text.Length != 0) iLength++;
-                bRet &= CommonMotions.DispFieldDoubleCheck(m_dispControl[(int)Dispcount.MonthlySalary], true);
-
-                // å¹´æ£’é‡‘é¡�
-                if (m_dispControl[(int)Dispcount.YearSalary].Text.Length != 0) iLength++;
-                bRet &= CommonMotions.DispFieldDoubleCheck(m_dispControl[(int)Dispcount.YearSalary], true);
-
-                // è³‡æ ¼æƒ…å ±
-                if (m_dispControl[(int)Dispcount.Qualification].Text.Length != 0) iLength++;
-                bRet &= CommonMotions.DispFieldLengthCheck(m_dispControl[(int)Dispcount.Qualification], s_QualificationLength, false);
-
-                // å�°é‘‘è¡¨ç¤ºå��
-                if (m_dispControl[(int)Dispcount.SealPrintName].Text.Length != 0) iLength++;
-                bRet &= CommonMotions.DispFieldLengthCheck(m_dispControl[(int)Dispcount.SealPrintName], s_SealPrintNameLength, false);
-
-                if (iLength == 0)
-                {
-                    MessageBox.Show("ãƒ‡ãƒ¼ã‚¿ã�Œå…¥åŠ›ã�•ã‚Œã�¦ã�„ã�¾ã�›ã‚“ã€�ç¢ºèª�ã�—ã�¦ã��ã� ã�•ã�„ã€‚", "ãƒ‡ãƒ¼ã‚¿ç¢ºèª�", MessageBoxButtons.OK, MessageBoxIcon.Warning);
-                    return false;
-                }
-                if (!bRet)
-                {
-                    MessageBox.Show("å…¥åŠ›ã‚¨ãƒ©ãƒ¼ã�Œã�‚ã‚Šã�¾ã�™ã€�ç¢ºèª�ã�—ã�¦ã��ã� ã�•ã�„ã€‚", "ãƒ‡ãƒ¼ã‚¿ç¢ºèª�", MessageBoxButtons.OK, MessageBoxIcon.Warning);
-                    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 int GetMaxPersonCode(string strDate)
-        {
-            int iRet = 0;
-            IOMPersonInCharge picDB = new IOMPersonInCharge();
-            try
-            {
-                // ãƒ‡ãƒ¼ã‚¿æ›´æ–°
-                string strWhere = "";
-                if (strDate.Length != 0)
-                {
-                    //strWhere = string.Format(" Where TO_CHAR(StartDate,'YYYY/MM') = '{0}'", strDate);
-                    strWhere = string.Format(" Where DATE_FORMAT(StartDate,'%Y/%m') = '{0}'", strDate);
-                }
-                iRet = picDB.SelectMaxPersonCodeCount(strWhere);
-
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return iRet;
-            }
-            finally
-            {
-                picDB.close(); picDB = null;
-            }
-            return iRet;
-        }
-        #endregion
-
-        #region æ‹…å½“è€…ãƒžã‚¹ã‚¿ç™»éŒ²
-        /// <summary>
-        /// æ‹…å½“è€…ãƒžã‚¹ã‚¿ç™»éŒ²
-        /// </summary>
-        private bool PersonInChargeMasterDataEntry()
-        {
-            IOMPersonInCharge picDB = new IOMPersonInCharge();
-            try
-            {
-                //// ä¸€æ‹¬å‡¦ç�†ã�ªã�®ã�§æŽ¥ç¶šã‚’è¡Œã�†
-                picDB.connect();
-                picDB.beginTran();
-
-                // è¡¨ç¤ºé †ã‚’æ›´æ–°ã�™ã‚‹
-                foreach (DataGridViewRow wrkRow in dgvMaster.Rows)
-                {
-                    // æ‹…å½“è€…ã‚³ãƒ¼ãƒ‰ç„¡ã�¯å‡¦ç�†ã�—ã�ªã�„
-                    if (CommonMotions.chkObjectIsNull(wrkRow.Cells[(int)DispListColumn.PERSON_CODE].Value)) continue;
-
-                    List<PersonInChargeMaster> cwrow = new List<PersonInChargeMaster>();
-
-                    // æ¤œç´¢æ–‡å­—åˆ—ä½œæˆ�
-                    string SQLRow = picDB.CreatePrimarykeyString(
-                                                CommonMotions.cnvInt(wrkRow.Cells[(int)DispListColumn.PERSON_CODE].Value));
-
-                    // ãƒ‡ãƒ¼ã‚¿å�–å¾—
-                    if (!picDB.SelectAction(SQLRow, ref cwrow, false)) break;
-                    // è¡¨ç¤ºé †å¤‰æ›´
-                    cwrow[0].DisplayOrder = CommonMotions.cnvInt(wrkRow.Cells[(int)DispListColumn.DISPLAY_ORDER].Value);
-                    // ãƒ‡ãƒ¼ã‚¿æ›´æ–°
-                    picDB.UpdateAction(SQLRow, cwrow[0], false);
-                }
-
-                PersonInChargeMaster work = new PersonInChargeMaster();
-                List<PersonInChargeMaster> workList = new List<PersonInChargeMaster>();
-
-                // æ‹…å½“è€…ã‚³ãƒ¼ãƒ‰
-                work.PersonCode = CommonMotions.cnvInt(m_dispControl[(int)Dispcount.PersonCode].Text.ToString());
-
-                // æ‹…å½“è€…å��
-                work.PersonName = m_dispControl[(int)Dispcount.PersonName].Text.ToString();
-
-                // é–‹å§‹å¹´æœˆæ—¥
-                if (m_dispControl[(int)Dispcount.StartDate].Text.Length != 0)
-                    work.StartDate = CommonMotions.cnvDate(m_dispControl[(int)Dispcount.StartDate].Text);
-
-                // çµ‚äº†å¹´æœˆæ—¥
-                if (m_dispControl[(int)Dispcount.EndDate].Text.Length != 0)
-                    work.EndDate = CommonMotions.cnvDate(m_dispControl[(int)Dispcount.EndDate].Text);
-
-                // ãƒ‘ã‚¹ãƒ¯ãƒ¼ãƒ‰
-                if (m_dispControl[(int)Dispcount.PassWord].Text.Length != 0)
-                    work.PassWord = m_dispControl[(int)Dispcount.PassWord].Text;
-
-                // æœˆçµ¦é‡‘é¡�
-                if (m_dispControl[(int)Dispcount.MonthlySalary].Text.Length != 0)
-                    work.MonthlySalary = CommonMotions.cnvDouble(m_dispControl[(int)Dispcount.MonthlySalary].Text);
-
-                // å¹´ä¿¸é‡‘é¡�
-                if (m_dispControl[(int)Dispcount.YearSalary].Text.Length != 0)
-                    work.YearSalary = CommonMotions.cnvDouble(m_dispControl[(int)Dispcount.YearSalary].Text);
-
-                // æ©Ÿå¯†åŒºåˆ†
-                if (m_dispControl[(int)Dispcount.SecurityManagement].Text.Length != 0)
-                    work.SecurityManagement = CommonMotions.cnvInt(((ComboBox)m_dispControl[(int)Dispcount.SecurityManagement]).SelectedValue.ToString());
-
-                // å·¥äº‹è©³ç´°å�°å¸³
-                if (m_dispControl[(int)Dispcount.LedgerFlg].Text.Length != 0)
-                    work.LedgerFlg = CommonMotions.cnvInt(((ComboBox)m_dispControl[(int)Dispcount.LedgerFlg]).SelectedValue.ToString());
-
-                // ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸èƒŒæ™¯è‰²
-                if (m_dispControl[(int)Dispcount.MessageColor].Visible)
-                {
-                    Control wrkCtrl = m_dispControl[(int)Dispcount.MessageColor];
-                    work.MsgBackColor = String.Format("0x{0:X2}{1:X2}{2:X2}"
-                                        , wrkCtrl.BackColor.R, wrkCtrl.BackColor.G, wrkCtrl.BackColor.B);
-                }
-
-                // è¡¨ç¤ºãƒ»å�°åˆ·æ–‡å­—åˆ—
-                if (m_dispControl[(int)Dispcount.DisplayString].Text.Length != 0)
-                    work.DisplayString = m_dispControl[(int)Dispcount.DisplayString].Text;
-
-                // éƒ¨ç½²ã‚³ãƒ¼ãƒ‰
-                if (m_dispControl[(int)Dispcount.Department].Text.Length != 0)
-                    work.DepartmentCode = CommonMotions.cnvInt(((ComboBox)m_dispControl[(int)Dispcount.Department]).SelectedValue.ToString());
-
-                // è³‡æ ¼æƒ…å ±
-                work.Qualification = m_dispControl[(int)Dispcount.Qualification].Text.ToString();
-
-                // å�°é‘‘è¡¨ç¤ºå��
-                work.SealPrintName = m_dispControl[(int)Dispcount.SealPrintName].Text.ToString();
-
-                // ç¤¾å“¡åŒºåˆ†ï¼ˆç¤¾å“¡ï¼‰
-                work.EmployeeClassFlg = (int)PersonInChargeMaster.EmployeeClassFlgDef.OutSource;
-
-                // å‰Šé™¤ãƒ•ãƒ©ã‚°
-                work.DeleteFlg = 0;
-
-                // è¡¨ç¤ºé †ã�¯ã‚»ãƒƒãƒˆã�—ã�ªã�„
-                work.DisplayOrder = 0;
-
-                // 
-                string strWhere = string.Format(" Where PersonCode = {0}", work.PersonCode.ToString());
-
-                if (!picDB.SelectAction(strWhere, ref workList, false))
-                {
-                    picDB.rollback();
-                    MessageBox.Show("ç™»éŒ²ç¢ºèª�ã�«å¤±æ•—ã�—ã�¾ã�—ã�Ÿã€‚", "ç™»éŒ²ã‚¨ãƒ©ãƒ¼", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                    return false;
-                }
-
-                if (workList.Count == 0)
-                {
-                    // è¡¨ç¤ºé †ã‚»ãƒƒãƒˆ
-                    work.DisplayOrder = picDB.SelectMaxDisplayCount("", false) + 1;
-                    // ãƒ‡ãƒ¼ã‚¿ã�Œã�ªã�„å ´å�ˆ
-                    workList.Clear();
-                    workList.Add(work);
-                    // ãƒ‡ãƒ¼ã‚¿ç™»éŒ²
-                    if(!picDB.InsertAction(workList, false))
-                    {
-                        picDB.rollback();
-                        MessageBox.Show("ç™»éŒ²ã�«å¤±æ•—ã�—ã�¾ã�—ã�Ÿã€‚", "ç™»éŒ²ã‚¨ãƒ©ãƒ¼", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                        return false;
-                    }
-                }
-                else
-                {
-                    // è¡¨ç¤ºé †ã‚»ãƒƒãƒˆ
-                    work.DisplayOrder = workList[0].DisplayOrder;
-                    // ãƒ‡ãƒ¼ã‚¿ã�Œã�‚ã‚‹å ´å�ˆ
-                    // ãƒ‡ãƒ¼ã‚¿æ›´æ–°
-                    if(!picDB.UpdateAction(strWhere, work, false))
-                    {
-                        picDB.rollback();
-                        MessageBox.Show("æ›´æ–°ã�«å¤±æ•—ã�—ã�¾ã�—ã�Ÿã€‚", "ç™»éŒ²ã‚¨ãƒ©ãƒ¼", MessageBoxButtons.OK, MessageBoxIcon.Error);
-                        return false;
-                    }
-                }
-
-                // æˆ�åŠŸã�—ã�Ÿã‚‰commit
-                picDB.commit();
-
-                // ã‚³ãƒ¼ãƒ‰ã‚¯ãƒªã‚¢
-                m_PersonCode = 0;
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                picDB.close(); picDB = null;
-            }
-        }
-        #endregion
-
-        #region è¡¨ç¤ºã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã�®å�–å¾—
-        /// <summary>
-        /// è¡¨ç¤ºã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã�®å�–å¾—
-        /// </summary>
-        private void SetDisplayObject()
-        {
-            int DspCtrlCnt = Enum.GetNames(typeof(Dispcount)).Length;
-            m_dispControl = new Control[DspCtrlCnt];
-
-            m_dispControl[(int)Dispcount.PersonCode] = lblPersonCode;
-            m_dispControl[(int)Dispcount.PersonName] = txtInput1;
-            m_dispControl[(int)Dispcount.StartDate] = txtInput2;
-            m_dispControl[(int)Dispcount.EndDate] = txtInput3;
-            m_dispControl[(int)Dispcount.PassWord] = txtInput4;
-            m_dispControl[(int)Dispcount.MonthlySalary] = txtInput6;
-            m_dispControl[(int)Dispcount.YearSalary] = txtInput7;
-            m_dispControl[(int)Dispcount.SecurityManagement] = cmbSecurityManagement;
-            m_dispControl[(int)Dispcount.MessageColor] = lblMessageColor;
-            m_dispControl[(int)Dispcount.Department] = cmbDepartment;
-            m_dispControl[(int)Dispcount.DisplayString] = txtInput5;
-            m_dispControl[(int)Dispcount.Qualification] = txtInput8;
-            m_dispControl[(int)Dispcount.SealPrintName] = txtInput9;
-            m_dispControl[(int)Dispcount.LedgerFlg] = cmbLedgerFlg;
-
-            m_dispControl[(int)Dispcount.EditMode] = lblEditMode;
-        }
-        #endregion
-
-        #region æ©Ÿå¯†åŒºåˆ†ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤ºå‡¦ç�†
-        /// <summary>
-        /// æ©Ÿå¯†åŒºåˆ†ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤ºå‡¦ç�†
-        /// </summary>
-        private void SetSecurityManagementCombBox()
-        {
-            m_bEventStop = true;
-            try
-            {
-                // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹ã‚¯ãƒªã‚¢
-                cmbSecurityManagement.DataSource = null;
-                cmbSecurityManagement.Items.Clear();
-
-                // é�¸æŠžé …ç›®ã‚¯ãƒªã‚¢
-                cmbSecurityManagement.Text = "";
-
-                //ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹ã�®ãƒ‡ãƒ¼ã‚¿ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
-
-                List<KeyValuePair<int, string>> DataList = new List<KeyValuePair<int, string>>();
-                DataList.Add(new KeyValuePair<int, string>(0, ""));
-                foreach (KeyValuePair<int, string> wrk in CommonDefine.SystemManageDiv)
-                {
-                    KeyValuePair<int, string> keyval = new KeyValuePair<int, string>(wrk.Key, wrk.Value);
-
-                    DataList.Add(keyval);
-                }
-                // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
-                ComboBoxAction.InitDataSetCombBox(cmbSecurityManagement, DataList);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                m_bEventStop = false;
-            }
-        }
-        #endregion
-
-        #region éƒ¨ç½²ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤ºå‡¦ç�†
-        /// <summary>
-        /// éƒ¨ç½²ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤ºå‡¦ç�†
-        /// </summary>
-        private void SetDepartmentCombBox()
-        {
-            IOMDepartment dmDB = new IOMDepartment();
-            m_bEventStop = true;
-            try
-            {
-                // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹ã‚¯ãƒªã‚¢
-                cmbDepartment.DataSource = null;
-                cmbDepartment.Items.Clear();
-
-                // é�¸æŠžé …ç›®ã‚¯ãƒªã‚¢
-                cmbDepartment.Text = "";
-
-                //ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹ã�®ãƒ‡ãƒ¼ã‚¿ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
-                StringBuilder strSQL = new StringBuilder();
-                strSQL.AppendFormat(" Where DeleteFlg = {0} Order By DisplayOrder", (int)CommonDefine.DataRowDeleteDef.Exists);
-                List<DepartmentMaster> data = new List<DepartmentMaster>();
-                if (!dmDB.SelectAction(strSQL.ToString(), ref data)) return;
-
-                List<KeyValuePair<int, string>> DataList = new List<KeyValuePair<int, string>>();
-                foreach (DepartmentMaster wrk in data)
-                {
-                    KeyValuePair<int, string> keyval = new KeyValuePair<int, string>(wrk.DepartmentCode, wrk.DepartmentString);
-
-                    DataList.Add(keyval);
-                }
-                // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
-                ComboBoxAction.InitDataSetCombBox(cmbDepartment, DataList);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                dmDB.close(); dmDB = null;
-
-                m_bEventStop = false;
-            }
-        }
-        #endregion
-
-        #region å·¥äº‹è©³ç´°å�°å¸³è¨ˆç®—å¯¾è±¡ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤ºå‡¦ç�†
-        /// <summary>
-        /// å·¥äº‹è©³ç´°å�°å¸³è¨ˆç®—å¯¾è±¡ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤ºå‡¦ç�†
-        /// </summary>
-        private void SetCalcLedgerCombBox()
-        {
-            m_bEventStop = true;
-            try
-            {
-                // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹ã‚¯ãƒªã‚¢
-                cmbLedgerFlg.DataSource = null;
-                cmbLedgerFlg.Items.Clear();
-
-                // é�¸æŠžé …ç›®ã‚¯ãƒªã‚¢
-                cmbLedgerFlg.Text = "";
-
-                //ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹ã�®ãƒ‡ãƒ¼ã‚¿ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
-
-                List<KeyValuePair<int, string>> DataList = new List<KeyValuePair<int, string>>();
-                for (int i = 0; i < PersonLedgerDivNoName.Length; i++)
-                {
-                    KeyValuePair<int, string> keyval = new KeyValuePair<int, string>(i, PersonLedgerDivNoName[i]);
-
-                    DataList.Add(keyval);
-                }
-                // ã‚³ãƒ³ãƒœãƒœãƒƒã‚¯ã‚¹åˆ�æœŸè¡¨ç¤º
-                ComboBoxAction.InitDataSetCombBox(cmbLedgerFlg, DataList);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                m_bEventStop = false;
-            }
-        }
-        #endregion
-
-        #region è‰²é�¸æŠžãƒœã‚¿ãƒ³
-        /// <summary>
-        /// è‰²é�¸æŠžãƒœã‚¿ãƒ³å¤‰æ›´
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void btnBackColor_Click(object sender, EventArgs e)
-        {
-            ColorDialog cd = new ColorDialog();
-            try
-            {
-                // ãƒœã‚¿ãƒ³ã�®æ™‚
-                if (!sender.GetType().Equals(typeof(Button))) return;
-                Button ClickButton = (Button)sender;
-
-                //è‰²ã�®ä½œæˆ�éƒ¨åˆ†ã‚’è¡¨ç¤ºå�¯èƒ½ã�«ã�™ã‚‹ã€�ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã�ŒTrueã�®ã�Ÿã‚�å¿…è¦�ã�¯ã�ªã�„
-                cd.AllowFullOpen = true;
-                //ç´”è‰²ã� ã�‘ã�«åˆ¶é™�ã�—ã�ªã�„ã€�ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã�ŒFalseã�®ã�Ÿã‚�å¿…è¦�ã�¯ã�ªã�„
-                cd.SolidColorOnly = false;
-                //[ä½œæˆ�ã�—ã�Ÿè‰²]ã�«æŒ‡å®šã�—ã�Ÿè‰²ï¼ˆRGBå€¤ï¼‰ã‚’è¡¨ç¤ºã�™ã‚‹
-                cd.CustomColors = new int[] {
-                        0x33, 0x66, 0x99, 0xCC, 0x3300, 0x3333,
-                        0x3366, 0x3399, 0x33CC, 0x6600, 0x6633,
-                        0x6666, 0x6699, 0x66CC, 0x9900, 0x9933};
-
-                //ãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã‚’è¡¨ç¤ºã�™ã‚‹
-                if (cd.ShowDialog() == DialogResult.OK)
-                {
-                    //é�¸æŠžã�•ã‚Œã�Ÿè‰²ã�®å�–å¾—
-                    m_dispControl[(int)Dispcount.MessageColor].BackColor = cd.Color;
-                }
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                cd.Dispose();
-            }
-        }
-        #endregion
-
-        #region å�‚ç…§æ™‚ãƒ­ãƒƒã‚¯å‡¦ç�†
-        /// <summary>
-        /// å�‚ç…§æ™‚ãƒ­ãƒƒã‚¯å‡¦ç�†
-        /// </summary>
-        private void ExecReadOnly()
-        {
-            try
-            {
-                ControlLock(false);
-                btnDataEntry.Visible = false;
-                btnDataDelete.Visible = false;
-                btnDataLineEntry.Visible = false;
-                btnDispDown.Visible = false;
-                btnDispUp.Visible = false;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-    }
-}
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/ApprovalRoute/FrmApprovalDisp.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/ApprovalRoute/FrmApprovalDisp.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/ApprovalRoute/FrmApprovalDisp.designer.cs	(revision 355)
@@ -1,5 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmApprovalDisp
     {
@@ -209,7 +208,7 @@
 
         private System.Windows.Forms.Button btnEnd;
         private System.Windows.Forms.Label label1;
-        private DataGridViewEX dgvProcess;
+        private CustomControls.DataGridViewEX dgvProcess;
         private System.Windows.Forms.Label lblLastAppColor;
         private System.Windows.Forms.Label label3;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/ApprovalRoute/FrmApprovalDispAux.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/ApprovalRoute/FrmApprovalDispAux.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/ApprovalRoute/FrmApprovalDispAux.cs	(revision 355)
@@ -51,7 +51,7 @@
         /// </summary>
         private bool InitDispGrid()
         {
-            DataGridView dgv = dgvProcess;
+            DataGridViewEX dgv = dgvProcess;
             IOMApproval AppDB = new IOMApproval();
             try
             {
@@ -138,7 +138,7 @@
             IOMDepartment DepDB = new IOMDepartment();
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
                 StringBuilder strSQL = new StringBuilder();
                 strSQL.AppendFormat(" Where DeleteFlg = {0}", (int)CommonDefine.DataRowDeleteDef.Exists);
                 strSQL.Append(" Order by DisplayOrder");
@@ -242,7 +242,7 @@
         {
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
 
                 foreach (DataGridViewRow CurRow in dgv.Rows)
                 {
@@ -274,7 +274,7 @@
         {
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
                 int GridFixCnt =Enum.GetNames(typeof(GridColumn)).Length;
                 int startcnt = 1;
                 if (GridFixCnt < dgv.ColumnCount)
@@ -322,7 +322,7 @@
             try
             {
                 
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 int nAppCode = CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.ApprovalCode].Value);
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/ApprovalRoute/FrmApprovalRoute.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/ApprovalRoute/FrmApprovalRoute.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/ApprovalRoute/FrmApprovalRoute.cs	(revision 355)
@@ -365,7 +365,7 @@
             {
                 if (dgvGridData.CurrentRow.Index == 0) return;
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvGridData, (int)DispGridApproval.PersonCode, (int)DispGridApproval.Check);
+                dgvGridData.GridRowUpAction((int)DispGridApproval.PersonCode, (int)DispGridApproval.Check);
 
                 m_bChengeAns = true;
             }
@@ -390,7 +390,7 @@
                 int CurrRow = dgvGridData.CurrentRow.Index;
                 if (CommonMotions.chkObjectIsNull(dgvGridData[(int)DispGridApproval.PersonCode, (CurrRow + 1)].Value)) return;
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvGridData, (int)DispGridApproval.PersonCode, (int)DispGridApproval.Check);
+                dgvGridData.GridRowDownAction((int)DispGridApproval.PersonCode, (int)DispGridApproval.Check);
 
                 m_bChengeAns = true;
             }
@@ -725,7 +725,7 @@
                 if (MasterCurrentCode == 0) return;
 
                 int CurrentRowCnt = -1;
-                DataGridView dgv = dgvGridData;
+                DataGridViewEX dgv = dgvGridData;
                 // æœ€å¾Œã�®è¡Œã‚’æŽ¢ã�™
                 for (int i = 0; i < dgv.RowCount; i++)
                 {
@@ -781,7 +781,7 @@
         {
             try
             {
-                DataGridView dgv = dgvGridData;
+                DataGridViewEX dgv = dgvGridData;
                 int CurrentRowCnt = dgv.CurrentRow.Index;
 
                 dgv.Rows.RemoveAt(CurrentRowCnt);
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/ApprovalRoute/FrmApprovalRoute.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/ApprovalRoute/FrmApprovalRoute.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/ApprovalRoute/FrmApprovalRoute.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmApprovalRoute
     {
@@ -525,8 +523,8 @@
         private System.Windows.Forms.Button btnDispUp;
         private System.Windows.Forms.Label label12;
         private System.Windows.Forms.Panel panel2;
-        private DataGridViewEX dgvGridData;
-        private DataGridViewEX dgvMaster;
+        private CustomControls.DataGridViewEX dgvGridData;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Button btnDataSelect;
         private System.Windows.Forms.Button btnDataUnSelect;
         private System.Windows.Forms.Label label2;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/BudgetItem/FrmBudgetItemAux.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/BudgetItem/FrmBudgetItemAux.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/BudgetItem/FrmBudgetItemAux.cs	(revision 355)
@@ -128,7 +128,7 @@
                 ArrayList bscList = new ArrayList();
                 if (!ebcDB.ExecuteReader(strSQL.ToString(), ref bscList)) return false;
 
-                DataGridView dgv = dgvList;
+                DataGridViewEX dgv = dgvList;
                 dgv.Rows.Clear();
 
                 // å…¬å…±å·¥äº‹
@@ -187,7 +187,7 @@
         /// </summary>
         private void SetBlkTitleRow(int nBlkCode)
         {
-                DataGridView dgv = dgvList;
+                DataGridViewEX dgv = dgvList;
             try
             {
                 // è¡Œè¿½åŠ 
@@ -227,7 +227,7 @@
         {
             try
             {
-                DataGridView dgv = dgvList;
+                DataGridViewEX dgv = dgvList;
                 // è¡Œè¿½åŠ 
                 int RowCnt = dgv.Rows.Add(1);
 
@@ -270,7 +270,7 @@
         /// </summary>
         private void ExistsDataDisp(ArrayList bscList, int nBlockCode, int nGroupCode)
         {
-            DataGridView dgv = dgvList;
+            DataGridViewEX dgv = dgvList;
             try
             {
                 // ã‚¿ã‚¤ãƒˆãƒ«ã‚»ãƒƒãƒˆ
@@ -371,7 +371,7 @@
         {
             try
             {
-                DataGridView dgv = dgvEdit;
+                DataGridViewEX dgv = dgvEdit;
 
                 if (LblTitle.Text.Length < 1) return false;
 
@@ -408,7 +408,7 @@
                                     , MessageBoxButtons.YesNo
                                     , MessageBoxIcon.Question) != DialogResult.Yes) return false;
 
-                DataGridView dgv = dgvEdit;
+                DataGridViewEX dgv = dgvEdit;
 
                 int nBlkNo = 0;
                 int nGrpNo = 0;
@@ -485,7 +485,7 @@
                 // ç”»é�¢ã‚¯ãƒªã‚¢
                 ClearDispEditArea();
 
-                DataGridView dgvL = dgvList;
+                DataGridViewEX dgvL = dgvList;
                 // ã‚«ãƒ¬ãƒ³ãƒˆè¡Œå�–å¾—
                 DataGridViewRow CurRow = dgvL.CurrentRow;
 
@@ -523,7 +523,7 @@
             IOMBudgetSumCode bscDB = new IOMBudgetSumCode();
             try
             {
-                DataGridView dgvL = dgvList;
+                DataGridViewEX dgvL = dgvList;
 
                 StringBuilder strSQL = new StringBuilder();
                 // ãƒ‡ãƒ¼ã‚¿å�–å¾—SQLä½œæˆ�
@@ -541,7 +541,7 @@
                 if (TitleRow != null)
                     LblTitle.Text = CommonMotions.cnvString(TitleRow.Cells[(int)DispListCol.NameString].Value);
 
-                DataGridView dgvE = dgvEdit;
+                DataGridViewEX dgvE = dgvEdit;
 
                 int nNo = 0;
                 foreach (object[] CurRec in bscList)
@@ -597,7 +597,7 @@
             IOMBudgetSumCode bscDB = new IOMBudgetSumCode();
             try
             {
-                DataGridView dgvL = dgvList;
+                DataGridViewEX dgvL = dgvList;
 
                 // å…±é€šä»®è¨­ä»¥å¤–ã�¯å¯¾è±¡å¤–
                 if (nGrpCode != (int)GroupNo.CommonTemp)
@@ -637,7 +637,7 @@
                 if (TitleRow != null)
                     LblTitle.Text = CommonMotions.cnvString(TitleRow.Cells[(int)DispListCol.NameString].Value);
 
-                DataGridView dgvE = dgvEdit;
+                DataGridViewEX dgvE = dgvEdit;
 
                 int nNo = 0;
                 foreach (object[] CurRec in bscList)
@@ -742,7 +742,7 @@
             IOMConstructionItem ItemDB = new IOMConstructionItem();
             try
             {
-                DataGridView dgvL = dgvList;
+                DataGridViewEX dgvL = dgvList;
                 // ã‚«ãƒ¬ãƒ³ãƒˆè¡Œå�–å¾—
                 DataGridViewRow CurRow = dgvL.CurrentRow;
                 int nCompCode = CommonMotions.cnvInt(CurRow.Cells[(int)DispListCol.ComponentCode].Value);
@@ -803,7 +803,7 @@
         {
             try
             {
-                DataGridView dgv = dgvEdit;
+                DataGridViewEX dgv = dgvEdit;
 
                 //// 2è¡Œä»¥ä¸Šã�¯é�¸æŠžã�•ã�›ã�ªã�„
                 //if (dgvEdit.RowCount > 0)
@@ -829,7 +829,7 @@
                 }
 
                 // é�¸æŠžãƒ‡ãƒ¼ã‚¿ã‚°ãƒ«ãƒ¼ãƒ—å�–å¾—
-                DataGridView dgvL = dgvList;
+                DataGridViewEX dgvL = dgvList;
                 int nBlkCode = CommonMotions.cnvInt(dgvL.CurrentRow.Cells[(int)DispListCol.BlockCode].Value);
                 int nGrpCode = CommonMotions.cnvInt(dgvL.CurrentRow.Cells[(int)DispListCol.GroupCode].Value);
                 int nCompCode = CommonMotions.cnvInt(dgvL.CurrentRow.Cells[(int)DispListCol.ComponentCode].Value);
@@ -871,7 +871,7 @@
             IOMBudgetSumCode bscDB = new IOMBudgetSumCode();
             try
             {
-                DataGridView dgv = dgvEdit;
+                DataGridViewEX dgv = dgvEdit;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
                 // é�¸æŠžã‚¨ãƒ©ãƒ¼
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/BudgetItem/Temp/FrmBudgetItem.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/BudgetItem/Temp/FrmBudgetItem.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/BudgetItem/Temp/FrmBudgetItem.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmBudgetItem
     {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/BusinessType/FrmBusinessTypeMaster.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/BusinessType/FrmBusinessTypeMaster.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/BusinessType/FrmBusinessTypeMaster.cs	(revision 355)
@@ -352,7 +352,7 @@
             if (dgvMaster.Rows[e.RowIndex].Cells[e.ColumnIndex].Value == null) return;
 
             // å€¤ã�Œå¤‰ã‚�ã‚Œã�°ãƒ„ãƒ¼ãƒ«ãƒ�ãƒƒãƒ—ã‚’å¤‰æ›´ã�™ã‚‹
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
             dgvMaster.Rows[e.RowIndex].Cells[e.ColumnIndex].ToolTipText
                 = dgv.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString();
             // å¤‰æ›´ãƒ•ãƒ©ã‚°ON
@@ -465,7 +465,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 if (dgv.CurrentCell.ReadOnly) return;
 
@@ -504,7 +504,7 @@
                 if (CommonMotions.chkObjectIsNull(dgvMaster.Rows[irowcnt - 1].Cells[(int)DispColumn.NameString].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvMaster, (int)DispColumn.BusinessTypeCode, (int)DispColumn.NameString);
+                dgvMaster.GridRowUpAction((int)DispColumn.BusinessTypeCode, (int)DispColumn.NameString);
 
                 m_bChengeAns = true;
             }
@@ -533,7 +533,7 @@
                 if (CommonMotions.cnvString(dgvMaster.Rows[irowcnt + 1].Cells[(int)DispColumn.NameString].Value) == "") return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvMaster, (int)DispColumn.BusinessTypeCode, (int)DispColumn.NameString);
+                dgvMaster.GridRowDownAction((int)DispColumn.BusinessTypeCode, (int)DispColumn.NameString);
 
                 m_bChengeAns = true;
             }
@@ -572,7 +572,7 @@
 
             if (e.RowIndex < 0) return;
 
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
             m_BusinessTypeCode = CommonMotions.cnvInt(dgv.Rows[e.RowIndex].Cells[(int)DispColumn.BusinessTypeCode].Value);
             m_BusinessTypeName = CommonMotions.cnvString(dgv.Rows[e.RowIndex].Cells[(int)DispColumn.NameString].Value);
             btnEnd_Click(sender, (EventArgs)e);
@@ -587,7 +587,7 @@
         /// <param name="e"></param>
         private void FrmBusinessTypeMaster_KeyDown(object sender, KeyEventArgs e)
         {
-            // DataGridviewã�¯å‡¦ç�†ã�—ã�ªã�„
+            // DataGridViewEXã�¯å‡¦ç�†ã�—ã�ªã�„
             if (ActiveControl.Name.Equals("dgvMaster"))
             {
                 // æœ€çµ‚è¡Œæ™‚ã�®å‡¦ç�†
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/BusinessType/FrmBusinessTypeMaster.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/BusinessType/FrmBusinessTypeMaster.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/BusinessType/FrmBusinessTypeMaster.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmBusinessTypeMaster
     {
@@ -220,7 +218,7 @@
 
         #endregion
 
-        private DataGridViewEX dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Button btnDataEntry;
         private System.Windows.Forms.Button btnLineEntry;
         private System.Windows.Forms.Button btnLineDelete;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/CategoryName/FrmCategoryNameMaster.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/CategoryName/FrmCategoryNameMaster.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/CategoryName/FrmCategoryNameMaster.cs	(revision 355)
@@ -287,7 +287,7 @@
 
 
             dgvMaster.Rows[e.RowIndex].Cells[e.ColumnIndex].ToolTipText
-                = ((DataGridView)sender).Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString();
+                = ((DataGridViewEX)sender).Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString();
             
             // å¤‰æ›´ãƒ•ãƒ©ã‚°ON
             m_bChengeAns = true;
@@ -388,7 +388,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // èª­è¾¼å°‚ç”¨ã‚»ãƒ«ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (dgv.CurrentCell.ReadOnly) return;
@@ -513,7 +513,7 @@
         /// <param name="e"></param>
         private void FrmCategoryName_KeyDown(object sender, KeyEventArgs e)
         {
-            // DataGridviewã�¯å‡¦ç�†ã�—ã�ªã�„
+            // DataGridViewEXã�¯å‡¦ç�†ã�—ã�ªã�„
             if (ActiveControl.Name.Equals("dgvMaster"))
             {
                 // æœ€çµ‚è¡Œæ™‚ã�®å‡¦ç�†
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Component/FrmComponent.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Component/FrmComponent.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Component/FrmComponent.cs	(revision 355)
@@ -418,7 +418,7 @@
                 if (CommonMotions.chkObjectIsNull(dgvWorkList.Rows[irowcnt - 1].Cells[(int)DispColumn.ComponentName].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvWorkList, (int)DispColumn.ComponentCode, (int)DispColumn.DirectInput);
+                dgvWorkList.GridRowUpAction((int)DispColumn.ComponentCode, (int)DispColumn.DirectInput);
 
                 m_bChengeAns = true;
             }
@@ -444,7 +444,7 @@
                 if (dgvWorkList.Rows[irowcnt + 1].Cells[(int)DispColumn.ComponentName].Value.ToString() == "") return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvWorkList, (int)DispColumn.ComponentCode, (int)DispColumn.DirectInput);
+                dgvWorkList.GridRowDownAction((int)DispColumn.ComponentCode, (int)DispColumn.DirectInput);
 
                 m_bChengeAns = true;
             }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Component/FrmComponent.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Component/FrmComponent.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Component/FrmComponent.designer.cs	(revision 355)
@@ -1,5 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmComponent
     {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/ComponentLink/FrmComponentLink.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/ComponentLink/FrmComponentLink.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/ComponentLink/FrmComponentLink.cs	(revision 355)
@@ -528,7 +528,7 @@
                 if (CommonMotions.chkObjectIsNull(dgvItemList.Rows[irowcnt - 1].Cells[(int)workListColumn.ItemCode].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvItemList, (int)workListColumn.ItemCode, (int)workListColumn.ItemName);
+                dgvItemList.GridRowUpAction((int)workListColumn.ItemCode, (int)workListColumn.ItemName);
 
                 m_bChengeAns = true;
             }
@@ -554,7 +554,7 @@
                 if (CommonMotions.cnvString(dgvItemList.Rows[irowcnt + 1].Cells[(int)workListColumn.ItemCode].Value).Length == 0) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvItemList, (int)workListColumn.ItemCode, (int)workListColumn.ItemName);
+                dgvItemList.GridRowDownAction((int)workListColumn.ItemCode, (int)workListColumn.ItemName);
 
                 m_bChengeAns = true;
             }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/ComponentLink/FrmComponentLink.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/ComponentLink/FrmComponentLink.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/ComponentLink/FrmComponentLink.designer.cs	(revision 355)
@@ -1,5 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmComponentLink
     {
@@ -454,7 +453,7 @@
         private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvComponentList;
         private System.Windows.Forms.Panel panel1;
         private System.Windows.Forms.Button btnLineAdd;
-        private DataGridViewEX dgvItemList;
+        private CustomControls.DataGridViewEX dgvItemList;
         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
@@ -469,7 +468,7 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
-        private GroupBoxEx groupBoxEx1;
+        private CustomControls.GroupBoxEx groupBoxEx1;
         private System.Windows.Forms.Label lblSelectName;
     }
 }
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionItem/FrmConstructionItem.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionItem/FrmConstructionItem.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionItem/FrmConstructionItem.cs	(revision 355)
@@ -448,7 +448,7 @@
                 if (CommonMotions.chkObjectIsNull(dgvWorkList.Rows[irowcnt - 1].Cells[(int)DispColumn.MyExpenses].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvWorkList, (int)DispColumn.ItemCode, (int)DispColumn.subItems);
+                dgvWorkList.GridRowUpAction((int)DispColumn.ItemCode, (int)DispColumn.subItems);
 
                 m_bChengeAns = true;
             }
@@ -474,7 +474,7 @@
                 if (CommonMotions.cnvString(dgvWorkList.Rows[irowcnt + 1].Cells[(int)DispColumn.ItemName].Value).Length == 0) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvWorkList, (int)DispColumn.ItemCode, (int)DispColumn.subItems);
+                dgvWorkList.GridRowDownAction((int)DispColumn.ItemCode, (int)DispColumn.subItems);
 
                 m_bChengeAns = true;
             }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionItem/FrmConstructionItem.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionItem/FrmConstructionItem.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionItem/FrmConstructionItem.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmConstructionItem
     {
@@ -446,7 +444,7 @@
         private System.Windows.Forms.Button btnDataDelete;
         private System.Windows.Forms.Button btnDataSelect;
         private System.Windows.Forms.Button btnDataLineEntry;
-        private DataGridViewEX dgvWorkList;
+        private CustomControls.DataGridViewEX dgvWorkList;
         private System.Windows.Forms.Button btnDispDown;
         private System.Windows.Forms.Button btnDispUp;
         private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionSpec/FrmConstructionSpec.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionSpec/FrmConstructionSpec.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionSpec/FrmConstructionSpec.cs	(revision 355)
@@ -396,7 +396,7 @@
                 if (CommonMotions.chkObjectIsNull(dgvSpecList.Rows[irowcnt - 1].Cells[(int)DispGridColumn.SpecName].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvSpecList, (int)DispGridColumn.ItemCode, (int)DispGridColumn.SpecName);
+                dgvSpecList.GridRowUpAction((int)DispGridColumn.ItemCode, (int)DispGridColumn.SpecName);
 
                 m_bChengeAns = true;
             }
@@ -422,7 +422,7 @@
                 if (CommonMotions.cnvString(dgvSpecList.Rows[irowcnt + 1].Cells[(int)DispGridColumn.SpecName].Value).Length == 0) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvSpecList, (int)DispGridColumn.ItemCode, (int)DispGridColumn.SpecName);
+                dgvSpecList.GridRowDownAction((int)DispGridColumn.ItemCode, (int)DispGridColumn.SpecName);
 
                 m_bChengeAns = true;
             }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionSpec/FrmConstructionSpec.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionSpec/FrmConstructionSpec.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionSpec/FrmConstructionSpec.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmConstructionSpec
     {
@@ -564,7 +562,7 @@
         private System.Windows.Forms.Button btnDataDelete;
         private System.Windows.Forms.Button btnDataSelect;
         private System.Windows.Forms.Button btnDataLineEntry;
-        private DataGridViewEX dgvSpecList;
+        private CustomControls.DataGridViewEX dgvSpecList;
         private System.Windows.Forms.Button btnDispDown;
         private System.Windows.Forms.Button btnDispUp;
         private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
@@ -580,7 +578,7 @@
         private System.Windows.Forms.Label label7;
         private System.Windows.Forms.TextBox txtInput3;
         private System.Windows.Forms.Button btnSerach;
-        private DataGridViewEX dgvItemList;
+        private CustomControls.DataGridViewEX dgvItemList;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column0;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionType/FrmConstructionType.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionType/FrmConstructionType.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionType/FrmConstructionType.cs	(revision 355)
@@ -424,7 +424,7 @@
                 if (CommonMotions.chkObjectIsNull(dgvWorkList.Rows[irowcnt - 1].Cells[(int)DispColumn.TypeName].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvWorkList, (int)DispColumn.TypeCode, (int)DispColumn.PublicFlg);
+                dgvWorkList.GridRowUpAction((int)DispColumn.TypeCode, (int)DispColumn.PublicFlg);
 
                 m_bChengeAns = true;
             }
@@ -450,7 +450,7 @@
                 if (CommonMotions.cnvString(dgvWorkList.Rows[irowcnt + 1].Cells[(int)DispColumn.TypeName].Value).Length == 0) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvWorkList, (int)DispColumn.TypeCode, (int)DispColumn.PublicFlg);
+                dgvWorkList.GridRowDownAction((int)DispColumn.TypeCode, (int)DispColumn.PublicFlg);
 
                 m_bChengeAns = true;
             }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionType/FrmConstructionType.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionType/FrmConstructionType.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/ConstructionType/FrmConstructionType.designer.cs	(revision 355)
@@ -1,5 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmConstructionType
     {
@@ -679,7 +678,7 @@
         private System.Windows.Forms.RadioButton radioButton1;
         private System.Windows.Forms.NumericUpDown numUDPeriod;
         private System.Windows.Forms.Label label3;
-        private DataGridViewEX dgvExpenses;
+        private CustomControls.DataGridViewEX dgvExpenses;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column0;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Department/FrmDepartment.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Department/FrmDepartment.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Department/FrmDepartment.cs	(revision 355)
@@ -515,7 +515,7 @@
         private void btnDispUp_Click(object sender, EventArgs e)
         {
             // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-            DataGridViewAction.GridRowUpAction((DataGridView)dgvWorkList, (int)GridColumn.DepartmentCode, (int)GridColumn.DepartmentString);
+            dgvWorkList.GridRowUpAction((int)GridColumn.DepartmentCode, (int)GridColumn.DepartmentString);
 
             m_bChengeAns = true;
         }
@@ -530,7 +530,7 @@
         private void btnDispDown_Click(object sender, EventArgs e)
         {
             // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-            DataGridViewAction.GridRowDownAction((DataGridView)dgvWorkList, (int)GridColumn.DepartmentCode, (int)GridColumn.DepartmentString);
+            dgvWorkList.GridRowDownAction((int)GridColumn.DepartmentCode, (int)GridColumn.DepartmentString);
 
             m_bChengeAns = true;
         }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Department/FrmDepartment.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Department/FrmDepartment.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Department/FrmDepartment.designer.cs	(revision 355)
@@ -1,5 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmDepartment
     {
@@ -562,7 +561,7 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
         private System.Windows.Forms.TextBox txtInput01;
         private System.Windows.Forms.Label label2;
-        private DataGridViewEX dgvExpenses;
+        private CustomControls.DataGridViewEX dgvExpenses;
         private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
         private System.Windows.Forms.Label label3;
         private System.Windows.Forms.ComboBox cmbActionScheduleDsp;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Division/FrmDivisionMaster.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Division/FrmDivisionMaster.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Division/FrmDivisionMaster.cs	(revision 355)
@@ -349,7 +349,7 @@
             // nullå€¤ã�¯å‡¦ç�†ã�—ã�ªã�„
             if (CommonMotions.chkObjectIsNull(dgvMaster.Rows[e.RowIndex].Cells[e.ColumnIndex].Value)) return;
 
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
             dgvMaster.Rows[e.RowIndex].Cells[e.ColumnIndex].ToolTipText
                 = CommonMotions.cnvString(dgv.Rows[e.RowIndex].Cells[e.ColumnIndex].Value);
             
@@ -489,7 +489,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 if (dgv.CurrentCell.ReadOnly) return;
 
@@ -528,7 +528,7 @@
                 if (CommonMotions.chkObjectIsNull(dgvMaster.Rows[irowcnt - 1].Cells[(int)DispColumn.NameString].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvMaster, (int)DispColumn.NameCode, (int)DispColumn.NewFlg);
+                dgvMaster.GridRowUpAction((int)DispColumn.NameCode, (int)DispColumn.NewFlg);
 
                 m_bChengeAns = true;
             }
@@ -557,7 +557,7 @@
                 if (CommonMotions.cnvString(dgvMaster.Rows[irowcnt + 1].Cells[(int)DispColumn.NameString].Value).Length == 0) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvMaster, (int)DispColumn.NameCode, (int)DispColumn.NewFlg);
+                dgvMaster.GridRowDownAction((int)DispColumn.NameCode, (int)DispColumn.NewFlg);
 
                 m_bChengeAns = true;
             }
@@ -607,7 +607,7 @@
         /// <param name="e"></param>
         private void FrmDivision_KeyDown(object sender, KeyEventArgs e)
         {
-            // DataGridviewã�¯å‡¦ç�†ã�—ã�ªã�„
+            // DataGridViewEXã�¯å‡¦ç�†ã�—ã�ªã�„
             if (ActiveControl.Name.Equals("dgvMaster"))
             {
                 // æœ€çµ‚è¡Œæ™‚ã�®å‡¦ç�†
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Division/FrmDivisionMaster.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Division/FrmDivisionMaster.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Division/FrmDivisionMaster.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmDivision
     {
@@ -232,7 +230,7 @@
 
         #endregion
 
-        private DataGridViewEX dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Button btnDataEntry;
         private System.Windows.Forms.Button btnLineEntry;
         private System.Windows.Forms.Button btnLineDelete;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Expenses/FrmExpenses.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Expenses/FrmExpenses.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Expenses/FrmExpenses.cs	(revision 355)
@@ -430,7 +430,7 @@
             foreach (Control wrk in m_dispControl)
             {
                 if (CommonMotions.chkObjectIsNull(wrk)) continue;
-                if (wrk.GetType().Equals(typeof(DataGridView))) continue;
+                if (wrk.GetType().Equals(typeof(DataGridViewEX))) continue;
                 wrk.Text = "";
             }
             dgvExpenses.Rows.Clear();
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Expenses/FrmExpenses.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Expenses/FrmExpenses.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Expenses/FrmExpenses.designer.cs	(revision 355)
@@ -1,5 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmExpenses
     {
@@ -364,7 +363,7 @@
         private System.Windows.Forms.Button btnDataSelect;
         private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvWorkList;
         private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
-        private DataGridViewEX dgvExpenses;
+        private CustomControls.DataGridViewEX dgvExpenses;
         private System.Windows.Forms.Label label2;
         private System.Windows.Forms.Label lblItem01;
         private System.Windows.Forms.Label lblItem02;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Material/MaterialItemsMaster/FrmMaterialItemsMaster.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Material/MaterialItemsMaster/FrmMaterialItemsMaster.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Material/MaterialItemsMaster/FrmMaterialItemsMaster.cs	(revision 355)
@@ -254,7 +254,7 @@
         /// <param name="e"></param>
         private void FrmMaterialItemsEntry_KeyDown(object sender, KeyEventArgs e)
         {
-            // DataGridviewã�¯å‡¦ç�†ã�—ã�ªã�„
+            // DataGridViewEXã�¯å‡¦ç�†ã�—ã�ªã�„
             if (ActiveControl.Name.Equals("dgvMaster"))
             {
                 // ã‚»ãƒ«æ›´æ–°
@@ -582,7 +582,7 @@
                 if (CommonMotions.chkObjectIsNull(dgvMaster.Rows[irowcnt - 1].Cells[(int)DispColumn.NameString].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvMaster, (int)DispColumn.MaterialItemKey, (int)DispColumn.NameString);
+                dgvMaster.GridRowUpAction((int)DispColumn.MaterialItemKey, (int)DispColumn.NameString);
 
                 m_bChengeAns = true;
                 // ã‚»ãƒ«æ›´æ–°
@@ -615,7 +615,7 @@
                 if (CommonMotions.cnvString(dgvMaster.Rows[irowcnt + 1].Cells[(int)DispColumn.NameString].Value).Length == 0) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvMaster, (int)DispColumn.MaterialItemKey, (int)DispColumn.NameString);
+                dgvMaster.GridRowDownAction((int)DispColumn.MaterialItemKey, (int)DispColumn.NameString);
 
                 m_bChengeAns = true;
                 // ã‚»ãƒ«æ›´æ–°
@@ -630,7 +630,6 @@
         }
         #endregion
 
-
         #region è¡¨ç¤ºã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã�®å�–å¾—
         /// <summary>
         /// è¡¨ç¤ºã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã�®å�–å¾—
@@ -645,7 +644,6 @@
         }
         #endregion
 
-
         #region ç”»é�¢é …ç›®ã�®ãƒ�ã‚§ãƒƒã‚¯
         /// <summary>
         /// ç”»é�¢é …ç›®ã�®ãƒ�ã‚§ãƒƒã‚¯
@@ -873,6 +871,7 @@
         }
         #endregion
 
+        #region åˆ�æœŸè¡¨ç¤ºå‡¦ç�†
         /// <summary>
         /// åˆ�æœŸè¡¨ç¤ºå‡¦ç�†
         /// </summary>
@@ -893,6 +892,7 @@
                 logger.ErrorFormat("ã‚·ã‚¹ãƒ†ãƒ ã‚¨ãƒ©ãƒ¼ï¼š{0}ï¼š{1}", CommonMotions.GetMethodName(), ex.Message);
             }
         }
+        #endregion
 
         #region ã‚°ãƒªãƒƒãƒ‰ãƒ‡ãƒ¼ã‚¿è¡¨ç¤º
         /// <summary>
@@ -916,8 +916,6 @@
         }
         #endregion
 
-
-
         #region ã‚°ãƒªãƒƒãƒ‰ã�®æœ‰åŠ¹è¡Œã‚’ã‚«ã‚¦ãƒ³ãƒˆã�™ã‚‹
         /// <summary>
         /// ã‚°ãƒªãƒƒãƒ‰ã�®æœ‰åŠ¹è¡Œã‚’ã‚«ã‚¦ãƒ³ãƒˆã�™ã‚‹
@@ -1018,7 +1016,7 @@
         /// <summary>
         /// è¡Œæ•°çµ±ä¸€å‡¦ç�†
         /// </summary>
-        private void unifyLines(DataGridView dgv)
+        private void unifyLines(DataGridViewEX dgv)
         {
             // è¡¨ç¤ºè¡Œã�Œè¶³ã‚Šã�ªã�„å ´å�ˆã�¯è¿½åŠ ã�™ã‚‹
             if (dgv.Rows.Count <= CommonDefine.s_MaxInitLineCountMastamente)
@@ -1215,7 +1213,7 @@
 
             // å€¤ã�Œå¤‰ã‚�ã‚Œã�°ãƒ„ãƒ¼ãƒ«ãƒ�ãƒƒãƒ—ã‚’å¤‰æ›´ã�™ã‚‹
             dgvMaster.Rows[e.RowIndex].Cells[e.ColumnIndex].ToolTipText
-                = CommonMotions.cnvString(((DataGridView)sender).Rows[e.RowIndex].Cells[e.ColumnIndex].Value);
+                = CommonMotions.cnvString(((DataGridViewEX)sender).Rows[e.RowIndex].Cells[e.ColumnIndex].Value);
             // å¤‰æ›´ãƒ•ãƒ©ã‚°ON
             m_bChengeAns = true;
             // ã‚»ãƒ«æ›´æ–°
@@ -1240,7 +1238,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 if (dgv.CurrentCell.ReadOnly) return;
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Material/MaterialItemsMaster/FrmMaterialItemsMaster.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Material/MaterialItemsMaster/FrmMaterialItemsMaster.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Material/MaterialItemsMaster/FrmMaterialItemsMaster.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmMaterialItemsMaster
     {
@@ -296,8 +294,8 @@
         private System.Windows.Forms.Button btnDispUp;
         private System.Windows.Forms.Label label6;
         private System.Windows.Forms.Button btnLineEntry;
-        private ComboBoxEX cmbTypes;
-        private DataGridViewEX dgvMaster;
+        private CustomControls.ComboBoxEX cmbTypes;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.TextBox txtTypeBefore;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Material/MaterialTypesMaster/FrmMaterialTypesMaster.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Material/MaterialTypesMaster/FrmMaterialTypesMaster.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Material/MaterialTypesMaster/FrmMaterialTypesMaster.cs	(revision 355)
@@ -366,7 +366,7 @@
 
             // å€¤ã�Œå¤‰ã‚�ã‚Œã�°ãƒ„ãƒ¼ãƒ«ãƒ�ãƒƒãƒ—ã‚’å¤‰æ›´ã�™ã‚‹
             dgvMaster.Rows[e.RowIndex].Cells[e.ColumnIndex].ToolTipText
-                = CommonMotions.cnvString(((DataGridView)sender).Rows[e.RowIndex].Cells[e.ColumnIndex].Value);
+                = CommonMotions.cnvString(((DataGridViewEX)sender).Rows[e.RowIndex].Cells[e.ColumnIndex].Value);
             // å¤‰æ›´ãƒ•ãƒ©ã‚°ON
             m_bChengeAns = true;
             // ã‚»ãƒ«æ›´æ–°
@@ -494,7 +494,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 if (dgv.CurrentCell.ReadOnly) return;
 
@@ -531,7 +531,7 @@
                 if (CommonMotions.chkObjectIsNull(dgvMaster.Rows[irowcnt - 1].Cells[(int)DispColumn.NameString].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvMaster, (int)DispColumn.MaterialTypesKey, (int)DispColumn.NameString);
+                dgvMaster.GridRowUpAction((int)DispColumn.MaterialTypesKey, (int)DispColumn.NameString);
 
                 m_bChengeAns = true;
                 // ã‚»ãƒ«æ›´æ–°
@@ -561,7 +561,7 @@
                 if (CommonMotions.cnvString(dgvMaster.Rows[irowcnt + 1].Cells[(int)DispColumn.NameString].Value).Length == 0) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvMaster, (int)DispColumn.MaterialTypesKey, (int)DispColumn.NameString);
+                dgvMaster.GridRowDownAction((int)DispColumn.MaterialTypesKey, (int)DispColumn.NameString);
 
                 m_bChengeAns = true;
                 // ã‚»ãƒ«æ›´æ–°
@@ -596,8 +596,8 @@
 
             if (e.RowIndex < 0) return;
 
-            m_UnitKey = CommonMotions.cnvInt(((DataGridView)sender).Rows[e.RowIndex].Cells[(int)DispColumn.MaterialTypesKey].Value);
-            m_UnitName = CommonMotions.cnvString(((DataGridView)sender).Rows[e.RowIndex].Cells[(int)DispColumn.NameString].Value);
+            m_UnitKey = CommonMotions.cnvInt(((DataGridViewEX)sender).Rows[e.RowIndex].Cells[(int)DispColumn.MaterialTypesKey].Value);
+            m_UnitName = CommonMotions.cnvString(((DataGridViewEX)sender).Rows[e.RowIndex].Cells[(int)DispColumn.NameString].Value);
             btnEnd_Click(sender, (EventArgs)e);
         }
 
@@ -608,7 +608,7 @@
         /// <param name="e"></param>
         private void FrmMaterialTypesMaster_KeyDown(object sender, KeyEventArgs e)
         {
-            // DataGridviewã�¯å‡¦ç�†ã�—ã�ªã�„
+            // DataGridViewEXã�¯å‡¦ç�†ã�—ã�ªã�„
             if (ActiveControl.Name.Equals("dgvMaster"))
             {
                
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Material/MaterialTypesMaster/FrmMaterialTypesMaster.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Material/MaterialTypesMaster/FrmMaterialTypesMaster.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Material/MaterialTypesMaster/FrmMaterialTypesMaster.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmMaterialTypesMaster
     {
@@ -238,7 +236,7 @@
 
         #endregion
 
-        private DataGridViewEX dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Button btnDataEntry;
         private System.Windows.Forms.Button btnLineEntry;
         private System.Windows.Forms.Button btnLineDelete;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Orderer/FrmOrderers.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Orderer/FrmOrderers.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Orderer/FrmOrderers.cs	(revision 355)
@@ -509,7 +509,7 @@
         private void dgvMaster_CellClick(object sender, DataGridViewCellEventArgs e)
         {
             
-            DataGridView dgv =(DataGridView)sender;
+            DataGridViewEX dgv =(DataGridViewEX)sender;
 
             if (CommonMotions.chkCellBlank(dgv.CurrentRow.Cells[(int)DispListColumn.ORDERERS_CODE].Value)) return;
 
@@ -657,7 +657,7 @@
         private void btnDispUp_Click(object sender, EventArgs e)
         {
             // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-            DataGridViewAction.GridRowUpAction((DataGridView)dgvMaster, (int)DispListColumn.ORDERERS_CODE, (int)DispListColumn.ORDERERS_NAME);
+            dgvMaster.GridRowUpAction((int)DispListColumn.ORDERERS_CODE, (int)DispListColumn.ORDERERS_NAME);
 
             m_bChengeAns = true;
         }
@@ -672,7 +672,7 @@
         private void btnDispDown_Click(object sender, EventArgs e)
         {
             // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-            DataGridViewAction.GridRowDownAction((DataGridView)dgvMaster, (int)DispListColumn.ORDERERS_CODE, (int)DispListColumn.ORDERERS_NAME);
+            dgvMaster.GridRowDownAction((int)DispListColumn.ORDERERS_CODE, (int)DispListColumn.ORDERERS_NAME);
 
             m_bChengeAns = true;
         }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Orderer/FrmOrderers.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Orderer/FrmOrderers.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Orderer/FrmOrderers.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmOrderers
     {
@@ -969,7 +967,7 @@
         private System.Windows.Forms.Label label7;
         private System.Windows.Forms.TextBox txtInput08;
         private System.Windows.Forms.TextBox txtInput09;
-        private DataGridViewEX dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Label lblEditMode;
         private System.Windows.Forms.Button btnDataSelect;
         private System.Windows.Forms.Button btnDataLineEntry;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/PersonInCharge/FrmPersonInCharge.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/PersonInCharge/FrmPersonInCharge.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/PersonInCharge/FrmPersonInCharge.cs	(revision 355)
@@ -533,7 +533,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvMaster, (int)DispListColumn.PERSON_CODE, (int)DispListColumn.END_DATE);
+                dgvMaster.GridRowUpAction((int)DispListColumn.PERSON_CODE, (int)DispListColumn.END_DATE);
 
                 m_bChengeAns = true;
             }
@@ -555,7 +555,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvMaster, (int)DispListColumn.PERSON_CODE, (int)DispListColumn.END_DATE);
+                dgvMaster.GridRowDownAction((int)DispListColumn.PERSON_CODE, (int)DispListColumn.END_DATE);
 
                 m_bChengeAns = true;
             }
@@ -664,7 +664,7 @@
         {
             try
             {
-                DataGridView dgv = dgvSalary;
+                DataGridViewEX dgv = dgvSalary;
                 DataGridViewRow CurRow = dgv.CurrentRow;
                 int rowCnt = dgv.CurrentRow.Index;
 
@@ -704,7 +704,7 @@
         /// <param name="e"></param>
         private void btnRefDepDel_Click(object sender, EventArgs e)
         {
-            DataGridView dgv = dgvRefDepartment;
+            DataGridViewEX dgv = dgvRefDepartment;
             int rowCnt = dgv.CurrentRow.Index;
 
             // ãƒ‡ãƒ¼ã‚¿ç„¡è¡Œã�¯å‡¦ç�†ã�—ã�ªã�„
@@ -739,7 +739,7 @@
         {
             try
             {
-                DataGridView dgv = dgvAssignment;
+                DataGridViewEX dgv = dgvAssignment;
                 DataGridViewRow CurRow = dgv.CurrentRow;
                 int rowCnt = dgv.CurrentRow.Index;
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/PersonInCharge/FrmPersonInCharge.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/PersonInCharge/FrmPersonInCharge.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/PersonInCharge/FrmPersonInCharge.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmPersonInCharge
     {
@@ -1449,7 +1447,7 @@
         private System.Windows.Forms.Button btnEnd;
         private System.Windows.Forms.Label label1;
         private System.Windows.Forms.Button btnDataDelete;
-        private DataGridViewEX dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Label lblEditMode;
         private System.Windows.Forms.Button btnDataSelect;
         private System.Windows.Forms.Button btnDataLineEntry;
@@ -1483,7 +1481,7 @@
         private System.Windows.Forms.TextBox txtInput8;
         private System.Windows.Forms.TextBox txtInput9;
         private ProcessManagement.Forms.CustomControls.ComboBoxEX cmbLedgerFlg;
-        private DataGridViewEX dgvSalary;
+        private CustomControls.DataGridViewEX dgvSalary;
         private System.Windows.Forms.Label label11;
         private System.Windows.Forms.TextBox txtInput10;
         private System.Windows.Forms.Button btnSalaryAdd;
@@ -1492,7 +1490,7 @@
         private ProcessManagement.Forms.CustomControls.ComboBoxEX cmbRefDepartment;
         private System.Windows.Forms.Button btnRefDepAdd;
         private System.Windows.Forms.Button btnRefDepDel;
-        private DataGridViewEX dgvRefDepartment;
+        private CustomControls.DataGridViewEX dgvRefDepartment;
         private System.Windows.Forms.Label label17;
         private System.Windows.Forms.Label label18;
         private System.Windows.Forms.Label lblSecRank;
@@ -1517,7 +1515,7 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn SalaryColumn3;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column8;
         private System.Windows.Forms.DataGridViewTextBoxColumn TextBoxColumn1;
-        private DataGridViewEX dgvAssignment;
+        private CustomControls.DataGridViewEX dgvAssignment;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/PersonInCharge/FrmPersonInChargeAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/PersonInCharge/FrmPersonInChargeAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/PersonInCharge/FrmPersonInChargeAuxiliary.cs	(revision 355)
@@ -1569,7 +1569,7 @@
                 string strSQL = AssignDB.CreatePrimarykeyString(m_PersonCode, DateTime.MinValue);
                 AssignDB.DeleteAction(strSQL, false);
 
-                DataGridView dgv = dgvAssignment;
+                DataGridViewEX dgv = dgvAssignment;
                 foreach (DataGridViewRow wrkRow in dgv.Rows)
                 {
                     DateTime StartDate = CommonMotions.cnvDate(wrkRow.Cells[0].Value);
@@ -1957,7 +1957,7 @@
                 }
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ‡ãƒ¼ã‚¿ãƒ�ã‚§ãƒƒã‚¯
-                DataGridView dgv = dgvAssignment;
+                DataGridViewEX dgv = dgvAssignment;
                 DateTime TergetDate = CommonMotions.cnvDate(m_dispControl[(int)DispCtrl.AssignStDate].Text);
                 DataGridViewRow[] ValRow = dgv.Rows.Cast<DataGridViewRow>().Where(x => CommonMotions.cnvDate(x.Cells[(int)AssignGridColumn.StartData].Value).Date == TergetDate.Date)
                                                                             .ToArray();
@@ -1998,7 +1998,7 @@
                 if (MessageBox.Show("é�¸æŠžè¡Œã�®ãƒ‡ãƒ¼ã‚¿ã�Œå‰Šé™¤ã�•ã‚Œã�¾ã�™ã€�ç¢ºèª�ã�—ã�¦ã��ã� ã�•ã�„ã€‚", "å‰Šé™¤ç¢ºèª�",
                                     MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.Cancel) return;
 
-                DataGridView dgv = dgvAssignment;
+                DataGridViewEX dgv = dgvAssignment;
                 dgv.Rows.RemoveAt(RowCnt);
 
                 dgv.Columns[0].SortMode = DataGridViewColumnSortMode.Automatic;
@@ -2061,7 +2061,7 @@
                     return;
                 }
 
-                DataGridView dgv = dgvSalary;
+                DataGridViewEX dgv = dgvSalary;
                 dgv.Rows.Add(m_dispControl[(int)DispCtrl.SalaryStDate].Text
                                 , m_dispControl[(int)DispCtrl.MonthlySalary].Text
                                 , m_dispControl[(int)DispCtrl.YearSalary].Text);
@@ -2094,7 +2094,7 @@
                 if (MessageBox.Show("é�¸æŠžè¡Œã�®ãƒ‡ãƒ¼ã‚¿ã�Œå‰Šé™¤ã�•ã‚Œã�¾ã�™ã€�ç¢ºèª�ã�—ã�¦ã��ã� ã�•ã�„ã€‚", "å‰Šé™¤ç¢ºèª�",
                                     MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.Cancel) return;
 
-                DataGridView dgv = dgvSalary;
+                DataGridViewEX dgv = dgvSalary;
                 dgv.Rows.RemoveAt(RowCnt);
 
                 dgv.Columns[0].SortMode = DataGridViewColumnSortMode.Automatic;
@@ -2135,7 +2135,7 @@
                     return;
                 }
 
-                DataGridView dgv = dgvRefDepartment;
+                DataGridViewEX dgv = dgvRefDepartment;
                 int AffDepCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue);
                 int RefDepCode = CommonMotions.cnvInt(cmbRefDepartment.SelectedValue);
 
@@ -2213,7 +2213,7 @@
                 if (MessageBox.Show("é�¸æŠžè¡Œã�®ã€�éƒ¨ç½²ã€‘ã�Œå‰Šé™¤ã�•ã‚Œã�¾ã�™ã€�ç¢ºèª�ã�—ã�¦ã��ã� ã�•ã�„ã€‚", "å‰Šé™¤ç¢ºèª�",
                                     MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.Cancel) return;
 
-                DataGridView dgv = dgvRefDepartment;
+                DataGridViewEX dgv = dgvRefDepartment;
                 dgv.Rows.RemoveAt(RowCnt);
 
                 m_bChengeAns = true;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurity.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurity.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurity.cs	(revision 355)
@@ -347,7 +347,7 @@
             FrmSecurityPerson frm = new FrmSecurityPerson();
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
                 DataGridViewCell CurCell = dgv.CurrentCell;
                 int DataColCnt = (CurCell.ColumnIndex - ((int)GridColumn.SecName + 1)) / (int)GridColumn.SecName;
                 if (DataColCnt < 0)
@@ -398,7 +398,7 @@
                     if (!SecurityMasterDataEntry()) return;
                 }
 
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
                 DataGridViewCell Curcell = dgv.CurrentCell;
                 int CurCnt = Curcell.ColumnIndex;
                 if (CurCnt < 3)
@@ -551,7 +551,7 @@
                 }
                 else
                 {
-                    DataGridView dgv = dgvProcess;
+                    DataGridViewEX dgv = dgvProcess;
                     if (e.RowIndex >= 0 && e.ColumnIndex >= 0)
                     {
                         //ãƒ�ã‚§ãƒƒã‚¯ãƒœãƒƒã‚¯ã‚¹åˆ—ä»¥å¤–ã�¯å‡¦ç�†ã�—ã�ªã�„
@@ -594,7 +594,7 @@
         //        //rect.Y += 1;
         //        rect.Height -= 1;
 
-        //        DataGridView dgv = (DataGridView)sender;
+        //        DataGridViewEX dgv = (DataGridViewEX)sender;
 
         //        rect.Width = 0;
 
@@ -625,7 +625,7 @@
         //            e.Graphics.DrawRectangle(pen, rect);
 
         //            //// Draw the grid lines (only the right and bottom lines;
-        //            //// DataGridView takes care of the others).
+        //            //// DataGridViewEX takes care of the others).
         //            //e.Graphics.DrawLine(pen, e.CellBounds.Left,
         //            //    e.CellBounds.Bottom - 1, e.CellBounds.Right - 1,
         //            //    e.CellBounds.Bottom - 1);
@@ -694,7 +694,7 @@
         {
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
                 DataGridViewCell CurCell = dgv.CurrentCell;
                 // ã‚«ãƒ¬ãƒ³ãƒˆã‚«ãƒ©ãƒ ã�Œãƒ�ã‚§ãƒƒã‚¯ãƒœãƒƒã‚¯ã‚¹ä»¥å¤–ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (CurCell.ColumnIndex <= (int)GridColumn.SecName) return;
@@ -727,7 +727,7 @@
         {
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
                 DataGridViewCell CurCell = dgv.CurrentCell;
                 // ã‚«ãƒ¬ãƒ³ãƒˆã‚«ãƒ©ãƒ ã�Œãƒ�ã‚§ãƒƒã‚¯ãƒœãƒƒã‚¯ã‚¹ä»¥å¤–ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (CurCell.ColumnIndex <= (int)GridColumn.SecName) return;
@@ -790,7 +790,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
                 DataGridViewCell CurCell = dgv.CurrentCell;
                 DataGridViewRow CurRow = dgv.CurrentRow;
 
@@ -863,7 +863,7 @@
         {
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
 
                 // è¡Œé�¸æŠžè‰²ã‚’å…ƒã�«æˆ»ã�™
                 if (m_BeforeGridRow != -1) DefaultRowChangeColor(m_BeforeGridRow);
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurity.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurity.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurity.designer.cs	(revision 355)
@@ -1,5 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmSecurity
     {
@@ -344,7 +343,7 @@
         private System.Windows.Forms.Button btnEnd;
         private System.Windows.Forms.Label label1;
         private System.Windows.Forms.Button btnDataDelete;
-        private DataGridViewEX dgvProcess;
+        private CustomControls.DataGridViewEX dgvProcess;
         private System.Windows.Forms.Button btnAllOff;
         private System.Windows.Forms.Button btnAllOn;
         private System.Windows.Forms.GroupBox groupBox1;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurityAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurityAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Security/FrmSecurityAuxiliary.cs	(revision 355)
@@ -34,7 +34,7 @@
         {
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
 
                 DataGridViewCellStyle wrkCellStyle1 = new DataGridViewCellStyle();
                 DataGridViewCellStyle wrkCellStyle2 = new DataGridViewCellStyle();
@@ -107,7 +107,7 @@
         {
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
                 DataGridViewCell CurCell = dgv.CurrentCell;
                 int DataColCnt = (CurCell.ColumnIndex - ((int)GridColumn.SecName + 1)) / (int)GridColumn.SecName;
                 if (DataColCnt < 0)
@@ -157,7 +157,7 @@
             IOMProcessExcute exeDB = new IOMProcessExcute();
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
 
                 // ã�“ã�“ã�§ã�¯ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£åŒºåˆ†ãƒžã‚¹ã‚¿ã�®è¡¨ç¤ºé †ã� ã�‘ã‚’å¤‰æ›´ã�™ã‚‹
                 // ç™»éŒ²ã�¯FrmSecurityPersonã�®ç”»é�¢ã�§ç™»éŒ²æ™‚ã�«ãƒ‡ãƒ¼ã‚¿ä½œæˆ�ã‚’ã�Šã�“ã�ªã�†
@@ -400,7 +400,7 @@
         {
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¯ãƒªã‚¢
                 dgv.Rows.Clear();
@@ -441,7 +441,7 @@
         {
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
                 foreach (DataGridViewRow CurRow in dgv.Rows)
                 {
                     if (CommonMotions.cnvInt(CurRow.Cells[(int)GridColumn.SecCode].Value) > 0) continue;
@@ -471,7 +471,7 @@
         {
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
                 int icnt = 1;
                 int rcnt = 0;
                 string strProcName = string.Empty;
@@ -590,7 +590,7 @@
             IOMSecurity secDB = new IOMSecurity();
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
 
                 // èµ·å‹•å¯¾è±¡ãƒžã‚¹ã‚¿å�–å¾—
                 StringBuilder strSQL = new StringBuilder(512);
@@ -669,7 +669,7 @@
         {
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
                 // æœ€å‰�åˆ—ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (dgv.CurrentCell.ColumnIndex <= ((int)GridColumn.SecName + 2)) return;
 
@@ -762,7 +762,7 @@
         {
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
                 // æœ€å‰�åˆ—ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (dgv.CurrentCell.ColumnIndex > dgv.ColumnCount - 3) return;
 
@@ -894,7 +894,7 @@
         {
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRowCnt];
                 int colcnt = dgv.Columns.Count;
                 int RowCount = CurRow.Index;
@@ -960,7 +960,7 @@
         {
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
                 DataGridViewRow CurRow = dgv.Rows[CurrentRow];
                 // ã‚«ãƒ©ãƒ æ•°
                 int colcnt = dgv.Columns.Count;
@@ -988,7 +988,7 @@
         {
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
                 if (e.ColumnIndex < 0) return;
                 if (e.RowIndex != -1) return;
 
@@ -1025,7 +1025,7 @@
                 // å…ˆé ­åˆ—ã�®ãƒ˜ãƒƒãƒ€ãƒ¼æ��ç”»
                 GridPaintColumn0(sender, e);
 
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
                 int GridColumnCnt = dgv.ColumnCount;
                 int HeadRowCnt = s_TitleRowCnt;
                 Pen LinePen = new Pen(Color.Gray);
@@ -1142,7 +1142,7 @@
         {
             try
             {
-                DataGridView dgv = dgvProcess;
+                DataGridViewEX dgv = dgvProcess;
                 int GridColumnCnt = dgv.ColumnCount;
                 int HeadRowCnt = s_TitleRowCnt;
                 Pen LinePen = new Pen(Color.Gray);
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractor/FrmSubContractor.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractor/FrmSubContractor.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractor/FrmSubContractor.cs	(revision 355)
@@ -677,7 +677,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvMaster, (int)DispListColumn.CompanyCode, (int)DispListColumn.CEOName);
+                dgvMaster.GridRowUpAction((int)DispListColumn.CompanyCode, (int)DispListColumn.CEOName);
 
                 m_bChengeAns = true;
             }
@@ -699,7 +699,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvMaster, (int)DispListColumn.CompanyCode, (int)DispListColumn.CEOName);
+                dgvMaster.GridRowDownAction((int)DispListColumn.CompanyCode, (int)DispListColumn.CEOName);
 
                 m_bChengeAns = true;
             }
@@ -839,7 +839,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvJobItem, 0, 1);
+                dgvJobItem.GridRowUpAction(0, 1);
 
                 m_bChengeAns = true;
             }
@@ -861,7 +861,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvJobItem, 0, 1);
+                dgvJobItem.GridRowDownAction(0, 1);
 
                 m_bChengeAns = true;
             }
@@ -1012,7 +1012,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvJobLink, 0, 1);
+                dgvJobLink.GridRowUpAction(0, 1);
 
                 m_bChengeAns = true;
             }
@@ -1034,7 +1034,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvJobLink, 0, 1);
+                dgvJobLink.GridRowDownAction(0, 1);
 
                 m_bChengeAns = true;
             }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractor/FrmSubContractor.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractor/FrmSubContractor.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractor/FrmSubContractor.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmSubContractor
     {
@@ -1502,7 +1500,7 @@
         private System.Windows.Forms.Label label1;
         private System.Windows.Forms.Button btnDataDelete;
         private System.Windows.Forms.Label lblEditMode;
-        private DataGridViewEX dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Button btnDataSelect;
         private System.Windows.Forms.Button btnDataLineEntry;
         private System.Windows.Forms.Button btnDispDown;
@@ -1550,7 +1548,7 @@
         private System.Windows.Forms.Button btnSerchZip;
         private System.Windows.Forms.TextBox txtInput12;
         private System.Windows.Forms.Label label17;
-        private DataGridViewEX dgvJobItem;
+        private CustomControls.DataGridViewEX dgvJobItem;
         private System.Windows.Forms.Button btnJobItemDelete;
         private System.Windows.Forms.Button btnJobItemAdd;
         private System.Windows.Forms.Label label18;
@@ -1571,7 +1569,7 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn ItemColumn01;
         private System.Windows.Forms.DataGridViewTextBoxColumn ItemColumn02;
         private System.Windows.Forms.Label label24;
-        private DataGridViewEX dgvJobLink;
+        private CustomControls.DataGridViewEX dgvJobLink;
         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
         private System.Windows.Forms.Button btnJobLinkAdd;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractorItem/FrmSubContractorItem.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractorItem/FrmSubContractorItem.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractorItem/FrmSubContractorItem.cs	(revision 355)
@@ -354,7 +354,7 @@
 
             // å€¤ã�Œå¤‰ã‚�ã‚Œã�°ãƒ„ãƒ¼ãƒ«ãƒ�ãƒƒãƒ—ã‚’å¤‰æ›´ã�™ã‚‹
             dgvMaster.Rows[e.RowIndex].Cells[e.ColumnIndex].ToolTipText
-                = CommonMotions.cnvString(((DataGridView)sender).Rows[e.RowIndex].Cells[e.ColumnIndex].Value);
+                = CommonMotions.cnvString(((DataGridViewEX)sender).Rows[e.RowIndex].Cells[e.ColumnIndex].Value);
             // å¤‰æ›´ãƒ•ãƒ©ã‚°ON
             m_bChengeAns = true;
         }
@@ -487,7 +487,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 if (dgv.CurrentCell.ReadOnly) return;
 
@@ -552,7 +552,7 @@
                 if (CommonMotions.chkObjectIsNull(dgvMaster.Rows[irowcnt - 1].Cells[(int)DispColumn.NameString].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvMaster, (int)DispColumn.ItemCode, (int)DispColumn.NameString);
+                dgvMaster.GridRowUpAction((int)DispColumn.ItemCode, (int)DispColumn.NameString);
 
                 m_bChengeAns = true;
             }
@@ -582,7 +582,7 @@
                 if (CommonMotions.cnvString(dgvMaster.Rows[irowcnt + 1].Cells[(int)DispColumn.NameString].Value).Length == 0) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvMaster, (int)DispColumn.ItemCode, (int)DispColumn.NameString);
+                dgvMaster.GridRowDownAction((int)DispColumn.ItemCode, (int)DispColumn.NameString);
 
                 m_bChengeAns = true;
             }
@@ -601,7 +601,7 @@
         /// <param name="e"></param>
         private void FrmSubContractorItem_KeyDown(object sender, KeyEventArgs e)
         {
-            // DataGridviewã�¯å‡¦ç�†ã�—ã�ªã�„
+            // DataGridViewEXã�¯å‡¦ç�†ã�—ã�ªã�„
             if (ActiveControl.Name.Equals("dgvMaster")) return;
 
             //Enterã‚­ãƒ¼ã�ŒæŠ¼ã�•ã‚Œã�¦ã�„ã‚‹ã�‹ç¢ºèª�
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractorItem/FrmSubContractorItem.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractorItem/FrmSubContractorItem.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractorItem/FrmSubContractorItem.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmSubContractorItem
     {
@@ -230,7 +228,7 @@
 
         #endregion
 
-        private DataGridViewEX dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Button btnDataEntry;
         private System.Windows.Forms.Button btnLineEntry;
         private System.Windows.Forms.Button btnLineDelete;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractorJob/FrmSubContractorJobCategory.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractorJob/FrmSubContractorJobCategory.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractorJob/FrmSubContractorJobCategory.cs	(revision 355)
@@ -368,7 +368,7 @@
 
             // å€¤ã�Œå¤‰ã‚�ã‚Œã�°ãƒ„ãƒ¼ãƒ«ãƒ�ãƒƒãƒ—ã‚’å¤‰æ›´ã�™ã‚‹
             dgvMaster.Rows[e.RowIndex].Cells[e.ColumnIndex].ToolTipText
-                = CommonMotions.cnvString(((DataGridView)sender).Rows[e.RowIndex].Cells[e.ColumnIndex].Value);
+                = CommonMotions.cnvString(((DataGridViewEX)sender).Rows[e.RowIndex].Cells[e.ColumnIndex].Value);
             // å¤‰æ›´ãƒ•ãƒ©ã‚°ON
             m_bChengeAns = true;
         }
@@ -521,7 +521,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 if (dgv.CurrentCell.ReadOnly) return;
 
@@ -591,7 +591,7 @@
                 if (CommonMotions.chkObjectIsNull(dgvMaster.Rows[irowcnt - 1].Cells[(int)DispColumn.NameString].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvMaster, (int)DispColumn.JobCode, (int)DispColumn.NameString);
+                dgvMaster.GridRowUpAction((int)DispColumn.JobCode, (int)DispColumn.NameString);
 
                 m_bChengeAns = true;
             }
@@ -621,7 +621,7 @@
                 if (CommonMotions.cnvString(dgvMaster.Rows[irowcnt + 1].Cells[(int)DispColumn.NameString].Value).Length == 0) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvMaster, (int)DispColumn.JobCode, (int)DispColumn.NameString);
+                dgvMaster.GridRowDownAction((int)DispColumn.JobCode, (int)DispColumn.NameString);
 
                 m_bChengeAns = true;
             }
@@ -640,7 +640,7 @@
         /// <param name="e"></param>
         private void FrmSubContractorJobCategory_KeyDown(object sender, KeyEventArgs e)
         {
-            // DataGridviewã�¯å‡¦ç�†ã�—ã�ªã�„
+            // DataGridViewEXã�¯å‡¦ç�†ã�—ã�ªã�„
             if (ActiveControl.Name.Equals("dgvMaster")) return;
 
             //Enterã‚­ãƒ¼ã�ŒæŠ¼ã�•ã‚Œã�¦ã�„ã‚‹ã�‹ç¢ºèª�
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractorJob/FrmSubContractorJobCategory.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractorJob/FrmSubContractorJobCategory.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/SubContractorJob/FrmSubContractorJobCategory.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmSubContractorJobCategory
     {
@@ -230,7 +228,7 @@
 
         #endregion
 
-        private DataGridViewEX dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Button btnDataEntry;
         private System.Windows.Forms.Button btnLineEntry;
         private System.Windows.Forms.Button btnLineDelete;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Suppliers/FrmSuppliers.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Suppliers/FrmSuppliers.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Suppliers/FrmSuppliers.cs	(revision 355)
@@ -466,7 +466,7 @@
         private void dgvMaster_CellClick(object sender, DataGridViewCellEventArgs e)
         {
             
-            DataGridView dgv =(DataGridView)sender;
+            DataGridViewEX dgv =(DataGridViewEX)sender;
 
             if (CommonMotions.chkCellBlank(dgv.CurrentRow.Cells[(int)DispListColumn.Suppliers_CODE].Value)) return;
 
@@ -610,7 +610,7 @@
         private void btnDispUp_Click(object sender, EventArgs e)
         {
             // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-            DataGridViewAction.GridRowUpAction((DataGridView)dgvMaster, (int)DispListColumn.Suppliers_CODE, (int)DispListColumn.Suppliers_NAME);
+            dgvMaster.GridRowUpAction((int)DispListColumn.Suppliers_CODE, (int)DispListColumn.Suppliers_NAME);
 
             m_bChengeAns = true;
         }
@@ -625,7 +625,7 @@
         private void btnDispDown_Click(object sender, EventArgs e)
         {
             // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-            DataGridViewAction.GridRowDownAction((DataGridView)dgvMaster, (int)DispListColumn.Suppliers_CODE, (int)DispListColumn.Suppliers_NAME);
+            dgvMaster.GridRowDownAction((int)DispListColumn.Suppliers_CODE, (int)DispListColumn.Suppliers_NAME);
 
             m_bChengeAns = true;
         }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Suppliers/FrmSuppliers.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Suppliers/FrmSuppliers.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Suppliers/FrmSuppliers.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmSuppliers
     {
@@ -612,7 +610,7 @@
         private System.Windows.Forms.Label label7;
         private System.Windows.Forms.TextBox txtInput08;
         private System.Windows.Forms.TextBox txtInput09;
-        private DataGridViewEX dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Label lblEditMode;
         private System.Windows.Forms.Button btnDataSelect;
         private System.Windows.Forms.Button btnDataLineEntry;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Term/FrmTerm.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Term/FrmTerm.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Term/FrmTerm.cs	(revision 355)
@@ -442,7 +442,7 @@
                 }
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvWorkList, startcol, (int)DispColumn.SendMessage);
+                dgvWorkList.GridRowUpAction(startcol, (int)DispColumn.SendMessage);
                 dgvWorkList.CurrentCell = dgvWorkList[(int)DispColumn.SendTitle, dgvWorkList.CurrentRow.Index];
 
                 m_bChengeAns = true;
@@ -484,7 +484,7 @@
                 }
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvWorkList, startcol, (int)DispColumn.SendMessage);
+                dgvWorkList.GridRowDownAction(startcol, (int)DispColumn.SendMessage);
                 dgvWorkList.CurrentCell = dgvWorkList[(int)DispColumn.SendTitle, dgvWorkList.CurrentRow.Index];
 
                 m_bChengeAns = true;
@@ -728,7 +728,7 @@
         /// <param name="e"></param>
         private void dgvWorkList_CellPainting(object sender, DataGridViewCellPaintingEventArgs e)
         {
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
             dgv.SuspendLayout();
             try
             {
@@ -1267,7 +1267,7 @@
         {
             // æœŸé™�ãƒžã‚¹ã‚¿
             IOMTerm tmDB = new IOMTerm();
-            DataGridView dgv = dgvWorkList;
+            DataGridViewEX dgv = dgvWorkList;
             try
             {
                 // æ–°è¦�æ™‚ã�¯è¡¨ç¤ºã�—ã�ªã�„
@@ -1357,7 +1357,7 @@
         {
             try
             {
-                DataGridView dgv = dgvWorkList;
+                DataGridViewEX dgv = dgvWorkList;
                 
                 // ã‚µã‚¤ã‚ºã�«å¤‰åŒ–ã�Œç„¡ã�‘ã‚Œã�°å‡¦ç�†ã�—ã�ªã�„
                 if (m_GridWidthSize == dgv.Width) return;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Term/FrmTerm.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Term/FrmTerm.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Term/FrmTerm.designer.cs	(revision 355)
@@ -1,5 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmTerm
     {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Unit/FrmUnitMaster.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Unit/FrmUnitMaster.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Unit/FrmUnitMaster.cs	(revision 355)
@@ -341,7 +341,7 @@
 
             // å€¤ã�Œå¤‰ã‚�ã‚Œã�°ãƒ„ãƒ¼ãƒ«ãƒ�ãƒƒãƒ—ã‚’å¤‰æ›´ã�™ã‚‹
             dgvMaster.Rows[e.RowIndex].Cells[e.ColumnIndex].ToolTipText
-                = CommonMotions.cnvString(((DataGridView)sender).Rows[e.RowIndex].Cells[e.ColumnIndex].Value);
+                = CommonMotions.cnvString(((DataGridViewEX)sender).Rows[e.RowIndex].Cells[e.ColumnIndex].Value);
             // å¤‰æ›´ãƒ•ãƒ©ã‚°ON
             m_bChengeAns = true;
         }
@@ -454,7 +454,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 if (dgv.CurrentCell.ReadOnly) return;
 
@@ -493,7 +493,7 @@
                 if (CommonMotions.chkObjectIsNull(dgvMaster.Rows[irowcnt - 1].Cells[(int)DispColumn.NameString].Value)) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvMaster, (int)DispColumn.UnitKey, (int)DispColumn.NameString);
+                dgvMaster.GridRowUpAction((int)DispColumn.UnitKey, (int)DispColumn.NameString);
 
                 m_bChengeAns = true;
             }
@@ -523,7 +523,7 @@
                 if (CommonMotions.cnvString(dgvMaster.Rows[irowcnt + 1].Cells[(int)DispColumn.NameString].Value).Length == 0) return;
 
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvMaster, (int)DispColumn.UnitKey, (int)DispColumn.NameString);
+                dgvMaster.GridRowDownAction((int)DispColumn.UnitKey, (int)DispColumn.NameString);
 
                 m_bChengeAns = true;
             }
@@ -559,8 +559,8 @@
 
             if (e.RowIndex < 0) return;
 
-            m_UnitKey = CommonMotions.cnvInt(((DataGridView)sender).Rows[e.RowIndex].Cells[(int)DispColumn.UnitKey].Value);
-            m_UnitName = CommonMotions.cnvString(((DataGridView)sender).Rows[e.RowIndex].Cells[(int)DispColumn.NameString].Value);
+            m_UnitKey = CommonMotions.cnvInt(((DataGridViewEX)sender).Rows[e.RowIndex].Cells[(int)DispColumn.UnitKey].Value);
+            m_UnitName = CommonMotions.cnvString(((DataGridViewEX)sender).Rows[e.RowIndex].Cells[(int)DispColumn.NameString].Value);
             btnEnd_Click(sender, (EventArgs)e);
         }
         #endregion
@@ -573,7 +573,7 @@
         /// <param name="e"></param>
         private void FrmUnitMaster_KeyDown(object sender, KeyEventArgs e)
         {
-            // DataGridviewã�¯å‡¦ç�†ã�—ã�ªã�„
+            // DataGridViewEXã�¯å‡¦ç�†ã�—ã�ªã�„
             if (ActiveControl.Name.Equals("dgvMaster"))
             {
                 // æœ€çµ‚è¡Œæ™‚ã�®å‡¦ç�†
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Unit/FrmUnitMaster.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Unit/FrmUnitMaster.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Unit/FrmUnitMaster.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmUnitMaster
     {
@@ -220,7 +218,7 @@
 
         #endregion
 
-        private DataGridViewEX dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Button btnDataEntry;
         private System.Windows.Forms.Button btnLineEntry;
         private System.Windows.Forms.Button btnLineDelete;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Vehicle/FrmVehicle.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Vehicle/FrmVehicle.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Vehicle/FrmVehicle.cs	(revision 355)
@@ -574,7 +574,7 @@
         private void btnDispUp_Click(object sender, EventArgs e)
         {
             // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-            DataGridViewAction.GridRowUpAction((DataGridView)dgvWorkList, (int)GridColumn.VehicleCode, (int)GridColumn.VehicleString);
+            dgvWorkList.GridRowUpAction((int)GridColumn.VehicleCode, (int)GridColumn.VehicleString);
 
             m_bChengeAns = true;
         }
@@ -589,7 +589,7 @@
         private void btnDispDown_Click(object sender, EventArgs e)
         {
             // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-            DataGridViewAction.GridRowDownAction((DataGridView)dgvWorkList, (int)GridColumn.VehicleCode, (int)GridColumn.VehicleString);
+            dgvWorkList.GridRowDownAction((int)GridColumn.VehicleCode, (int)GridColumn.VehicleString);
 
             m_bChengeAns = true;
         }
@@ -661,7 +661,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 switch (e.ColumnIndex)
                 {
@@ -704,7 +704,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
 
                 // èª­è¾¼å°‚ç”¨ã‚»ãƒ«ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (dgv.CurrentCell.ReadOnly) return;
@@ -739,7 +739,7 @@
             if (e.KeyCode == Keys.Down)
             {
                 if(!sender.GetType().Equals(typeof(DataGridViewEX))) return;
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
                 // æœ€çµ‚è¡Œæ™‚ã�®å‡¦ç�†
                 GridLastLine(dgv);
             }
@@ -818,7 +818,7 @@
                 foreach (Control wrk in m_dispControl)
                 {
                     if (CommonMotions.chkObjectIsNull(wrk)) continue;
-                    if (wrk.GetType().Equals(typeof(DataGridView))) continue;
+                    if (wrk.GetType().Equals(typeof(DataGridViewEX))) continue;
                     wrk.Text = "";
                 }
 
@@ -1336,7 +1336,7 @@
             {
                 for (int i = 0; i < 5; i++)
                 {
-                    DataGridView wrkGrid = null;
+                    DataGridViewEX wrkGrid = null;
                     int DivisionCode = 0;
                     switch (i)
                     {
@@ -1582,7 +1582,7 @@
         /// <summary>
         /// ã‚°ãƒªãƒƒãƒ‰æœ€çµ‚è¡Œã�§ã�®å‡¦ç�†
         /// </summary>
-        private void GridLastLine(DataGridView dgvControl)
+        private void GridLastLine(DataGridViewEX dgvControl)
         {
             try
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/Master/Vehicle/FrmVehicle.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/Master/Vehicle/FrmVehicle.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/Master/Vehicle/FrmVehicle.designer.cs	(revision 355)
@@ -1,5 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmVehicle
     {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmAmountAllocation.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmAmountAllocation.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmAmountAllocation.Designer.cs	(revision 355)
@@ -33,7 +33,7 @@
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
             this.btnEnd = new System.Windows.Forms.Button();
-            this.dgvMain = new System.Windows.Forms.DataGridView();
+            this.dgvMain = new CustomControls.DataGridViewEX();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -241,7 +241,7 @@
         #endregion
 
         private System.Windows.Forms.Button btnEnd;
-        private System.Windows.Forms.DataGridView dgvMain;
+        private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvMain;
         private System.Windows.Forms.Label lblCompTotal;
         private System.Windows.Forms.Label lblCompTitle;
         private System.Windows.Forms.Label lblCompTotal2;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmChangeExpenses.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmChangeExpenses.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmChangeExpenses.Designer.cs	(revision 355)
@@ -38,7 +38,7 @@
             this.panel1 = new System.Windows.Forms.Panel();
             this.btnLineCreate = new System.Windows.Forms.Button();
             this.btnLineRemove = new System.Windows.Forms.Button();
-            this.dgvMaster = new System.Windows.Forms.DataGridView();
+            this.dgvMaster = new CustomControls.DataGridViewEX();
             this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -262,7 +262,7 @@
         private System.Windows.Forms.Button btnExecProc1;
         private System.Windows.Forms.Button btnEnd;
         private System.Windows.Forms.Panel panel1;
-        private System.Windows.Forms.DataGridView dgvMaster;
+        private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Label label7;
         private System.Windows.Forms.Label lblTotal;
         private System.Windows.Forms.Button btnLineRemove;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmChangeExpenses.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmChangeExpenses.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmChangeExpenses.cs	(revision 355)
@@ -250,7 +250,7 @@
 
                 m_bProcLockFlag = true;
 
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 DataGridViewRow dgvRow = dgv.CurrentRow;
                 DataGridViewCell dgvCell = dgv.CurrentCell;
 
@@ -297,7 +297,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 //IMEã�®ãƒ¢ãƒ¼ãƒ‰ã‚’å¤‰æ›´ã�™ã‚‹
                 switch (e.ColumnIndex)
                 {
@@ -322,7 +322,7 @@
             try
             {
                 m_GridData.Clear();
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 for (int i = 0; i < dgv.RowCount; i++)
                 {
                     DataGridViewRow CurRow = dgv.Rows[i];
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmComponentDiag.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmComponentDiag.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmComponentDiag.Designer.cs	(revision 355)
@@ -34,7 +34,7 @@
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
             this.btnEnd = new System.Windows.Forms.Button();
             this.btnSelect = new System.Windows.Forms.Button();
-            this.dgvMaster = new System.Windows.Forms.DataGridView();
+            this.dgvMaster = new CustomControls.DataGridViewEX();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -232,7 +232,7 @@
 
         private System.Windows.Forms.Button btnEnd;
         private System.Windows.Forms.Button btnSelect;
-        private System.Windows.Forms.DataGridView dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.CheckBox chkBoxAll;
         private System.Windows.Forms.Button btnCancel;
         private System.Windows.Forms.Button btnDispDown;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmComponentDiag.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmComponentDiag.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmComponentDiag.cs	(revision 355)
@@ -290,7 +290,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvMaster, (int)DispGridColumn.StructureCode, (int)DispGridColumn.sCheck);
+                dgvMaster.GridRowUpAction((int)DispGridColumn.StructureCode, (int)DispGridColumn.sCheck);
             }
             catch (System.Exception ex)
             {
@@ -308,7 +308,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvMaster, (int)DispGridColumn.StructureCode, (int)DispGridColumn.sCheck);
+                dgvMaster.GridRowDownAction((int)DispGridColumn.StructureCode, (int)DispGridColumn.sCheck);
             }
             catch (System.Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionDiag.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionDiag.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionDiag.Designer.cs	(revision 355)
@@ -36,7 +36,7 @@
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
             this.btnEnd = new System.Windows.Forms.Button();
             this.btnSelect = new System.Windows.Forms.Button();
-            this.dgvMaster = new System.Windows.Forms.DataGridView();
+            this.dgvMaster = new CustomControls.DataGridViewEX();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -229,7 +229,7 @@
 
         private System.Windows.Forms.Button btnEnd;
         private System.Windows.Forms.Button btnSelect;
-        private System.Windows.Forms.DataGridView dgvMaster;
+        private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionDiag.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionDiag.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionDiag.cs	(revision 355)
@@ -290,7 +290,7 @@
         /// <param name="e"></param>
         private void btnSelect_Click(object sender, EventArgs e)
         {
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             DataGridViewRow dgvRow = dgv.CurrentRow;
 
             // é�¸æŠžãƒ‡ãƒ¼ã‚¿ã‚»ãƒƒãƒˆ
@@ -323,7 +323,7 @@
         /// <param name="e"></param>
         private void dgvMaster_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
         {
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             DataGridViewRow dgvRow = dgv.CurrentRow;
 
             // ç©ºç™½ãƒ�ã‚§ãƒƒã‚¯
@@ -368,7 +368,7 @@
         /// </summary>
         private void DataSelectProc()
         {
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             DataGridViewRow dgvRow = dgv.CurrentRow;
             try
             {
@@ -401,7 +401,7 @@
         private void ConstructionListDisplay()
         {
             IOConstructionBaseInfo BaseDB = new IOConstructionBaseInfo();
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             try
             {
                 dgv.Rows.Clear();
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionItemDiag.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionItemDiag.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionItemDiag.Designer.cs	(revision 355)
@@ -34,7 +34,7 @@
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
             this.btnEnd = new System.Windows.Forms.Button();
             this.btnSelect = new System.Windows.Forms.Button();
-            this.dgvMaster = new System.Windows.Forms.DataGridView();
+            this.dgvMaster = new CustomControls.DataGridViewEX();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -228,7 +228,7 @@
 
         private System.Windows.Forms.Button btnEnd;
         private System.Windows.Forms.Button btnSelect;
-        private System.Windows.Forms.DataGridView dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.CheckBox chkBoxAll;
         private System.Windows.Forms.Button btnCancel;
         private System.Windows.Forms.Button btnDispDown;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionItemDiag.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionItemDiag.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionItemDiag.cs	(revision 355)
@@ -275,7 +275,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvMaster, (int)DispGridColumn.ItemKey, (int)DispGridColumn.sCheck);
+                dgvMaster.GridRowUpAction((int)DispGridColumn.ItemKey, (int)DispGridColumn.sCheck);
             }
             catch (System.Exception ex)
             {
@@ -293,7 +293,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvMaster, (int)DispGridColumn.ItemKey, (int)DispGridColumn.sCheck);
+                dgvMaster.GridRowDownAction((int)DispGridColumn.ItemKey, (int)DispGridColumn.sCheck);
             }
             catch (System.Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionSpecDiag.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionSpecDiag.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionSpecDiag.Designer.cs	(revision 355)
@@ -34,7 +34,7 @@
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
             this.btnEnd = new System.Windows.Forms.Button();
             this.btnSelect = new System.Windows.Forms.Button();
-            this.dgvMaster = new System.Windows.Forms.DataGridView();
+            this.dgvMaster = new CustomControls.DataGridViewEX();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -228,7 +228,7 @@
 
         private System.Windows.Forms.Button btnEnd;
         private System.Windows.Forms.Button btnSelect;
-        private System.Windows.Forms.DataGridView dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.CheckBox chkBoxAll;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionSpecDiag.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionSpecDiag.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmConstructionSpecDiag.cs	(revision 355)
@@ -282,7 +282,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvMaster, (int)DispGridColumn.SpecKey, (int)DispGridColumn.sCheck);
+                dgvMaster.GridRowUpAction((int)DispGridColumn.SpecKey, (int)DispGridColumn.sCheck);
             }
             catch (System.Exception ex)
             {
@@ -300,7 +300,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ãƒ€ã‚¦ãƒ³ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvMaster, (int)DispGridColumn.SpecKey, (int)DispGridColumn.sCheck);
+                dgvMaster.GridRowDownAction((int)DispGridColumn.SpecKey, (int)DispGridColumn.sCheck);
             }
             catch (System.Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmCustomCount.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmCustomCount.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmCustomCount.cs	(revision 355)
@@ -142,7 +142,7 @@
         {
             try
             {
-                DataGridView dgv = dgvData;
+                DataGridViewEX dgv = dgvData;
 
                 // ãƒ˜ãƒƒãƒ€ãƒ¼è‰²ã‚»ãƒƒãƒˆ
                 dgv.EnableHeadersVisualStyles = false;
@@ -186,7 +186,7 @@
             {
                 m_arrayList.Clear();
 
-                DataGridView dgv = dgvData;
+                DataGridViewEX dgv = dgvData;
                 foreach (DataGridViewRow CurRow in dgv.Rows)
                 {
                     // ãƒ�ã‚§ãƒƒã‚¯ã�®ã�¿ã‚’è¿”ã�™
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmInputComment.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmInputComment.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmInputComment.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.SubForms
+ï»¿namespace ProcessManagement.Forms.SubForms
 {
     partial class FrmInputComment
     {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmMessageBoardReader.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmMessageBoardReader.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmMessageBoardReader.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.SubForms
+ï»¿namespace ProcessManagement.Forms.SubForms
 {
     partial class FrmMessageBoardReader
     {
@@ -401,7 +399,7 @@
         private System.Windows.Forms.Label lblLinkLine;
         private System.Windows.Forms.Label lblComent;
         private System.Windows.Forms.Label label6;
-        private DataGridViewEX dgvAllDisplay;
+        private CustomControls.DataGridViewEX dgvAllDisplay;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmMessageBoardWriter.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmMessageBoardWriter.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmMessageBoardWriter.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.SubForms
+ï»¿namespace ProcessManagement.Forms.SubForms
 {
     partial class FrmMessageBoardWriter
     {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmNumberOfWorkers.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmNumberOfWorkers.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmNumberOfWorkers.Designer.cs	(revision 355)
@@ -34,7 +34,7 @@
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
             this.btnEnd = new System.Windows.Forms.Button();
-            this.dgvMain = new System.Windows.Forms.DataGridView();
+            this.dgvMain = new CustomControls.DataGridViewEX();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -213,7 +213,7 @@
         #endregion
 
         private System.Windows.Forms.Button btnEnd;
-        private System.Windows.Forms.DataGridView dgvMain;
+        private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvMain;
         private System.Windows.Forms.Label lblCompTotal;
         private System.Windows.Forms.Label lblCompTitle;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmNumberOfWorkers.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmNumberOfWorkers.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmNumberOfWorkers.cs	(revision 355)
@@ -330,7 +330,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMain;
+                DataGridViewEX dgv = dgvMain;
 
                 // ã‚¹ã‚¿ã‚¤ãƒ«ä½œæˆ�
                 m_GridCellStyleList[Cnt] = new DataGridViewCellStyle();
@@ -418,7 +418,7 @@
                 DailyDB.ExecuteReader(strSQL.ToString(), ref arList);
                 if (arList.Count == 0) return;
 
-                DataGridView dgv = dgvMain;
+                DataGridViewEX dgv = dgvMain;
                 foreach (object[] wrkobj in arList)
                 {
                     // ã‚°ãƒªãƒƒãƒ‰ã�®å¯¾è±¡è¡Œã‚’å�–å¾—ã�™ã‚‹
@@ -478,7 +478,7 @@
             DataGridViewRow RetRow = null;
             try
             {
-                DataGridView dgv = dgvMain;
+                DataGridViewEX dgv = dgvMain;
                 for (int iy = 0; iy < dgv.RowCount; iy++)
                 {
                     int RecJobCode = CommonMotions.cnvInt(wrkobj[(int)DetilData.JobCategoryCode]);
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmPeriodAvoidance.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmPeriodAvoidance.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmPeriodAvoidance.cs	(revision 355)
@@ -139,7 +139,7 @@
         /// <param name="e"></param>
         private void dgvWorkList_CellPainting(object sender, DataGridViewCellPaintingEventArgs e)
         {
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
             dgv.SuspendLayout();
             try
             {
@@ -300,7 +300,7 @@
             IOPeriodAvoidance AvoDB = new IOPeriodAvoidance();
             try
             {
-                DataGridView dgv = dgvWorkList;
+                DataGridViewEX dgv = dgvWorkList;
 
                 AvoDB.connect(); AvoDB.beginTran();
                 StringBuilder strSQL = new StringBuilder();
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmPeriodAvoidance.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmPeriodAvoidance.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmPeriodAvoidance.designer.cs	(revision 355)
@@ -1,5 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-namespace ProcessManagement.Forms.SubForms
+ï»¿namespace ProcessManagement.Forms.SubForms
 {
     partial class FrmPeriodAvoidance
     {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmSubConJobDiag.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmSubConJobDiag.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmSubConJobDiag.cs	(revision 355)
@@ -189,7 +189,7 @@
         {
             if (m_EndButton == DialogResult.OK)
             {
-                DataGridView dgv = null;
+                DataGridViewEX dgv = null;
                 if (tabControl1.SelectedIndex == 0)
                 {
                     // é�¸æŠž
@@ -978,7 +978,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvHistory, (int)DispGridColumn.CompanyCode, (int)DispGridColumn.CompanyName);
+                dgvHistory.GridRowUpAction((int)DispGridColumn.CompanyCode, (int)DispGridColumn.CompanyName);
                 m_bChengeAns = true;
             }
             catch (System.Exception ex)
@@ -999,7 +999,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvHistory, (int)DispGridColumn.CompanyCode, (int)DispGridColumn.CompanyName);
+                dgvHistory.GridRowDownAction((int)DispGridColumn.CompanyCode, (int)DispGridColumn.CompanyName);
                 m_bChengeAns = true;
             }
             catch (System.Exception ex)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmSubconstractorDiag.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmSubconstractorDiag.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmSubconstractorDiag.cs	(revision 355)
@@ -307,7 +307,7 @@
                 {
                     // ----- é�¸æŠžæ™‚
                     // ã‚°ãƒªãƒƒãƒ‰é�¸æŠž
-                    DataGridView dgv = null;
+                    DataGridViewEX dgv = null;
                     if (tabControl1.SelectedIndex == 0)
                         dgv = dgvHistory;
                     else
@@ -368,6 +368,10 @@
                 case (int)ClsExcute.ProcessExecuteNo.Proceedings:
                     iRet = (int)buttonVariable.None;
                     break;
+                // éƒ¨ç½²åˆ¥å‡ºç´�å¸³
+                case (int)ClsExcute.ProcessExecuteNo.DepartmentCost:
+                    iRet = (int)buttonVariable.UnDecided;
+                    break;
             }
             return iRet;
         }
@@ -855,6 +859,7 @@
             {
                 dgvHistory.Rows.Clear();
 
+                if (m_ConstructionCode < 0) return;
                 List<InputSearchLogData> isdList = new List<InputSearchLogData>();
                 // SQLä½œæˆ�å¢—æ¸›å·¥äº‹ã‚’å�«ã‚€å±¥æ­´ã‚’è¡¨ç¤ºã�™ã‚‹
                 StringBuilder strSQL = new StringBuilder();
@@ -1162,7 +1167,7 @@
         /// ã‚°ãƒªãƒƒãƒ‰ã‚ˆã‚Šã�®ç™»éŒ²å‡¦ç�†
         /// </summary>
         /// <returns></returns>
-        private bool EntryInputLogData(DataGridView dgv, int SubconstructorCode)
+        private bool EntryInputLogData(DataGridViewEX dgv, int SubconstructorCode)
         {
             IOInputSearchLogData isdDB = new IOInputSearchLogData();
             try
@@ -1172,7 +1177,8 @@
                 {
                     return true;
                 }
-                
+                if (m_ConstructionCode < 0) return true;
+
                 InputSearchLogData isdRec = new InputSearchLogData();
                 string strSQL = isdDB.CreatePrimarykeyString(m_ConstructionCode, m_UsedProcessNo);
                 strSQL += string.Format(" And InputCode = {0}", SubconstructorCode);
@@ -1218,7 +1224,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvHistory, (int)DispGridColumn.CompanyCode, (int)DispGridColumn.CompanyName);
+                dgvHistory.GridRowUpAction((int)DispGridColumn.CompanyCode, (int)DispGridColumn.CompanyName);
             }
             catch (System.Exception ex)
             {
@@ -1238,7 +1244,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvHistory, (int)DispGridColumn.CompanyCode, (int)DispGridColumn.CompanyName);
+                dgvHistory.GridRowDownAction((int)DispGridColumn.CompanyCode, (int)DispGridColumn.CompanyName);
             }
             catch (System.Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmSuppliersDiag.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmSuppliersDiag.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmSuppliersDiag.cs	(revision 355)
@@ -157,7 +157,7 @@
         {
             if (m_EndButton == DialogResult.OK)
             {
-                DataGridView dgv = null;
+                DataGridViewEX dgv = null;
                 if (tabControl1.SelectedIndex == 0)
                 {
                     // é�¸æŠž
@@ -604,7 +604,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowUpAction((DataGridView)dgvHistory, (int)DispGridColumn.CompanyCode, (int)DispGridColumn.CompanyName);
+                dgvHistory.GridRowUpAction((int)DispGridColumn.CompanyCode, (int)DispGridColumn.CompanyName);
                 m_bChengeAns = true;
             }
             catch (System.Exception ex)
@@ -625,7 +625,7 @@
             try
             {
                 // ã‚°ãƒªãƒƒãƒ‰ã‚¢ãƒƒãƒ—ã‚­ãƒ¼å‡¦ç�†
-                DataGridViewAction.GridRowDownAction((DataGridView)dgvHistory, (int)DispGridColumn.CompanyCode, (int)DispGridColumn.CompanyName);
+                dgvHistory.GridRowDownAction((int)DispGridColumn.CompanyCode, (int)DispGridColumn.CompanyName);
                 m_bChengeAns = true;
             }
             catch (System.Exception ex)
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmTyingConstrDiag.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmTyingConstrDiag.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmTyingConstrDiag.Designer.cs	(revision 355)
@@ -34,7 +34,7 @@
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
             this.btnEnd = new System.Windows.Forms.Button();
             this.btnSelect = new System.Windows.Forms.Button();
-            this.dgvMaster = new System.Windows.Forms.DataGridView();
+            this.dgvMaster = new CustomControls.DataGridViewEX();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -167,7 +167,7 @@
 
         private System.Windows.Forms.Button btnEnd;
         private System.Windows.Forms.Button btnSelect;
-        private System.Windows.Forms.DataGridView dgvMaster;
+        private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmTyingConstrDiag.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmTyingConstrDiag.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmTyingConstrDiag.cs	(revision 355)
@@ -164,7 +164,7 @@
         /// <param name="e"></param>
         private void btnSelect_Click(object sender, EventArgs e)
         {
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             DataGridViewRow dgvRow = dgv.CurrentRow;
             
             // å·¥äº‹ç•ªå�·å�–å¾—
@@ -183,7 +183,7 @@
         /// <param name="e"></param>
         private void dgvMaster_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
         {
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             DataGridViewRow dgvRow = dgv.CurrentRow;
 
             // ç©ºç™½ãƒ�ã‚§ãƒƒã‚¯
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmValueOfOrder.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmValueOfOrder.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmValueOfOrder.Designer.cs	(revision 355)
@@ -42,7 +42,7 @@
             this.textBox002 = new System.Windows.Forms.TextBox();
             this.label1 = new System.Windows.Forms.Label();
             this.textBox003 = new System.Windows.Forms.TextBox();
-            this.dgvMaster = new System.Windows.Forms.DataGridView();
+            this.dgvMaster = new CustomControls.DataGridViewEX();
             this.Column0 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -375,7 +375,7 @@
         private System.Windows.Forms.TextBox textBox001;
         private System.Windows.Forms.TextBox textBox002;
         private System.Windows.Forms.TextBox textBox003;
-        private System.Windows.Forms.DataGridView dgvMaster;
+        private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column0;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmValueOfOrder.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmValueOfOrder.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmValueOfOrder.cs	(revision 355)
@@ -232,7 +232,7 @@
                                     , MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.No) return;
                 }
 
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 DataGridViewRow dgvRow = dgv.CurrentRow;
 
                 // ç©ºç™½ãƒ�ã‚§ãƒƒã‚¯
@@ -391,7 +391,7 @@
             IOOrdersPriceData PriceDB = new IOOrdersPriceData();
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 dgv.Rows.Clear();
 
                 // é€²è¡Œä¸­æ¡ˆä»¶ã‚’æ¤œç´¢ã�™ã‚‹
@@ -476,7 +476,7 @@
                 // ã‚¨ãƒ©ãƒ¼ãƒ�ã‚§ãƒƒã‚¯
                 if (!DispFeildCheck()) return false;
 
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
 
                 dgv.Rows.Insert(0, 1);
 
@@ -527,7 +527,7 @@
             IOConstructionBaseInfo BaseDB = new IOConstructionBaseInfo();
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 DataGridViewRow dgvRow = dgv.CurrentRow;
 
                 PriceDB.connect(); PriceDB.beginTran();
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmVehicleSelector.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmVehicleSelector.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmVehicleSelector.Designer.cs	(revision 355)
@@ -33,7 +33,7 @@
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
             this.btnEnd = new System.Windows.Forms.Button();
             this.btnSelect = new System.Windows.Forms.Button();
-            this.dgvMaster = new System.Windows.Forms.DataGridView();
+            this.dgvMaster = new CustomControls.DataGridViewEX();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -163,7 +163,7 @@
 
         private System.Windows.Forms.Button btnEnd;
         private System.Windows.Forms.Button btnSelect;
-        private System.Windows.Forms.DataGridView dgvMaster;
+        private ProcessManagement.Forms.CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmVehicleSelector.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmVehicleSelector.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/FrmVehicleSelector.cs	(revision 355)
@@ -113,7 +113,7 @@
         /// <param name="e"></param>
         private void btnSelect_Click(object sender, EventArgs e)
         {
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             DataGridViewRow CurRow = dgv.CurrentRow;
 
             if (CurRow.Index < 0)
@@ -137,7 +137,7 @@
         /// <param name="e"></param>
         private void dgvMaster_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
         {
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             DataGridViewRow CurRow = dgv.CurrentRow;
 
             // é�¸æŠžç„¡ã�—ã�¯å‡¦ç�†ã�—ã�ªã�„
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/Material/FrmMaterialHistory.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/Material/FrmMaterialHistory.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/Material/FrmMaterialHistory.cs	(revision 355)
@@ -285,7 +285,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 for (int i = 0; i < dgv.ColumnCount; i++)
                 {
                     dgvMaster.Columns[i].HeaderCell.Style.BackColor = Color.LightGray;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/Material/FrmMaterialHistory.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/Material/FrmMaterialHistory.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/Material/FrmMaterialHistory.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.SubForms
+ï»¿namespace ProcessManagement.Forms.SubForms
 {
     partial class FrmMaterialHistory
     {
@@ -388,7 +386,7 @@
 
         #endregion
 
-        private DataGridViewEX dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Button btnEnd;
         private System.Windows.Forms.Label label1;
         private System.Windows.Forms.Label label2;
@@ -400,8 +398,8 @@
         private System.Windows.Forms.Label label8;
         private System.Windows.Forms.Label lblRentCount;
         private System.Windows.Forms.Label label10;
-        private GroupBoxEx groupBoxEx1;
-        private GroupBoxEx groupBoxEx2;
+        private CustomControls.GroupBoxEx groupBoxEx1;
+        private CustomControls.GroupBoxEx groupBoxEx2;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/Material/FrmMaterialList.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/Material/FrmMaterialList.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/Material/FrmMaterialList.cs	(revision 355)
@@ -288,7 +288,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMaster;
+                DataGridViewEX dgv = dgvMaster;
                 for (int i = 0; i < dgv.ColumnCount; i++)
                 {
                     dgvMaster.Columns[i].HeaderCell.Style.BackColor = Color.LightGray;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/Material/FrmMaterialList.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/Material/FrmMaterialList.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/Material/FrmMaterialList.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.SubForms
+ï»¿namespace ProcessManagement.Forms.SubForms
 {
     partial class FrmMaterialList
     {
@@ -320,16 +318,16 @@
 
         #endregion
 
-        private DataGridViewEX dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Button btnMaterialCountEntry;
         private System.Windows.Forms.Button btnEnd;
         private System.Windows.Forms.Label label1;
         private System.Windows.Forms.Label label2;
         private System.Windows.Forms.Button btnResetRecord;
-        private ComboBoxEX cmbTypes;
+        private CustomControls.ComboBoxEX cmbTypes;
         private System.Windows.Forms.Button btnMaterialHistory;
-        private GroupBoxEx groupBoxEx1;
-        private GroupBoxEx groupBoxEx2;
+        private CustomControls.GroupBoxEx groupBoxEx1;
+        private CustomControls.GroupBoxEx groupBoxEx2;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/Material/FrmMaterialSelect.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/Material/FrmMaterialSelect.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/Material/FrmMaterialSelect.cs	(revision 355)
@@ -408,7 +408,7 @@
         /// <param name="e"></param>
         private void btnSelect_Click(object sender, EventArgs e)
         {
-            DataGridView dgv = dgvMaster;
+            DataGridViewEX dgv = dgvMaster;
             DataGridViewRow dgvRow = dgv.CurrentRow;
             MaterialItemMaster item;
             MaterialKindMaster kind;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/Material/FrmMaterialSelect.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/Material/FrmMaterialSelect.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/SubForms/Material/FrmMaterialSelect.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.SubForms
+ï»¿namespace ProcessManagement.Forms.SubForms
 {
     partial class FrmMaterialSelect
     {
@@ -265,7 +263,7 @@
 
         #endregion
 
-        private DataGridViewEX dgvMaster;
+        private CustomControls.DataGridViewEX dgvMaster;
         private System.Windows.Forms.Label label1;
         private System.Windows.Forms.Label label2;
         private System.Windows.Forms.Button btnEnd;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmChangePassword.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmChangePassword.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmChangePassword.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmChangePassword
     {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmLogin.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmLogin.designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmLogin.designer.cs	(revision 355)
@@ -1,6 +1,4 @@
-ï»¿using ProcessManagement.Forms.CustomControls;
-
-namespace ProcessManagement.Forms.Master
+ï»¿namespace ProcessManagement.Forms.Master
 {
     partial class FrmLogin
     {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenu.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenu.Designer.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenu.Designer.cs	(revision 355)
@@ -5031,7 +5031,7 @@
             this.tblLayoutConstruction.Controls.Add(this.lblConstr0502, 5, 14);
             this.tblLayoutConstruction.Controls.Add(this.lblConstr0602, 5, 16);
             this.tblLayoutConstruction.Controls.Add(this.lblConstr0802, 5, 20);
-            this.tblLayoutConstruction.Location = new System.Drawing.Point(6, 1);
+            this.tblLayoutConstruction.Location = new System.Drawing.Point(1, 1);
             this.tblLayoutConstruction.Name = "tblLayoutConstruction";
             this.tblLayoutConstruction.RowCount = 34;
             this.tblLayoutConstruction.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 36F));
@@ -5070,7 +5070,7 @@
             this.tblLayoutConstruction.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 36F));
             this.tblLayoutConstruction.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 36F));
             this.tblLayoutConstruction.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 36F));
-            this.tblLayoutConstruction.Size = new System.Drawing.Size(1058, 1224);
+            this.tblLayoutConstruction.Size = new System.Drawing.Size(1170, 1224);
             this.tblLayoutConstruction.TabIndex = 15;
             // 
             // lblConstrLine01
@@ -5080,16 +5080,16 @@
             this.tblLayoutConstruction.SetColumnSpan(this.lblConstrLine01, 10);
             this.lblConstrLine01.Location = new System.Drawing.Point(3, 267);
             this.lblConstrLine01.Name = "lblConstrLine01";
-            this.lblConstrLine01.Size = new System.Drawing.Size(1052, 6);
+            this.lblConstrLine01.Size = new System.Drawing.Size(1164, 6);
             this.lblConstrLine01.TabIndex = 15;
             // 
             // btnConstruction0000
             // 
             this.btnConstruction0000.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0000.Location = new System.Drawing.Point(99, 39);
+            this.btnConstruction0000.Location = new System.Drawing.Point(109, 39);
             this.btnConstruction0000.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0000.Name = "btnConstruction0000";
-            this.btnConstruction0000.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0000.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0000.TabIndex = 15;
             this.btnConstruction0000.Text = "å�„å·¥äº‹è©³ç´°å�°å¸³é–²è¦§";
             this.btnConstruction0000.UseVisualStyleBackColor = true;
@@ -5102,9 +5102,9 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.lblConstrTitle01.AutoSize = true;
             this.lblConstrTitle01.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.lblConstrTitle01.Location = new System.Drawing.Point(98, 0);
+            this.lblConstrTitle01.Location = new System.Drawing.Point(108, 0);
             this.lblConstrTitle01.Name = "lblConstrTitle01";
-            this.lblConstrTitle01.Size = new System.Drawing.Size(173, 36);
+            this.lblConstrTitle01.Size = new System.Drawing.Size(192, 36);
             this.lblConstrTitle01.TabIndex = 15;
             this.lblConstrTitle01.Text = "æ—¥æ¬¡ï¼ˆæ–½å·¥ï¼‰ç®¡ç�†";
             this.lblConstrTitle01.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -5118,7 +5118,7 @@
             this.lblConstr00.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr00.Location = new System.Drawing.Point(3, 36);
             this.lblConstr00.Name = "lblConstr00";
-            this.lblConstr00.Size = new System.Drawing.Size(89, 36);
+            this.lblConstr00.Size = new System.Drawing.Size(99, 36);
             this.lblConstr00.TabIndex = 15;
             this.lblConstr00.Text = "æ¯Žæ—¥";
             this.lblConstr00.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -5126,10 +5126,10 @@
             // btnConstruction0001
             // 
             this.btnConstruction0001.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0001.Location = new System.Drawing.Point(293, 39);
+            this.btnConstruction0001.Location = new System.Drawing.Point(324, 39);
             this.btnConstruction0001.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0001.Name = "btnConstruction0001";
-            this.btnConstruction0001.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0001.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0001.TabIndex = 15;
             this.btnConstruction0001.Text = "å�„å·¥äº‹æ—¥å ±";
             this.btnConstruction0001.UseVisualStyleBackColor = true;
@@ -5138,10 +5138,10 @@
             // btnConstruction0002
             // 
             this.btnConstruction0002.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0002.Location = new System.Drawing.Point(487, 39);
+            this.btnConstruction0002.Location = new System.Drawing.Point(539, 39);
             this.btnConstruction0002.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0002.Name = "btnConstruction0002";
-            this.btnConstruction0002.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0002.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0002.TabIndex = 15;
             this.btnConstruction0002.Text = "å�„å·¥äº‹æ‰“å�ˆã‚�ã�›è­°äº‹éŒ²";
             this.btnConstruction0002.UseVisualStyleBackColor = true;
@@ -5150,10 +5150,10 @@
             // btnConstruction0003
             // 
             this.btnConstruction0003.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0003.Location = new System.Drawing.Point(681, 39);
+            this.btnConstruction0003.Location = new System.Drawing.Point(754, 39);
             this.btnConstruction0003.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0003.Name = "btnConstruction0003";
-            this.btnConstruction0003.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0003.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0003.TabIndex = 15;
             this.btnConstruction0003.Text = "å�„å·¥äº‹äº¤é€šè²»ãƒ»è³¼å…¥å“�å…¥åŠ›";
             this.btnConstruction0003.UseVisualStyleBackColor = true;
@@ -5162,10 +5162,10 @@
             // btnConstruction0004
             // 
             this.btnConstruction0004.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0004.Location = new System.Drawing.Point(875, 39);
+            this.btnConstruction0004.Location = new System.Drawing.Point(969, 39);
             this.btnConstruction0004.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0004.Name = "btnConstruction0004";
-            this.btnConstruction0004.Size = new System.Drawing.Size(179, 30);
+            this.btnConstruction0004.Size = new System.Drawing.Size(197, 30);
             this.btnConstruction0004.TabIndex = 15;
             this.btnConstruction0004.Text = "å‡ºå‹¤ç®¡ç�†";
             this.btnConstruction0004.UseVisualStyleBackColor = true;
@@ -5174,10 +5174,10 @@
             // btnConstruction0100
             // 
             this.btnConstruction0100.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0100.Location = new System.Drawing.Point(99, 111);
+            this.btnConstruction0100.Location = new System.Drawing.Point(109, 111);
             this.btnConstruction0100.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0100.Name = "btnConstruction0100";
-            this.btnConstruction0100.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0100.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0100.TabIndex = 15;
             this.btnConstruction0100.Text = "è¡Œå‹•äºˆå®šå…¥åŠ›";
             this.btnConstruction0100.UseVisualStyleBackColor = true;
@@ -5186,10 +5186,10 @@
             // btnConstruction0101
             // 
             this.btnConstruction0101.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0101.Location = new System.Drawing.Point(293, 111);
+            this.btnConstruction0101.Location = new System.Drawing.Point(324, 111);
             this.btnConstruction0101.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0101.Name = "btnConstruction0101";
-            this.btnConstruction0101.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0101.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0101.TabIndex = 15;
             this.btnConstruction0101.Text = "è»Šä¸¡äºˆç´„";
             this.btnConstruction0101.UseVisualStyleBackColor = true;
@@ -5204,7 +5204,7 @@
             this.lblConstr01.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr01.Location = new System.Drawing.Point(3, 108);
             this.lblConstr01.Name = "lblConstr01";
-            this.lblConstr01.Size = new System.Drawing.Size(89, 36);
+            this.lblConstr01.Size = new System.Drawing.Size(99, 36);
             this.lblConstr01.TabIndex = 15;
             this.lblConstr01.Text = "æ¯Žæ—¥";
             this.lblConstr01.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -5212,10 +5212,10 @@
             // btnConstruction0102
             // 
             this.btnConstruction0102.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0102.Location = new System.Drawing.Point(487, 111);
+            this.btnConstruction0102.Location = new System.Drawing.Point(539, 111);
             this.btnConstruction0102.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0102.Name = "btnConstruction0102";
-            this.btnConstruction0102.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0102.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0102.TabIndex = 15;
             this.btnConstruction0102.UseVisualStyleBackColor = true;
             this.btnConstruction0102.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5223,10 +5223,10 @@
             // btnConstruction0103
             // 
             this.btnConstruction0103.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0103.Location = new System.Drawing.Point(681, 111);
+            this.btnConstruction0103.Location = new System.Drawing.Point(754, 111);
             this.btnConstruction0103.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0103.Name = "btnConstruction0103";
-            this.btnConstruction0103.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0103.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0103.TabIndex = 15;
             this.btnConstruction0103.UseVisualStyleBackColor = true;
             this.btnConstruction0103.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5234,10 +5234,10 @@
             // btnConstruction0104
             // 
             this.btnConstruction0104.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0104.Location = new System.Drawing.Point(875, 111);
+            this.btnConstruction0104.Location = new System.Drawing.Point(969, 111);
             this.btnConstruction0104.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0104.Name = "btnConstruction0104";
-            this.btnConstruction0104.Size = new System.Drawing.Size(179, 30);
+            this.btnConstruction0104.Size = new System.Drawing.Size(197, 30);
             this.btnConstruction0104.TabIndex = 15;
             this.btnConstruction0104.UseVisualStyleBackColor = true;
             this.btnConstruction0104.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5251,7 +5251,7 @@
             this.lblConstr02.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr02.Location = new System.Drawing.Point(3, 180);
             this.lblConstr02.Name = "lblConstr02";
-            this.lblConstr02.Size = new System.Drawing.Size(89, 36);
+            this.lblConstr02.Size = new System.Drawing.Size(99, 36);
             this.lblConstr02.TabIndex = 15;
             this.lblConstr02.Text = "æ¯Žå›ž";
             this.lblConstr02.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -5259,10 +5259,10 @@
             // btnConstruction0200
             // 
             this.btnConstruction0200.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0200.Location = new System.Drawing.Point(99, 183);
+            this.btnConstruction0200.Location = new System.Drawing.Point(109, 183);
             this.btnConstruction0200.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0200.Name = "btnConstruction0200";
-            this.btnConstruction0200.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0200.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0200.TabIndex = 15;
             this.btnConstruction0200.Text = "è³‡æ��ä¸€è¦§";
             this.btnConstruction0200.UseVisualStyleBackColor = true;
@@ -5271,10 +5271,10 @@
             // btnConstruction0201
             // 
             this.btnConstruction0201.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0201.Location = new System.Drawing.Point(293, 183);
+            this.btnConstruction0201.Location = new System.Drawing.Point(324, 183);
             this.btnConstruction0201.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0201.Name = "btnConstruction0201";
-            this.btnConstruction0201.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0201.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0201.TabIndex = 15;
             this.btnConstruction0201.Text = "è³‡æ��è²¸å‡º";
             this.btnConstruction0201.UseVisualStyleBackColor = true;
@@ -5283,10 +5283,10 @@
             // btnConstruction0202
             // 
             this.btnConstruction0202.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0202.Location = new System.Drawing.Point(487, 183);
+            this.btnConstruction0202.Location = new System.Drawing.Point(539, 183);
             this.btnConstruction0202.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0202.Name = "btnConstruction0202";
-            this.btnConstruction0202.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0202.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0202.TabIndex = 15;
             this.btnConstruction0202.Text = "è³‡æ��è¿”å�´";
             this.btnConstruction0202.UseVisualStyleBackColor = true;
@@ -5295,10 +5295,10 @@
             // btnConstruction0203
             // 
             this.btnConstruction0203.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0203.Location = new System.Drawing.Point(681, 183);
+            this.btnConstruction0203.Location = new System.Drawing.Point(754, 183);
             this.btnConstruction0203.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0203.Name = "btnConstruction0203";
-            this.btnConstruction0203.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0203.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0203.TabIndex = 15;
             this.btnConstruction0203.UseVisualStyleBackColor = true;
             this.btnConstruction0203.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5306,10 +5306,10 @@
             // btnConstruction0204
             // 
             this.btnConstruction0204.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0204.Location = new System.Drawing.Point(875, 183);
+            this.btnConstruction0204.Location = new System.Drawing.Point(969, 183);
             this.btnConstruction0204.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0204.Name = "btnConstruction0204";
-            this.btnConstruction0204.Size = new System.Drawing.Size(179, 30);
+            this.btnConstruction0204.Size = new System.Drawing.Size(197, 30);
             this.btnConstruction0204.TabIndex = 15;
             this.btnConstruction0204.UseVisualStyleBackColor = true;
             this.btnConstruction0204.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5323,7 +5323,7 @@
             this.lblConstr03.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr03.Location = new System.Drawing.Point(3, 324);
             this.lblConstr03.Name = "lblConstr03";
-            this.lblConstr03.Size = new System.Drawing.Size(89, 36);
+            this.lblConstr03.Size = new System.Drawing.Size(99, 36);
             this.lblConstr03.TabIndex = 15;
             this.lblConstr03.Text = "ç�€å·¥å‰�";
             this.lblConstr03.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -5335,9 +5335,9 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.lblConstrTitle02.AutoSize = true;
             this.lblConstrTitle02.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.lblConstrTitle02.Location = new System.Drawing.Point(98, 288);
+            this.lblConstrTitle02.Location = new System.Drawing.Point(108, 288);
             this.lblConstrTitle02.Name = "lblConstrTitle02";
-            this.lblConstrTitle02.Size = new System.Drawing.Size(173, 36);
+            this.lblConstrTitle02.Size = new System.Drawing.Size(192, 36);
             this.lblConstrTitle02.TabIndex = 15;
             this.lblConstrTitle02.Text = "æ›¸é¡žç®¡ç�†";
             this.lblConstrTitle02.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -5345,10 +5345,10 @@
             // btnConstruction0300
             // 
             this.btnConstruction0300.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0300.Location = new System.Drawing.Point(99, 327);
+            this.btnConstruction0300.Location = new System.Drawing.Point(109, 327);
             this.btnConstruction0300.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0300.Name = "btnConstruction0300";
-            this.btnConstruction0300.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0300.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0300.TabIndex = 15;
             this.btnConstruction0300.Text = "å·¥äº‹äºˆç®—æ›¸ä½œæˆ�";
             this.btnConstruction0300.UseVisualStyleBackColor = true;
@@ -5357,10 +5357,10 @@
             // btnConstruction0301
             // 
             this.btnConstruction0301.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0301.Location = new System.Drawing.Point(293, 327);
+            this.btnConstruction0301.Location = new System.Drawing.Point(324, 327);
             this.btnConstruction0301.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0301.Name = "btnConstruction0301";
-            this.btnConstruction0301.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0301.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0301.TabIndex = 15;
             this.btnConstruction0301.Text = "å·¥äº‹äºˆç®—æ›¸æ‰¿èª�";
             this.btnConstruction0301.UseVisualStyleBackColor = true;
@@ -5369,10 +5369,10 @@
             // btnConstruction0302
             // 
             this.btnConstruction0302.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0302.Location = new System.Drawing.Point(487, 327);
+            this.btnConstruction0302.Location = new System.Drawing.Point(539, 327);
             this.btnConstruction0302.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0302.Name = "btnConstruction0302";
-            this.btnConstruction0302.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0302.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0302.TabIndex = 15;
             this.btnConstruction0302.UseVisualStyleBackColor = true;
             this.btnConstruction0302.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5380,10 +5380,10 @@
             // btnConstruction0303
             // 
             this.btnConstruction0303.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0303.Location = new System.Drawing.Point(681, 327);
+            this.btnConstruction0303.Location = new System.Drawing.Point(754, 327);
             this.btnConstruction0303.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0303.Name = "btnConstruction0303";
-            this.btnConstruction0303.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0303.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0303.TabIndex = 15;
             this.btnConstruction0303.UseVisualStyleBackColor = true;
             this.btnConstruction0303.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5391,10 +5391,10 @@
             // btnConstruction0304
             // 
             this.btnConstruction0304.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0304.Location = new System.Drawing.Point(875, 327);
+            this.btnConstruction0304.Location = new System.Drawing.Point(969, 327);
             this.btnConstruction0304.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0304.Name = "btnConstruction0304";
-            this.btnConstruction0304.Size = new System.Drawing.Size(179, 30);
+            this.btnConstruction0304.Size = new System.Drawing.Size(197, 30);
             this.btnConstruction0304.TabIndex = 15;
             this.btnConstruction0304.UseVisualStyleBackColor = true;
             this.btnConstruction0304.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5408,7 +5408,7 @@
             this.lblConstr04.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr04.Location = new System.Drawing.Point(3, 396);
             this.lblConstr04.Name = "lblConstr04";
-            this.lblConstr04.Size = new System.Drawing.Size(89, 36);
+            this.lblConstr04.Size = new System.Drawing.Size(99, 36);
             this.lblConstr04.TabIndex = 15;
             this.lblConstr04.Text = "ç�€å·¥å‰�";
             this.lblConstr04.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -5416,10 +5416,10 @@
             // btnConstruction0400
             // 
             this.btnConstruction0400.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0400.Location = new System.Drawing.Point(99, 399);
+            this.btnConstruction0400.Location = new System.Drawing.Point(109, 399);
             this.btnConstruction0400.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0400.Name = "btnConstruction0400";
-            this.btnConstruction0400.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0400.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0400.TabIndex = 15;
             this.btnConstruction0400.Text = "æ³¨æ–‡æ›¸ä½œæˆ�";
             this.btnConstruction0400.UseVisualStyleBackColor = true;
@@ -5428,10 +5428,10 @@
             // btnConstruction0401
             // 
             this.btnConstruction0401.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0401.Location = new System.Drawing.Point(293, 399);
+            this.btnConstruction0401.Location = new System.Drawing.Point(324, 399);
             this.btnConstruction0401.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0401.Name = "btnConstruction0401";
-            this.btnConstruction0401.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0401.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0401.TabIndex = 15;
             this.btnConstruction0401.Text = "æ³¨æ–‡æ›¸æ‰¿èª�";
             this.btnConstruction0401.UseVisualStyleBackColor = true;
@@ -5440,10 +5440,10 @@
             // btnConstruction0402
             // 
             this.btnConstruction0402.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0402.Location = new System.Drawing.Point(487, 399);
+            this.btnConstruction0402.Location = new System.Drawing.Point(539, 399);
             this.btnConstruction0402.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0402.Name = "btnConstruction0402";
-            this.btnConstruction0402.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0402.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0402.TabIndex = 15;
             this.btnConstruction0402.Text = "æ³¨æ–‡æ›¸çŠ¶æ³�ç¢ºèª�";
             this.btnConstruction0402.UseVisualStyleBackColor = true;
@@ -5452,10 +5452,10 @@
             // btnConstruction0403
             // 
             this.btnConstruction0403.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0403.Location = new System.Drawing.Point(681, 399);
+            this.btnConstruction0403.Location = new System.Drawing.Point(754, 399);
             this.btnConstruction0403.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0403.Name = "btnConstruction0403";
-            this.btnConstruction0403.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0403.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0403.TabIndex = 15;
             this.btnConstruction0403.UseVisualStyleBackColor = true;
             this.btnConstruction0403.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5463,10 +5463,10 @@
             // btnConstruction0404
             // 
             this.btnConstruction0404.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0404.Location = new System.Drawing.Point(875, 399);
+            this.btnConstruction0404.Location = new System.Drawing.Point(969, 399);
             this.btnConstruction0404.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0404.Name = "btnConstruction0404";
-            this.btnConstruction0404.Size = new System.Drawing.Size(179, 30);
+            this.btnConstruction0404.Size = new System.Drawing.Size(197, 30);
             this.btnConstruction0404.TabIndex = 15;
             this.btnConstruction0404.UseVisualStyleBackColor = true;
             this.btnConstruction0404.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5480,7 +5480,7 @@
             this.lblConstr05.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr05.Location = new System.Drawing.Point(3, 468);
             this.lblConstr05.Name = "lblConstr05";
-            this.lblConstr05.Size = new System.Drawing.Size(89, 36);
+            this.lblConstr05.Size = new System.Drawing.Size(99, 36);
             this.lblConstr05.TabIndex = 15;
             this.lblConstr05.Text = "ç�€å·¥å‰�";
             this.lblConstr05.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -5488,10 +5488,10 @@
             // btnConstruction0500
             // 
             this.btnConstruction0500.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0500.Location = new System.Drawing.Point(99, 471);
+            this.btnConstruction0500.Location = new System.Drawing.Point(109, 471);
             this.btnConstruction0500.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0500.Name = "btnConstruction0500";
-            this.btnConstruction0500.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0500.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0500.TabIndex = 15;
             this.btnConstruction0500.Text = "å·¥ç¨‹è¡¨ä½œæˆ�ãƒ»å�°åˆ·";
             this.btnConstruction0500.UseVisualStyleBackColor = true;
@@ -5500,10 +5500,10 @@
             // btnConstruction0501
             // 
             this.btnConstruction0501.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0501.Location = new System.Drawing.Point(293, 471);
+            this.btnConstruction0501.Location = new System.Drawing.Point(324, 471);
             this.btnConstruction0501.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0501.Name = "btnConstruction0501";
-            this.btnConstruction0501.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0501.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0501.TabIndex = 15;
             this.btnConstruction0501.Text = "æ–½å·¥è¨ˆç”»æ›¸ä½œæˆ�ãƒ»å�°åˆ·";
             this.btnConstruction0501.UseVisualStyleBackColor = true;
@@ -5512,10 +5512,10 @@
             // btnConstruction0502
             // 
             this.btnConstruction0502.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0502.Location = new System.Drawing.Point(487, 471);
+            this.btnConstruction0502.Location = new System.Drawing.Point(539, 471);
             this.btnConstruction0502.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0502.Name = "btnConstruction0502";
-            this.btnConstruction0502.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0502.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0502.TabIndex = 15;
             this.btnConstruction0502.Text = "æ–½å·¥ä½“åˆ¶å�°å¸³ä½œæˆ�ãƒ»å�°åˆ·";
             this.btnConstruction0502.UseVisualStyleBackColor = true;
@@ -5524,10 +5524,10 @@
             // btnConstruction0503
             // 
             this.btnConstruction0503.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0503.Location = new System.Drawing.Point(681, 471);
+            this.btnConstruction0503.Location = new System.Drawing.Point(754, 471);
             this.btnConstruction0503.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0503.Name = "btnConstruction0503";
-            this.btnConstruction0503.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0503.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0503.TabIndex = 15;
             this.btnConstruction0503.UseVisualStyleBackColor = true;
             this.btnConstruction0503.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5535,10 +5535,10 @@
             // btnConstruction0504
             // 
             this.btnConstruction0504.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0504.Location = new System.Drawing.Point(875, 471);
+            this.btnConstruction0504.Location = new System.Drawing.Point(969, 471);
             this.btnConstruction0504.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0504.Name = "btnConstruction0504";
-            this.btnConstruction0504.Size = new System.Drawing.Size(179, 30);
+            this.btnConstruction0504.Size = new System.Drawing.Size(197, 30);
             this.btnConstruction0504.TabIndex = 15;
             this.btnConstruction0504.UseVisualStyleBackColor = true;
             this.btnConstruction0504.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5552,7 +5552,7 @@
             this.lblConstr06.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr06.Location = new System.Drawing.Point(3, 540);
             this.lblConstr06.Name = "lblConstr06";
-            this.lblConstr06.Size = new System.Drawing.Size(89, 36);
+            this.lblConstr06.Size = new System.Drawing.Size(99, 36);
             this.lblConstr06.TabIndex = 15;
             this.lblConstr06.Text = "ç�€å·¥å‰�ãƒ»ä¸­";
             this.lblConstr06.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -5560,10 +5560,10 @@
             // btnConstruction0600
             // 
             this.btnConstruction0600.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0600.Location = new System.Drawing.Point(99, 543);
+            this.btnConstruction0600.Location = new System.Drawing.Point(109, 543);
             this.btnConstruction0600.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0600.Name = "btnConstruction0600";
-            this.btnConstruction0600.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0600.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0600.TabIndex = 15;
             this.btnConstruction0600.Text = "å·¥äº‹æ–½å·¥å›³æ‰¿è«¾é¡˜ã�„";
             this.btnConstruction0600.UseVisualStyleBackColor = true;
@@ -5572,10 +5572,10 @@
             // btnConstruction0601
             // 
             this.btnConstruction0601.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0601.Location = new System.Drawing.Point(293, 543);
+            this.btnConstruction0601.Location = new System.Drawing.Point(324, 543);
             this.btnConstruction0601.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0601.Name = "btnConstruction0601";
-            this.btnConstruction0601.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0601.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0601.TabIndex = 15;
             this.btnConstruction0601.Text = "å·¥äº‹ä½¿ç”¨æ��æ–™æ‰¿è«¾é¡˜ã�„";
             this.btnConstruction0601.UseVisualStyleBackColor = true;
@@ -5584,10 +5584,10 @@
             // btnConstruction0602
             // 
             this.btnConstruction0602.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0602.Location = new System.Drawing.Point(487, 543);
+            this.btnConstruction0602.Location = new System.Drawing.Point(539, 543);
             this.btnConstruction0602.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0602.Name = "btnConstruction0602";
-            this.btnConstruction0602.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0602.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0602.TabIndex = 15;
             this.btnConstruction0602.Text = "å®‰å…¨ãƒ‘ãƒˆãƒ­ãƒ¼ãƒ«ç”³è«‹";
             this.btnConstruction0602.UseVisualStyleBackColor = true;
@@ -5596,10 +5596,10 @@
             // btnConstruction0603
             // 
             this.btnConstruction0603.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0603.Location = new System.Drawing.Point(681, 543);
+            this.btnConstruction0603.Location = new System.Drawing.Point(754, 543);
             this.btnConstruction0603.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0603.Name = "btnConstruction0603";
-            this.btnConstruction0603.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0603.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0603.TabIndex = 15;
             this.btnConstruction0603.Text = "ç¤¾å†…æ¤œæŸ»ç”³è«‹";
             this.btnConstruction0603.UseVisualStyleBackColor = true;
@@ -5608,10 +5608,10 @@
             // btnConstruction0604
             // 
             this.btnConstruction0604.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0604.Location = new System.Drawing.Point(875, 543);
+            this.btnConstruction0604.Location = new System.Drawing.Point(969, 543);
             this.btnConstruction0604.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0604.Name = "btnConstruction0604";
-            this.btnConstruction0604.Size = new System.Drawing.Size(179, 30);
+            this.btnConstruction0604.Size = new System.Drawing.Size(197, 30);
             this.btnConstruction0604.TabIndex = 15;
             this.btnConstruction0604.UseVisualStyleBackColor = true;
             this.btnConstruction0604.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5619,10 +5619,10 @@
             // btnConstruction0700
             // 
             this.btnConstruction0700.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0700.Location = new System.Drawing.Point(99, 615);
+            this.btnConstruction0700.Location = new System.Drawing.Point(109, 615);
             this.btnConstruction0700.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0700.Name = "btnConstruction0700";
-            this.btnConstruction0700.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0700.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0700.TabIndex = 15;
             this.btnConstruction0700.UseVisualStyleBackColor = true;
             this.btnConstruction0700.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5630,10 +5630,10 @@
             // btnConstruction0701
             // 
             this.btnConstruction0701.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0701.Location = new System.Drawing.Point(293, 615);
+            this.btnConstruction0701.Location = new System.Drawing.Point(324, 615);
             this.btnConstruction0701.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0701.Name = "btnConstruction0701";
-            this.btnConstruction0701.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0701.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0701.TabIndex = 15;
             this.btnConstruction0701.UseVisualStyleBackColor = true;
             this.btnConstruction0701.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5641,10 +5641,10 @@
             // btnConstruction0702
             // 
             this.btnConstruction0702.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0702.Location = new System.Drawing.Point(487, 615);
+            this.btnConstruction0702.Location = new System.Drawing.Point(539, 615);
             this.btnConstruction0702.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0702.Name = "btnConstruction0702";
-            this.btnConstruction0702.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0702.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0702.TabIndex = 15;
             this.btnConstruction0702.UseVisualStyleBackColor = true;
             this.btnConstruction0702.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5652,10 +5652,10 @@
             // btnConstruction0703
             // 
             this.btnConstruction0703.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0703.Location = new System.Drawing.Point(681, 615);
+            this.btnConstruction0703.Location = new System.Drawing.Point(754, 615);
             this.btnConstruction0703.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0703.Name = "btnConstruction0703";
-            this.btnConstruction0703.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0703.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0703.TabIndex = 15;
             this.btnConstruction0703.UseVisualStyleBackColor = true;
             this.btnConstruction0703.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5663,10 +5663,10 @@
             // btnConstruction0704
             // 
             this.btnConstruction0704.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0704.Location = new System.Drawing.Point(875, 615);
+            this.btnConstruction0704.Location = new System.Drawing.Point(969, 615);
             this.btnConstruction0704.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0704.Name = "btnConstruction0704";
-            this.btnConstruction0704.Size = new System.Drawing.Size(179, 30);
+            this.btnConstruction0704.Size = new System.Drawing.Size(197, 30);
             this.btnConstruction0704.TabIndex = 15;
             this.btnConstruction0704.UseVisualStyleBackColor = true;
             this.btnConstruction0704.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5680,7 +5680,7 @@
             this.lblConstr08.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr08.Location = new System.Drawing.Point(3, 684);
             this.lblConstr08.Name = "lblConstr08";
-            this.lblConstr08.Size = new System.Drawing.Size(89, 36);
+            this.lblConstr08.Size = new System.Drawing.Size(99, 36);
             this.lblConstr08.TabIndex = 15;
             this.lblConstr08.Text = "ç�€å·¥ä¸­\r\nãƒ»å®Œäº†å¾Œ";
             this.lblConstr08.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -5688,10 +5688,10 @@
             // btnConstruction0800
             // 
             this.btnConstruction0800.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0800.Location = new System.Drawing.Point(99, 687);
+            this.btnConstruction0800.Location = new System.Drawing.Point(109, 687);
             this.btnConstruction0800.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0800.Name = "btnConstruction0800";
-            this.btnConstruction0800.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0800.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0800.TabIndex = 15;
             this.btnConstruction0800.Text = "å®Œæˆ�å›³æ›¸ä½œæˆ�ãƒ»å�°åˆ·";
             this.btnConstruction0800.UseVisualStyleBackColor = true;
@@ -5700,10 +5700,10 @@
             // btnConstruction0801
             // 
             this.btnConstruction0801.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0801.Location = new System.Drawing.Point(293, 687);
+            this.btnConstruction0801.Location = new System.Drawing.Point(324, 687);
             this.btnConstruction0801.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0801.Name = "btnConstruction0801";
-            this.btnConstruction0801.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0801.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0801.TabIndex = 15;
             this.btnConstruction0801.UseVisualStyleBackColor = true;
             this.btnConstruction0801.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5711,10 +5711,10 @@
             // btnConstruction0802
             // 
             this.btnConstruction0802.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0802.Location = new System.Drawing.Point(487, 687);
+            this.btnConstruction0802.Location = new System.Drawing.Point(539, 687);
             this.btnConstruction0802.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0802.Name = "btnConstruction0802";
-            this.btnConstruction0802.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0802.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0802.TabIndex = 15;
             this.btnConstruction0802.UseVisualStyleBackColor = true;
             this.btnConstruction0802.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5722,10 +5722,10 @@
             // btnConstruction0803
             // 
             this.btnConstruction0803.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0803.Location = new System.Drawing.Point(681, 687);
+            this.btnConstruction0803.Location = new System.Drawing.Point(754, 687);
             this.btnConstruction0803.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0803.Name = "btnConstruction0803";
-            this.btnConstruction0803.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0803.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0803.TabIndex = 15;
             this.btnConstruction0803.UseVisualStyleBackColor = true;
             this.btnConstruction0803.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5733,10 +5733,10 @@
             // btnConstruction0804
             // 
             this.btnConstruction0804.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0804.Location = new System.Drawing.Point(875, 687);
+            this.btnConstruction0804.Location = new System.Drawing.Point(969, 687);
             this.btnConstruction0804.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0804.Name = "btnConstruction0804";
-            this.btnConstruction0804.Size = new System.Drawing.Size(179, 30);
+            this.btnConstruction0804.Size = new System.Drawing.Size(197, 30);
             this.btnConstruction0804.TabIndex = 15;
             this.btnConstruction0804.UseVisualStyleBackColor = true;
             this.btnConstruction0804.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5748,7 +5748,7 @@
             this.tblLayoutConstruction.SetColumnSpan(this.lblConstrLine02, 10);
             this.lblConstrLine02.Location = new System.Drawing.Point(3, 771);
             this.lblConstrLine02.Name = "lblConstrLine02";
-            this.lblConstrLine02.Size = new System.Drawing.Size(1052, 6);
+            this.lblConstrLine02.Size = new System.Drawing.Size(1164, 6);
             this.lblConstrLine02.TabIndex = 15;
             // 
             // lblConstrTitle03
@@ -5758,9 +5758,9 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.lblConstrTitle03.AutoSize = true;
             this.lblConstrTitle03.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.lblConstrTitle03.Location = new System.Drawing.Point(98, 792);
+            this.lblConstrTitle03.Location = new System.Drawing.Point(108, 792);
             this.lblConstrTitle03.Name = "lblConstrTitle03";
-            this.lblConstrTitle03.Size = new System.Drawing.Size(173, 36);
+            this.lblConstrTitle03.Size = new System.Drawing.Size(192, 36);
             this.lblConstrTitle03.TabIndex = 15;
             this.lblConstrTitle03.Text = "å�–å¼•å…ˆè«‹æ±‚ç®¡ç�†";
             this.lblConstrTitle03.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -5774,7 +5774,7 @@
             this.lblConstr09.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr09.Location = new System.Drawing.Point(3, 828);
             this.lblConstr09.Name = "lblConstr09";
-            this.lblConstr09.Size = new System.Drawing.Size(89, 36);
+            this.lblConstr09.Size = new System.Drawing.Size(99, 36);
             this.lblConstr09.TabIndex = 15;
             this.lblConstr09.Text = "å‡ºæ�¥é«˜";
             this.lblConstr09.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -5782,10 +5782,10 @@
             // btnConstruction0900
             // 
             this.btnConstruction0900.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0900.Location = new System.Drawing.Point(99, 831);
+            this.btnConstruction0900.Location = new System.Drawing.Point(109, 831);
             this.btnConstruction0900.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0900.Name = "btnConstruction0900";
-            this.btnConstruction0900.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0900.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0900.TabIndex = 15;
             this.btnConstruction0900.Text = "è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ä½œæˆ�";
             this.btnConstruction0900.UseVisualStyleBackColor = true;
@@ -5794,10 +5794,10 @@
             // btnConstruction0901
             // 
             this.btnConstruction0901.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0901.Location = new System.Drawing.Point(293, 831);
+            this.btnConstruction0901.Location = new System.Drawing.Point(324, 831);
             this.btnConstruction0901.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0901.Name = "btnConstruction0901";
-            this.btnConstruction0901.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0901.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0901.TabIndex = 15;
             this.btnConstruction0901.Text = "è«‹æ±‚æ‰¿èª�";
             this.btnConstruction0901.UseVisualStyleBackColor = true;
@@ -5806,10 +5806,10 @@
             // btnConstruction0902
             // 
             this.btnConstruction0902.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0902.Location = new System.Drawing.Point(487, 831);
+            this.btnConstruction0902.Location = new System.Drawing.Point(539, 831);
             this.btnConstruction0902.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0902.Name = "btnConstruction0902";
-            this.btnConstruction0902.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0902.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0902.TabIndex = 15;
             this.btnConstruction0902.Text = "è«‹æ±‚æ›¸å�°åˆ·";
             this.btnConstruction0902.UseVisualStyleBackColor = true;
@@ -5818,10 +5818,10 @@
             // btnConstruction0903
             // 
             this.btnConstruction0903.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0903.Location = new System.Drawing.Point(681, 831);
+            this.btnConstruction0903.Location = new System.Drawing.Point(754, 831);
             this.btnConstruction0903.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0903.Name = "btnConstruction0903";
-            this.btnConstruction0903.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction0903.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction0903.TabIndex = 15;
             this.btnConstruction0903.Text = "è«‹æ±‚æ›¸éƒµé€�ãƒ»æ‰‹æ¸¡ã�—ç¢ºèª�";
             this.btnConstruction0903.UseVisualStyleBackColor = true;
@@ -5830,10 +5830,10 @@
             // btnConstruction0904
             // 
             this.btnConstruction0904.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction0904.Location = new System.Drawing.Point(875, 831);
+            this.btnConstruction0904.Location = new System.Drawing.Point(969, 831);
             this.btnConstruction0904.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction0904.Name = "btnConstruction0904";
-            this.btnConstruction0904.Size = new System.Drawing.Size(179, 30);
+            this.btnConstruction0904.Size = new System.Drawing.Size(197, 30);
             this.btnConstruction0904.TabIndex = 15;
             this.btnConstruction0904.Text = "å�–å¼•å…ˆå…¥é‡‘ç¢ºèª�";
             this.btnConstruction0904.UseVisualStyleBackColor = true;
@@ -5842,10 +5842,10 @@
             // btnConstruction1000
             // 
             this.btnConstruction1000.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction1000.Location = new System.Drawing.Point(99, 903);
+            this.btnConstruction1000.Location = new System.Drawing.Point(109, 903);
             this.btnConstruction1000.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction1000.Name = "btnConstruction1000";
-            this.btnConstruction1000.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction1000.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction1000.TabIndex = 15;
             this.btnConstruction1000.Text = "è«‹æ±‚ãƒ‡ãƒ¼ã‚¿ä½œæˆ�";
             this.btnConstruction1000.UseVisualStyleBackColor = true;
@@ -5854,10 +5854,10 @@
             // btnConstruction1001
             // 
             this.btnConstruction1001.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction1001.Location = new System.Drawing.Point(293, 903);
+            this.btnConstruction1001.Location = new System.Drawing.Point(324, 903);
             this.btnConstruction1001.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction1001.Name = "btnConstruction1001";
-            this.btnConstruction1001.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction1001.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction1001.TabIndex = 15;
             this.btnConstruction1001.Text = "è«‹æ±‚æ‰¿èª�";
             this.btnConstruction1001.UseVisualStyleBackColor = true;
@@ -5866,10 +5866,10 @@
             // btnConstruction1002
             // 
             this.btnConstruction1002.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction1002.Location = new System.Drawing.Point(487, 903);
+            this.btnConstruction1002.Location = new System.Drawing.Point(539, 903);
             this.btnConstruction1002.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction1002.Name = "btnConstruction1002";
-            this.btnConstruction1002.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction1002.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction1002.TabIndex = 15;
             this.btnConstruction1002.Text = "è«‹æ±‚æ›¸å�°åˆ·";
             this.btnConstruction1002.UseVisualStyleBackColor = true;
@@ -5878,10 +5878,10 @@
             // btnConstruction1003
             // 
             this.btnConstruction1003.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction1003.Location = new System.Drawing.Point(681, 903);
+            this.btnConstruction1003.Location = new System.Drawing.Point(754, 903);
             this.btnConstruction1003.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction1003.Name = "btnConstruction1003";
-            this.btnConstruction1003.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction1003.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction1003.TabIndex = 15;
             this.btnConstruction1003.Text = "è«‹æ±‚æ›¸éƒµé€�ãƒ»æ‰‹æ¸¡ã�—ç¢ºèª�";
             this.btnConstruction1003.UseVisualStyleBackColor = true;
@@ -5890,10 +5890,10 @@
             // btnConstruction1004
             // 
             this.btnConstruction1004.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction1004.Location = new System.Drawing.Point(875, 903);
+            this.btnConstruction1004.Location = new System.Drawing.Point(969, 903);
             this.btnConstruction1004.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction1004.Name = "btnConstruction1004";
-            this.btnConstruction1004.Size = new System.Drawing.Size(179, 30);
+            this.btnConstruction1004.Size = new System.Drawing.Size(197, 30);
             this.btnConstruction1004.TabIndex = 15;
             this.btnConstruction1004.Text = "å�–å¼•å…ˆå…¥é‡‘ç¢ºèª�";
             this.btnConstruction1004.UseVisualStyleBackColor = true;
@@ -5906,7 +5906,7 @@
             this.tblLayoutConstruction.SetColumnSpan(this.lblConstrLine03, 10);
             this.lblConstrLine03.Location = new System.Drawing.Point(3, 987);
             this.lblConstrLine03.Name = "lblConstrLine03";
-            this.lblConstrLine03.Size = new System.Drawing.Size(1052, 6);
+            this.lblConstrLine03.Size = new System.Drawing.Size(1164, 6);
             this.lblConstrLine03.TabIndex = 15;
             // 
             // lblConstrTitle04
@@ -5916,9 +5916,9 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.lblConstrTitle04.AutoSize = true;
             this.lblConstrTitle04.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.lblConstrTitle04.Location = new System.Drawing.Point(98, 1008);
+            this.lblConstrTitle04.Location = new System.Drawing.Point(108, 1008);
             this.lblConstrTitle04.Name = "lblConstrTitle04";
-            this.lblConstrTitle04.Size = new System.Drawing.Size(173, 36);
+            this.lblConstrTitle04.Size = new System.Drawing.Size(192, 36);
             this.lblConstrTitle04.TabIndex = 15;
             this.lblConstrTitle04.Text = "å�„æ¥­è€…ãƒ»è�·äººæ”¯æ‰•ã�„ç®¡ç�†";
             this.lblConstrTitle04.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -5932,7 +5932,7 @@
             this.lblConstr11.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr11.Location = new System.Drawing.Point(3, 1044);
             this.lblConstr11.Name = "lblConstr11";
-            this.lblConstr11.Size = new System.Drawing.Size(89, 36);
+            this.lblConstr11.Size = new System.Drawing.Size(99, 36);
             this.lblConstr11.TabIndex = 15;
             this.lblConstr11.Text = "æ¯Žæœˆ";
             this.lblConstr11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -5940,10 +5940,10 @@
             // btnConstruction1100
             // 
             this.btnConstruction1100.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction1100.Location = new System.Drawing.Point(99, 1047);
+            this.btnConstruction1100.Location = new System.Drawing.Point(109, 1047);
             this.btnConstruction1100.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction1100.Name = "btnConstruction1100";
-            this.btnConstruction1100.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction1100.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction1100.TabIndex = 15;
             this.btnConstruction1100.Text = "æ‰‹é–“æ”¯æ‰•ç¢ºèª�";
             this.btnConstruction1100.UseVisualStyleBackColor = true;
@@ -5952,10 +5952,10 @@
             // btnConstruction1101
             // 
             this.btnConstruction1101.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction1101.Location = new System.Drawing.Point(293, 1047);
+            this.btnConstruction1101.Location = new System.Drawing.Point(324, 1047);
             this.btnConstruction1101.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction1101.Name = "btnConstruction1101";
-            this.btnConstruction1101.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction1101.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction1101.TabIndex = 15;
             this.btnConstruction1101.Text = "æ¥­è€…æ”¯æ‰•ç¢ºèª�";
             this.btnConstruction1101.UseVisualStyleBackColor = true;
@@ -5964,10 +5964,10 @@
             // btnConstruction1102
             // 
             this.btnConstruction1102.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction1102.Location = new System.Drawing.Point(487, 1047);
+            this.btnConstruction1102.Location = new System.Drawing.Point(539, 1047);
             this.btnConstruction1102.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction1102.Name = "btnConstruction1102";
-            this.btnConstruction1102.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction1102.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction1102.TabIndex = 15;
             this.btnConstruction1102.UseVisualStyleBackColor = true;
             this.btnConstruction1102.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5975,10 +5975,10 @@
             // btnConstruction1103
             // 
             this.btnConstruction1103.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction1103.Location = new System.Drawing.Point(681, 1047);
+            this.btnConstruction1103.Location = new System.Drawing.Point(754, 1047);
             this.btnConstruction1103.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction1103.Name = "btnConstruction1103";
-            this.btnConstruction1103.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction1103.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction1103.TabIndex = 15;
             this.btnConstruction1103.UseVisualStyleBackColor = true;
             this.btnConstruction1103.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -5986,10 +5986,10 @@
             // btnConstruction1104
             // 
             this.btnConstruction1104.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction1104.Location = new System.Drawing.Point(875, 1047);
+            this.btnConstruction1104.Location = new System.Drawing.Point(969, 1047);
             this.btnConstruction1104.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction1104.Name = "btnConstruction1104";
-            this.btnConstruction1104.Size = new System.Drawing.Size(179, 30);
+            this.btnConstruction1104.Size = new System.Drawing.Size(197, 30);
             this.btnConstruction1104.TabIndex = 15;
             this.btnConstruction1104.UseVisualStyleBackColor = true;
             this.btnConstruction1104.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -6002,9 +6002,9 @@
             this.lblConstr1102.AutoSize = true;
             this.lblConstr1102.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr1102.ForeColor = System.Drawing.Color.Brown;
-            this.lblConstr1102.Location = new System.Drawing.Point(98, 1080);
+            this.lblConstr1102.Location = new System.Drawing.Point(108, 1080);
             this.lblConstr1102.Name = "lblConstr1102";
-            this.lblConstr1102.Size = new System.Drawing.Size(173, 36);
+            this.lblConstr1102.Size = new System.Drawing.Size(192, 36);
             this.lblConstr1102.TabIndex = 15;
             this.lblConstr1102.Text = "â€»æ¯Žæœˆ5æ—¥å¿…ç�€\r\nç¢ºèª�ã�¯8æ—¥ã�¾ã�§";
             this.lblConstr1102.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -6017,9 +6017,9 @@
             this.lblConstr1103.AutoSize = true;
             this.lblConstr1103.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr1103.ForeColor = System.Drawing.Color.Brown;
-            this.lblConstr1103.Location = new System.Drawing.Point(292, 1080);
+            this.lblConstr1103.Location = new System.Drawing.Point(323, 1080);
             this.lblConstr1103.Name = "lblConstr1103";
-            this.lblConstr1103.Size = new System.Drawing.Size(173, 36);
+            this.lblConstr1103.Size = new System.Drawing.Size(192, 36);
             this.lblConstr1103.TabIndex = 15;
             this.lblConstr1103.Text = "â€»æ¯Žæœˆ5æ—¥å¿…ç�€\r\nç¢ºèª�ã�¯15æ—¥ã�¾ã�§";
             this.lblConstr1103.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -6031,7 +6031,7 @@
             this.tblLayoutConstruction.SetColumnSpan(this.lblConstrLine04, 10);
             this.lblConstrLine04.Location = new System.Drawing.Point(3, 1131);
             this.lblConstrLine04.Name = "lblConstrLine04";
-            this.lblConstrLine04.Size = new System.Drawing.Size(1052, 6);
+            this.lblConstrLine04.Size = new System.Drawing.Size(1164, 6);
             this.lblConstrLine04.TabIndex = 15;
             // 
             // lblConstrTitle05
@@ -6041,9 +6041,9 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.lblConstrTitle05.AutoSize = true;
             this.lblConstrTitle05.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.lblConstrTitle05.Location = new System.Drawing.Point(98, 1152);
+            this.lblConstrTitle05.Location = new System.Drawing.Point(108, 1152);
             this.lblConstrTitle05.Name = "lblConstrTitle05";
-            this.lblConstrTitle05.Size = new System.Drawing.Size(173, 36);
+            this.lblConstrTitle05.Size = new System.Drawing.Size(192, 36);
             this.lblConstrTitle05.TabIndex = 15;
             this.lblConstrTitle05.Text = "ã��ã�®ä»–ç®¡ç�†";
             this.lblConstrTitle05.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -6057,7 +6057,7 @@
             this.lblConstr12.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr12.Location = new System.Drawing.Point(3, 1188);
             this.lblConstr12.Name = "lblConstr12";
-            this.lblConstr12.Size = new System.Drawing.Size(89, 36);
+            this.lblConstr12.Size = new System.Drawing.Size(99, 36);
             this.lblConstr12.TabIndex = 15;
             this.lblConstr12.Text = "é�©æ™‚";
             this.lblConstr12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -6065,10 +6065,10 @@
             // btnConstruction1200
             // 
             this.btnConstruction1200.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction1200.Location = new System.Drawing.Point(99, 1191);
+            this.btnConstruction1200.Location = new System.Drawing.Point(109, 1191);
             this.btnConstruction1200.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction1200.Name = "btnConstruction1200";
-            this.btnConstruction1200.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction1200.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction1200.TabIndex = 15;
             this.btnConstruction1200.Text = "å‡ºç´�å¸³å…¥åŠ›";
             this.btnConstruction1200.UseVisualStyleBackColor = true;
@@ -6077,10 +6077,10 @@
             // btnConstruction1201
             // 
             this.btnConstruction1201.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction1201.Location = new System.Drawing.Point(293, 1191);
+            this.btnConstruction1201.Location = new System.Drawing.Point(324, 1191);
             this.btnConstruction1201.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction1201.Name = "btnConstruction1201";
-            this.btnConstruction1201.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction1201.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction1201.TabIndex = 15;
             this.btnConstruction1201.UseVisualStyleBackColor = true;
             this.btnConstruction1201.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -6088,10 +6088,10 @@
             // btnConstruction1202
             // 
             this.btnConstruction1202.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction1202.Location = new System.Drawing.Point(487, 1191);
+            this.btnConstruction1202.Location = new System.Drawing.Point(539, 1191);
             this.btnConstruction1202.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction1202.Name = "btnConstruction1202";
-            this.btnConstruction1202.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction1202.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction1202.TabIndex = 15;
             this.btnConstruction1202.UseVisualStyleBackColor = true;
             this.btnConstruction1202.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -6099,10 +6099,10 @@
             // btnConstruction1203
             // 
             this.btnConstruction1203.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction1203.Location = new System.Drawing.Point(681, 1191);
+            this.btnConstruction1203.Location = new System.Drawing.Point(754, 1191);
             this.btnConstruction1203.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction1203.Name = "btnConstruction1203";
-            this.btnConstruction1203.Size = new System.Drawing.Size(171, 30);
+            this.btnConstruction1203.Size = new System.Drawing.Size(190, 30);
             this.btnConstruction1203.TabIndex = 15;
             this.btnConstruction1203.UseVisualStyleBackColor = true;
             this.btnConstruction1203.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -6110,10 +6110,10 @@
             // btnConstruction1204
             // 
             this.btnConstruction1204.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.btnConstruction1204.Location = new System.Drawing.Point(875, 1191);
+            this.btnConstruction1204.Location = new System.Drawing.Point(969, 1191);
             this.btnConstruction1204.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnConstruction1204.Name = "btnConstruction1204";
-            this.btnConstruction1204.Size = new System.Drawing.Size(179, 30);
+            this.btnConstruction1204.Size = new System.Drawing.Size(197, 30);
             this.btnConstruction1204.TabIndex = 15;
             this.btnConstruction1204.UseVisualStyleBackColor = true;
             this.btnConstruction1204.Click += new System.EventHandler(this.btnConstruction_Click);
@@ -6127,7 +6127,7 @@
             this.lblConstr10.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr10.Location = new System.Drawing.Point(3, 900);
             this.lblConstr10.Name = "lblConstr10";
-            this.lblConstr10.Size = new System.Drawing.Size(89, 36);
+            this.lblConstr10.Size = new System.Drawing.Size(99, 36);
             this.lblConstr10.TabIndex = 15;
             this.lblConstr10.Text = "å®Œäº†å¾Œ";
             this.lblConstr10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -6141,9 +6141,9 @@
             this.tblLayoutConstruction.SetColumnSpan(this.lblConstr0102, 5);
             this.lblConstr0102.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr0102.ForeColor = System.Drawing.Color.Brown;
-            this.lblConstr0102.Location = new System.Drawing.Point(486, 144);
+            this.lblConstr0102.Location = new System.Drawing.Point(538, 144);
             this.lblConstr0102.Name = "lblConstr0102";
-            this.lblConstr0102.Size = new System.Drawing.Size(569, 36);
+            this.lblConstr0102.Size = new System.Drawing.Size(629, 36);
             this.lblConstr0102.TabIndex = 15;
             this.lblConstr0102.Text = "â€»è©²å½“é …ç›®ã�¯æ¯Žæ—¥è¨˜å…¥ã�™ã‚‹ã�“ã�¨ã€‚";
             this.lblConstr0102.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -6157,9 +6157,9 @@
             this.tblLayoutConstruction.SetColumnSpan(this.lblConstr0202, 5);
             this.lblConstr0202.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr0202.ForeColor = System.Drawing.Color.Brown;
-            this.lblConstr0202.Location = new System.Drawing.Point(486, 216);
+            this.lblConstr0202.Location = new System.Drawing.Point(538, 216);
             this.lblConstr0202.Name = "lblConstr0202";
-            this.lblConstr0202.Size = new System.Drawing.Size(569, 36);
+            this.lblConstr0202.Size = new System.Drawing.Size(629, 36);
             this.lblConstr0202.TabIndex = 15;
             this.lblConstr0202.Text = "â€»è³‡æ��é …ç›®ã�¯è²¸å‡ºãƒ»è¿”å�´æ™‚ã�«æ¯Žå›žè¨˜å…¥ã�™ã‚‹ã�“ã�¨ã€‚";
             this.lblConstr0202.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -6173,9 +6173,9 @@
             this.tblLayoutConstruction.SetColumnSpan(this.lblConstr0502, 5);
             this.lblConstr0502.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr0502.ForeColor = System.Drawing.Color.Brown;
-            this.lblConstr0502.Location = new System.Drawing.Point(486, 504);
+            this.lblConstr0502.Location = new System.Drawing.Point(538, 504);
             this.lblConstr0502.Name = "lblConstr0502";
-            this.lblConstr0502.Size = new System.Drawing.Size(569, 36);
+            this.lblConstr0502.Size = new System.Drawing.Size(629, 36);
             this.lblConstr0502.TabIndex = 15;
             this.lblConstr0502.Text = "â€»ä¸Šè¨˜é …ç›®ã�¯æ–½å·¥é–‹å§‹ã�¾ã�§ã�«ä½œæˆ�ã�™ã‚‹ã�“ã�¨ã€‚";
             this.lblConstr0502.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -6189,9 +6189,9 @@
             this.tblLayoutConstruction.SetColumnSpan(this.lblConstr0602, 5);
             this.lblConstr0602.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr0602.ForeColor = System.Drawing.Color.Brown;
-            this.lblConstr0602.Location = new System.Drawing.Point(486, 576);
+            this.lblConstr0602.Location = new System.Drawing.Point(538, 576);
             this.lblConstr0602.Name = "lblConstr0602";
-            this.lblConstr0602.Size = new System.Drawing.Size(569, 36);
+            this.lblConstr0602.Size = new System.Drawing.Size(629, 36);
             this.lblConstr0602.TabIndex = 15;
             this.lblConstr0602.Text = "â€»ä¸Šè¨˜é …ç›®ã�¯å�„å·¥ç¨®ã�®å…¨ä½“æ–½å·¥ä¸­ã�®æ–½å·¥å‰�ã�¾ã�§ã�«ä½œæˆ�ãƒ»æ��å‡ºã�™ã‚‹ã�“ã�¨ã€‚";
             this.lblConstr0602.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -6205,9 +6205,9 @@
             this.tblLayoutConstruction.SetColumnSpan(this.lblConstr0802, 5);
             this.lblConstr0802.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblConstr0802.ForeColor = System.Drawing.Color.Brown;
-            this.lblConstr0802.Location = new System.Drawing.Point(486, 720);
+            this.lblConstr0802.Location = new System.Drawing.Point(538, 720);
             this.lblConstr0802.Name = "lblConstr0802";
-            this.lblConstr0802.Size = new System.Drawing.Size(569, 36);
+            this.lblConstr0802.Size = new System.Drawing.Size(629, 36);
             this.lblConstr0802.TabIndex = 15;
             this.lblConstr0802.Text = "â€»å®Œæˆ�å›³æ›¸ã�¯å¥‘ç´„å·¥æœŸå†…ã�«å†�æ��å‡ºã‚‚å�«ã‚�ã�¦å®Œäº†ã�™ã‚‹ã�“ã�¨ã€‚";
             this.lblConstr0802.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -6312,7 +6312,7 @@
             this.tblLayoutAffairs.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 36F));
             this.tblLayoutAffairs.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
             this.tblLayoutAffairs.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
-            this.tblLayoutAffairs.Size = new System.Drawing.Size(1058, 648);
+            this.tblLayoutAffairs.Size = new System.Drawing.Size(1041, 648);
             this.tblLayoutAffairs.TabIndex = 13;
             // 
             // btnAffairs0000
@@ -6320,10 +6320,10 @@
             this.btnAffairs0000.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.btnAffairs0000.Location = new System.Drawing.Point(99, 39);
+            this.btnAffairs0000.Location = new System.Drawing.Point(97, 39);
             this.btnAffairs0000.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0000.Name = "btnAffairs0000";
-            this.btnAffairs0000.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0000.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0000.TabIndex = 0;
             this.btnAffairs0000.Text = "è¡Œå‹•äºˆå®šå…¥åŠ›";
             this.btnAffairs0000.UseVisualStyleBackColor = true;
@@ -6334,10 +6334,10 @@
             this.btnAffairs0001.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.btnAffairs0001.Location = new System.Drawing.Point(293, 39);
+            this.btnAffairs0001.Location = new System.Drawing.Point(288, 39);
             this.btnAffairs0001.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0001.Name = "btnAffairs0001";
-            this.btnAffairs0001.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0001.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0001.TabIndex = 0;
             this.btnAffairs0001.Text = "è»Šä¸¡äºˆç´„";
             this.btnAffairs0001.UseVisualStyleBackColor = true;
@@ -6350,9 +6350,9 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.lblAffairsTitle01.AutoSize = true;
             this.lblAffairsTitle01.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.lblAffairsTitle01.Location = new System.Drawing.Point(98, 0);
+            this.lblAffairsTitle01.Location = new System.Drawing.Point(96, 0);
             this.lblAffairsTitle01.Name = "lblAffairsTitle01";
-            this.lblAffairsTitle01.Size = new System.Drawing.Size(173, 36);
+            this.lblAffairsTitle01.Size = new System.Drawing.Size(170, 36);
             this.lblAffairsTitle01.TabIndex = 18;
             this.lblAffairsTitle01.Text = "æ—¥æ¬¡ç®¡ç�†";
             this.lblAffairsTitle01.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -6362,10 +6362,10 @@
             this.btnAffairs0002.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.btnAffairs0002.Location = new System.Drawing.Point(487, 39);
+            this.btnAffairs0002.Location = new System.Drawing.Point(479, 39);
             this.btnAffairs0002.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0002.Name = "btnAffairs0002";
-            this.btnAffairs0002.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0002.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0002.TabIndex = 0;
             this.btnAffairs0002.UseVisualStyleBackColor = true;
             this.btnAffairs0002.Click += new System.EventHandler(this.btnAffairs_Click);
@@ -6375,10 +6375,10 @@
             this.btnAffairs0003.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.btnAffairs0003.Location = new System.Drawing.Point(681, 39);
+            this.btnAffairs0003.Location = new System.Drawing.Point(670, 39);
             this.btnAffairs0003.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0003.Name = "btnAffairs0003";
-            this.btnAffairs0003.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0003.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0003.TabIndex = 0;
             this.btnAffairs0003.UseVisualStyleBackColor = true;
             this.btnAffairs0003.Click += new System.EventHandler(this.btnAffairs_Click);
@@ -6388,10 +6388,10 @@
             this.btnAffairs0004.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.btnAffairs0004.Location = new System.Drawing.Point(875, 39);
+            this.btnAffairs0004.Location = new System.Drawing.Point(861, 39);
             this.btnAffairs0004.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0004.Name = "btnAffairs0004";
-            this.btnAffairs0004.Size = new System.Drawing.Size(179, 30);
+            this.btnAffairs0004.Size = new System.Drawing.Size(176, 30);
             this.btnAffairs0004.TabIndex = 0;
             this.btnAffairs0004.UseVisualStyleBackColor = true;
             this.btnAffairs0004.Click += new System.EventHandler(this.btnAffairs_Click);
@@ -6401,10 +6401,10 @@
             this.btnAffairs0100.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.btnAffairs0100.Location = new System.Drawing.Point(99, 111);
+            this.btnAffairs0100.Location = new System.Drawing.Point(97, 111);
             this.btnAffairs0100.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0100.Name = "btnAffairs0100";
-            this.btnAffairs0100.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0100.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0100.TabIndex = 0;
             this.btnAffairs0100.Text = "å‡ºå‹¤ç®¡ç�†";
             this.btnAffairs0100.UseVisualStyleBackColor = true;
@@ -6415,10 +6415,10 @@
             this.btnAffairs0101.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.btnAffairs0101.Location = new System.Drawing.Point(293, 111);
+            this.btnAffairs0101.Location = new System.Drawing.Point(288, 111);
             this.btnAffairs0101.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0101.Name = "btnAffairs0101";
-            this.btnAffairs0101.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0101.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0101.TabIndex = 0;
             this.btnAffairs0101.UseVisualStyleBackColor = true;
             this.btnAffairs0101.Click += new System.EventHandler(this.btnAffairs_Click);
@@ -6428,10 +6428,10 @@
             this.btnAffairs0102.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.btnAffairs0102.Location = new System.Drawing.Point(487, 111);
+            this.btnAffairs0102.Location = new System.Drawing.Point(479, 111);
             this.btnAffairs0102.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0102.Name = "btnAffairs0102";
-            this.btnAffairs0102.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0102.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0102.TabIndex = 0;
             this.btnAffairs0102.UseVisualStyleBackColor = true;
             this.btnAffairs0102.Click += new System.EventHandler(this.btnAffairs_Click);
@@ -6441,10 +6441,10 @@
             this.btnAffairs0103.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.btnAffairs0103.Location = new System.Drawing.Point(681, 111);
+            this.btnAffairs0103.Location = new System.Drawing.Point(670, 111);
             this.btnAffairs0103.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0103.Name = "btnAffairs0103";
-            this.btnAffairs0103.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0103.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0103.TabIndex = 0;
             this.btnAffairs0103.UseVisualStyleBackColor = true;
             this.btnAffairs0103.Click += new System.EventHandler(this.btnAffairs_Click);
@@ -6454,10 +6454,10 @@
             this.btnAffairs0104.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.btnAffairs0104.Location = new System.Drawing.Point(875, 111);
+            this.btnAffairs0104.Location = new System.Drawing.Point(861, 111);
             this.btnAffairs0104.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0104.Name = "btnAffairs0104";
-            this.btnAffairs0104.Size = new System.Drawing.Size(179, 30);
+            this.btnAffairs0104.Size = new System.Drawing.Size(176, 30);
             this.btnAffairs0104.TabIndex = 0;
             this.btnAffairs0104.UseVisualStyleBackColor = true;
             this.btnAffairs0104.Click += new System.EventHandler(this.btnAffairs_Click);
@@ -6471,7 +6471,7 @@
             this.lblAffairs00.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblAffairs00.Location = new System.Drawing.Point(3, 36);
             this.lblAffairs00.Name = "lblAffairs00";
-            this.lblAffairs00.Size = new System.Drawing.Size(89, 36);
+            this.lblAffairs00.Size = new System.Drawing.Size(87, 36);
             this.lblAffairs00.TabIndex = 19;
             this.lblAffairs00.Text = "æ¯Žæ—¥";
             this.lblAffairs00.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -6485,7 +6485,7 @@
             this.lblAffairs01.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblAffairs01.Location = new System.Drawing.Point(3, 108);
             this.lblAffairs01.Name = "lblAffairs01";
-            this.lblAffairs01.Size = new System.Drawing.Size(89, 36);
+            this.lblAffairs01.Size = new System.Drawing.Size(87, 36);
             this.lblAffairs01.TabIndex = 19;
             this.lblAffairs01.Text = "æ¯Žæ—¥";
             this.lblAffairs01.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -6497,7 +6497,7 @@
             this.tblLayoutAffairs.SetColumnSpan(this.lblAffairsLine01, 10);
             this.lblAffairsLine01.Location = new System.Drawing.Point(3, 195);
             this.lblAffairsLine01.Name = "lblAffairsLine01";
-            this.lblAffairsLine01.Size = new System.Drawing.Size(1052, 6);
+            this.lblAffairsLine01.Size = new System.Drawing.Size(1035, 6);
             this.lblAffairsLine01.TabIndex = 20;
             // 
             // btnAffairs0302
@@ -6505,10 +6505,10 @@
             this.btnAffairs0302.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.btnAffairs0302.Location = new System.Drawing.Point(487, 327);
+            this.btnAffairs0302.Location = new System.Drawing.Point(479, 327);
             this.btnAffairs0302.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0302.Name = "btnAffairs0302";
-            this.btnAffairs0302.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0302.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0302.TabIndex = 0;
             this.btnAffairs0302.Text = "è«‹æ±‚æ›¸ç™ºé€�çŠ¶æ³�å…¥åŠ›";
             this.btnAffairs0302.UseVisualStyleBackColor = true;
@@ -6519,10 +6519,10 @@
             this.btnAffairs0300.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.btnAffairs0300.Location = new System.Drawing.Point(99, 327);
+            this.btnAffairs0300.Location = new System.Drawing.Point(97, 327);
             this.btnAffairs0300.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0300.Name = "btnAffairs0300";
-            this.btnAffairs0300.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0300.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0300.TabIndex = 0;
             this.btnAffairs0300.Text = "æ³¨æ–‡æ›¸å�°åˆ·";
             this.btnAffairs0300.UseVisualStyleBackColor = true;
@@ -6533,10 +6533,10 @@
             this.btnAffairs0301.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.btnAffairs0301.Location = new System.Drawing.Point(293, 327);
+            this.btnAffairs0301.Location = new System.Drawing.Point(288, 327);
             this.btnAffairs0301.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0301.Name = "btnAffairs0301";
-            this.btnAffairs0301.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0301.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0301.TabIndex = 0;
             this.btnAffairs0301.Text = "æ³¨æ–‡æ›¸ç™ºçµ¦çŠ¶æ³�å…¥åŠ›";
             this.btnAffairs0301.UseVisualStyleBackColor = true;
@@ -6547,10 +6547,10 @@
             this.btnAffairs0201.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.btnAffairs0201.Location = new System.Drawing.Point(293, 255);
+            this.btnAffairs0201.Location = new System.Drawing.Point(288, 255);
             this.btnAffairs0201.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0201.Name = "btnAffairs0201";
-            this.btnAffairs0201.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0201.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0201.TabIndex = 0;
             this.btnAffairs0201.Text = "å·¥äº‹äºˆç®—é–²è¦§";
             this.btnAffairs0201.UseVisualStyleBackColor = true;
@@ -6561,10 +6561,10 @@
             this.btnAffairs0200.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.btnAffairs0200.Location = new System.Drawing.Point(99, 255);
+            this.btnAffairs0200.Location = new System.Drawing.Point(97, 255);
             this.btnAffairs0200.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0200.Name = "btnAffairs0200";
-            this.btnAffairs0200.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0200.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0200.TabIndex = 0;
             this.btnAffairs0200.Text = "å·¥äº‹æƒ…å ±å…¥åŠ›ãƒ»é–²è¦§";
             this.btnAffairs0200.UseVisualStyleBackColor = true;
@@ -6577,9 +6577,9 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.lblAffairsTitle02.AutoSize = true;
             this.lblAffairsTitle02.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.lblAffairsTitle02.Location = new System.Drawing.Point(98, 216);
+            this.lblAffairsTitle02.Location = new System.Drawing.Point(96, 216);
             this.lblAffairsTitle02.Name = "lblAffairsTitle02";
-            this.lblAffairsTitle02.Size = new System.Drawing.Size(173, 36);
+            this.lblAffairsTitle02.Size = new System.Drawing.Size(170, 36);
             this.lblAffairsTitle02.TabIndex = 18;
             this.lblAffairsTitle02.Text = "æƒ…å ±é–²è¦§å�Šã�³å…¥åŠ›";
             this.lblAffairsTitle02.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -6589,10 +6589,10 @@
             this.btnAffairs0202.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.btnAffairs0202.Location = new System.Drawing.Point(487, 255);
+            this.btnAffairs0202.Location = new System.Drawing.Point(479, 255);
             this.btnAffairs0202.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0202.Name = "btnAffairs0202";
-            this.btnAffairs0202.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0202.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0202.TabIndex = 0;
             this.btnAffairs0202.Text = "è«‹æ±‚æ‰¿èª�çŠ¶æ³�é–²è¦§";
             this.btnAffairs0202.UseVisualStyleBackColor = true;
@@ -6603,10 +6603,10 @@
             this.btnAffairs0203.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.btnAffairs0203.Location = new System.Drawing.Point(681, 255);
+            this.btnAffairs0203.Location = new System.Drawing.Point(670, 255);
             this.btnAffairs0203.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0203.Name = "btnAffairs0203";
-            this.btnAffairs0203.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0203.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0203.TabIndex = 0;
             this.btnAffairs0203.UseVisualStyleBackColor = true;
             this.btnAffairs0203.Click += new System.EventHandler(this.btnAffairs_Click);
@@ -6616,10 +6616,10 @@
             this.btnAffairs0204.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.btnAffairs0204.Location = new System.Drawing.Point(875, 255);
+            this.btnAffairs0204.Location = new System.Drawing.Point(861, 255);
             this.btnAffairs0204.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0204.Name = "btnAffairs0204";
-            this.btnAffairs0204.Size = new System.Drawing.Size(179, 30);
+            this.btnAffairs0204.Size = new System.Drawing.Size(176, 30);
             this.btnAffairs0204.TabIndex = 0;
             this.btnAffairs0204.Text = "å�„ç¤¾å“¡å‡ºå‹¤æƒ…å ±é–²è¦§";
             this.btnAffairs0204.UseVisualStyleBackColor = true;
@@ -6630,10 +6630,10 @@
             this.btnAffairs0303.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.btnAffairs0303.Location = new System.Drawing.Point(681, 327);
+            this.btnAffairs0303.Location = new System.Drawing.Point(670, 327);
             this.btnAffairs0303.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0303.Name = "btnAffairs0303";
-            this.btnAffairs0303.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0303.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0303.TabIndex = 0;
             this.btnAffairs0303.UseVisualStyleBackColor = true;
             this.btnAffairs0303.Click += new System.EventHandler(this.btnAffairs_Click);
@@ -6643,10 +6643,10 @@
             this.btnAffairs0304.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.btnAffairs0304.Location = new System.Drawing.Point(875, 327);
+            this.btnAffairs0304.Location = new System.Drawing.Point(861, 327);
             this.btnAffairs0304.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0304.Name = "btnAffairs0304";
-            this.btnAffairs0304.Size = new System.Drawing.Size(179, 30);
+            this.btnAffairs0304.Size = new System.Drawing.Size(176, 30);
             this.btnAffairs0304.TabIndex = 0;
             this.btnAffairs0304.UseVisualStyleBackColor = true;
             this.btnAffairs0304.Click += new System.EventHandler(this.btnAffairs_Click);
@@ -6658,7 +6658,7 @@
             this.tblLayoutAffairs.SetColumnSpan(this.lblAffairsLine02, 10);
             this.lblAffairsLine02.Location = new System.Drawing.Point(3, 411);
             this.lblAffairsLine02.Name = "lblAffairsLine02";
-            this.lblAffairsLine02.Size = new System.Drawing.Size(1052, 6);
+            this.lblAffairsLine02.Size = new System.Drawing.Size(1035, 6);
             this.lblAffairsLine02.TabIndex = 20;
             // 
             // btnAffairs0400
@@ -6666,10 +6666,10 @@
             this.btnAffairs0400.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.btnAffairs0400.Location = new System.Drawing.Point(99, 471);
+            this.btnAffairs0400.Location = new System.Drawing.Point(97, 471);
             this.btnAffairs0400.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0400.Name = "btnAffairs0400";
-            this.btnAffairs0400.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0400.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0400.TabIndex = 0;
             this.btnAffairs0400.Text = "æ‰‹é–“æ”¯æ‰•ç¢ºèª�";
             this.btnAffairs0400.UseVisualStyleBackColor = true;
@@ -6680,10 +6680,10 @@
             this.btnAffairs0401.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.btnAffairs0401.Location = new System.Drawing.Point(293, 471);
+            this.btnAffairs0401.Location = new System.Drawing.Point(288, 471);
             this.btnAffairs0401.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0401.Name = "btnAffairs0401";
-            this.btnAffairs0401.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0401.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0401.TabIndex = 0;
             this.btnAffairs0401.Text = "æ¥­è€…æ”¯æ‰•ç¢ºèª�";
             this.btnAffairs0401.UseVisualStyleBackColor = true;
@@ -6694,10 +6694,10 @@
             this.btnAffairs0402.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.btnAffairs0402.Location = new System.Drawing.Point(487, 471);
+            this.btnAffairs0402.Location = new System.Drawing.Point(479, 471);
             this.btnAffairs0402.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0402.Name = "btnAffairs0402";
-            this.btnAffairs0402.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0402.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0402.TabIndex = 0;
             this.btnAffairs0402.UseVisualStyleBackColor = true;
             this.btnAffairs0402.Click += new System.EventHandler(this.btnAffairs_Click);
@@ -6707,10 +6707,10 @@
             this.btnAffairs0403.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.btnAffairs0403.Location = new System.Drawing.Point(681, 471);
+            this.btnAffairs0403.Location = new System.Drawing.Point(670, 471);
             this.btnAffairs0403.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0403.Name = "btnAffairs0403";
-            this.btnAffairs0403.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0403.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0403.TabIndex = 0;
             this.btnAffairs0403.UseVisualStyleBackColor = true;
             this.btnAffairs0403.Click += new System.EventHandler(this.btnAffairs_Click);
@@ -6720,10 +6720,10 @@
             this.btnAffairs0404.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.btnAffairs0404.Location = new System.Drawing.Point(875, 471);
+            this.btnAffairs0404.Location = new System.Drawing.Point(861, 471);
             this.btnAffairs0404.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0404.Name = "btnAffairs0404";
-            this.btnAffairs0404.Size = new System.Drawing.Size(179, 30);
+            this.btnAffairs0404.Size = new System.Drawing.Size(176, 30);
             this.btnAffairs0404.TabIndex = 0;
             this.btnAffairs0404.Text = "å�–å¼•å…ˆå…¥é‡‘å…¥åŠ›";
             this.btnAffairs0404.UseVisualStyleBackColor = true;
@@ -6736,9 +6736,9 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.lblAffairsTitle03.AutoSize = true;
             this.lblAffairsTitle03.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.lblAffairsTitle03.Location = new System.Drawing.Point(98, 432);
+            this.lblAffairsTitle03.Location = new System.Drawing.Point(96, 432);
             this.lblAffairsTitle03.Name = "lblAffairsTitle03";
-            this.lblAffairsTitle03.Size = new System.Drawing.Size(173, 36);
+            this.lblAffairsTitle03.Size = new System.Drawing.Size(170, 36);
             this.lblAffairsTitle03.TabIndex = 18;
             this.lblAffairsTitle03.Text = "è«‹æ±‚é–¢ä¿‚å…¥åŠ›ç®¡ç�†";
             this.lblAffairsTitle03.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -6752,7 +6752,7 @@
             this.lblAffairs04.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblAffairs04.Location = new System.Drawing.Point(3, 468);
             this.lblAffairs04.Name = "lblAffairs04";
-            this.lblAffairs04.Size = new System.Drawing.Size(89, 36);
+            this.lblAffairs04.Size = new System.Drawing.Size(87, 36);
             this.lblAffairs04.TabIndex = 19;
             this.lblAffairs04.Text = "æ¯Žæœˆ";
             this.lblAffairs04.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -6764,7 +6764,7 @@
             this.tblLayoutAffairs.SetColumnSpan(this.lblAffairsLine03, 10);
             this.lblAffairsLine03.Location = new System.Drawing.Point(3, 555);
             this.lblAffairsLine03.Name = "lblAffairsLine03";
-            this.lblAffairsLine03.Size = new System.Drawing.Size(1052, 6);
+            this.lblAffairsLine03.Size = new System.Drawing.Size(1035, 6);
             this.lblAffairsLine03.TabIndex = 20;
             // 
             // lblAffairsTitle04
@@ -6774,9 +6774,9 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.lblAffairsTitle04.AutoSize = true;
             this.lblAffairsTitle04.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.lblAffairsTitle04.Location = new System.Drawing.Point(98, 576);
+            this.lblAffairsTitle04.Location = new System.Drawing.Point(96, 576);
             this.lblAffairsTitle04.Name = "lblAffairsTitle04";
-            this.lblAffairsTitle04.Size = new System.Drawing.Size(173, 36);
+            this.lblAffairsTitle04.Size = new System.Drawing.Size(170, 36);
             this.lblAffairsTitle04.TabIndex = 18;
             this.lblAffairsTitle04.Text = "ã��ã�®ä»–ç®¡ç�†";
             this.lblAffairsTitle04.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -6786,10 +6786,10 @@
             this.btnAffairs0500.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.btnAffairs0500.Location = new System.Drawing.Point(99, 615);
+            this.btnAffairs0500.Location = new System.Drawing.Point(97, 615);
             this.btnAffairs0500.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0500.Name = "btnAffairs0500";
-            this.btnAffairs0500.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0500.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0500.TabIndex = 0;
             this.btnAffairs0500.Text = "å‡ºç´�å¸³å…¥åŠ›";
             this.btnAffairs0500.UseVisualStyleBackColor = true;
@@ -6803,9 +6803,9 @@
             this.lblAffairs0402.AutoSize = true;
             this.lblAffairs0402.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblAffairs0402.ForeColor = System.Drawing.Color.Brown;
-            this.lblAffairs0402.Location = new System.Drawing.Point(98, 504);
+            this.lblAffairs0402.Location = new System.Drawing.Point(96, 504);
             this.lblAffairs0402.Name = "lblAffairs0402";
-            this.lblAffairs0402.Size = new System.Drawing.Size(173, 36);
+            this.lblAffairs0402.Size = new System.Drawing.Size(170, 36);
             this.lblAffairs0402.TabIndex = 18;
             this.lblAffairs0402.Text = "â€»åˆ°ç�€å¾Œé€Ÿã‚„ã�‹ã�«å…¥åŠ›";
             this.lblAffairs0402.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -6818,9 +6818,9 @@
             this.lblAffairs0403.AutoSize = true;
             this.lblAffairs0403.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblAffairs0403.ForeColor = System.Drawing.Color.Brown;
-            this.lblAffairs0403.Location = new System.Drawing.Point(292, 504);
+            this.lblAffairs0403.Location = new System.Drawing.Point(287, 504);
             this.lblAffairs0403.Name = "lblAffairs0403";
-            this.lblAffairs0403.Size = new System.Drawing.Size(173, 36);
+            this.lblAffairs0403.Size = new System.Drawing.Size(170, 36);
             this.lblAffairs0403.TabIndex = 18;
             this.lblAffairs0403.Text = "â€»åˆ°ç�€å¾Œé€Ÿã‚„ã�‹ã�«å…¥åŠ›";
             this.lblAffairs0403.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -6833,9 +6833,9 @@
             this.lblAffairs0404.AutoSize = true;
             this.lblAffairs0404.Font = new System.Drawing.Font("ï¼­ï¼³ æ˜Žæœ�", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblAffairs0404.ForeColor = System.Drawing.Color.Brown;
-            this.lblAffairs0404.Location = new System.Drawing.Point(874, 504);
+            this.lblAffairs0404.Location = new System.Drawing.Point(860, 504);
             this.lblAffairs0404.Name = "lblAffairs0404";
-            this.lblAffairs0404.Size = new System.Drawing.Size(181, 36);
+            this.lblAffairs0404.Size = new System.Drawing.Size(178, 36);
             this.lblAffairs0404.TabIndex = 18;
             this.lblAffairs0404.Text = "â€»åˆ°ç�€å¾Œé€Ÿã‚„ã�‹ã�«å…¥åŠ›";
             this.lblAffairs0404.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -6845,10 +6845,10 @@
             this.btnAffairs0501.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.btnAffairs0501.Location = new System.Drawing.Point(293, 615);
+            this.btnAffairs0501.Location = new System.Drawing.Point(288, 615);
             this.btnAffairs0501.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.btnAffairs0501.Name = "btnAffairs0501";
-            this.btnAffairs0501.Size = new System.Drawing.Size(171, 30);
+            this.btnAffairs0501.Size = new System.Drawing.Size(168, 30);
             this.btnAffairs0501.TabIndex = 0;
             this.btnAffairs0501.Text = "è³‡æ��ä¸€è¦§";
             this.btnAffairs0501.UseVisualStyleBackColor = true;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenu.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenu.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenu.cs	(revision 355)
@@ -552,7 +552,13 @@
                                                                         0,
                                                                         0,
                                                                         0
-                                                                    }
+                                                                    },
+                                                                    {(int)ClsExcute.ProcessExecuteNo.DepartmentCost,
+                                                                        0,
+                                                                        0,
+                                                                        0,
+                                                                        0
+                                                                    },
         };
         #endregion
 
@@ -843,7 +849,7 @@
         /// <summary>
         /// ãƒ¡ãƒ‹ãƒ¥ãƒ¼ä¸Šå…¨ã�¦ã�®ã‚°ãƒªãƒƒãƒ‰ãƒ�ãƒ³ãƒ‰ãƒ«
         /// </summary>
-        private DataGridView[] m_Alldgv = null;
+        private DataGridViewEX[] m_Alldgv = null;
         
         #region ã‚°ãƒªãƒƒãƒ‰å¹…ã‚µã‚¤ã‚º
         /// <summary>
@@ -1120,7 +1126,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
                 DataGridViewRow wrkRow = dgv.CurrentRow;
 
                 int iGridCnt = (int)TabNameEnum.MessageBoard;
@@ -1156,7 +1162,7 @@
         {
             try
             {
-                DataGridView dgv = (DataGridView)sender;
+                DataGridViewEX dgv = (DataGridViewEX)sender;
                 DataGridViewRow wrkRow = dgv.CurrentRow;
 
                 int iGridCnt = (int)TabNameEnum.BusinessMessage;
@@ -1477,7 +1483,7 @@
         {
             try
             {
-                DataGridView dgv = dgvActionSchedule;
+                DataGridViewEX dgv = dgvActionSchedule;
                 // å€‹äººè¡Œå‹•äºˆå®šä»¥å¤–ã�¯å‡¦ç�†ã�—ã�ªã�„
                 if (CommonMotions.chkCellBlank(dgv.CurrentRow.Cells[(int)ActionSchduleGridCount.PersonCode].Value))
                 {
@@ -1603,7 +1609,7 @@
         {
             try
             {
-                DataGridView dgv = dgvActionSchedule;
+                DataGridViewEX dgv = dgvActionSchedule;
                 // é�¸æŠžè¡Œã�Œè»Šä¸¡äºˆç´„ã�§ã�¯ç„¡ã�‘ã‚Œã�°å‡¦ç�†ã�—ã�ªã�„
                 if (CommonMotions.chkCellBlank(dgv.CurrentRow.Cells[(int)ActionSchduleGridCount.VehicleCode].Value))
                 {
@@ -1732,7 +1738,7 @@
         {
             try
             {
-                DataGridView dgv = dgvStaffAssignment;
+                DataGridViewEX dgv = dgvStaffAssignment;
                 // ã‚«ãƒ©ãƒ ä½�ç½®å�–å¾—
                 int iColumnCnt = e.ColumnIndex;
                 int iStartCnt = 0;
@@ -1841,7 +1847,7 @@
         {
             try
             {
-                DataGridView dgv = dgvStaffAssignment;
+                DataGridViewEX dgv = dgvStaffAssignment;
 
                 // ãƒ©ãƒ™ãƒ«ã�®ã‚»ãƒƒãƒˆ
                 Rectangle rect = e.CellBounds;
@@ -1891,7 +1897,7 @@
             if (ActiveControl.Name.Equals(btnEnd.Name)) return;
             if (m_bEndingFlg) return;
 
-            DataGridView dgv = (DataGridView)sender;
+            DataGridViewEX dgv = (DataGridViewEX)sender;
             dgv.SuspendLayout();
             try
             {
@@ -2469,7 +2475,7 @@
         /// <param name="e"></param>
         private void GridHeader_ColumnHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e)
         {
-            GridBlankRowRemove((DataGridView)sender);
+            GridBlankRowRemove((DataGridViewEX)sender);
         }
         #endregion
     }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenuAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenuAuxiliary.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenuAuxiliary.cs	(revision 355)
@@ -1797,7 +1797,7 @@
         #endregion
 
         #region ã‚°ãƒªãƒƒãƒ‰ã‚½ãƒ¼ãƒˆå®Ÿè¡Œ
-        private void GridSortExcute(DataGridView ExeGrid)
+        private void GridSortExcute(DataGridViewEX ExeGrid)
         {
             try
             {
@@ -1822,7 +1822,7 @@
         /// <summary>
         /// ã‚½ãƒ¼ãƒˆé€€é�¿ã‚¨ãƒªã‚¢ã�®ã‚¯ãƒªã‚¢
         /// </summary>
-        private void ClearGridSortStatus(DataGridView ClearGrid)
+        private void ClearGridSortStatus(DataGridViewEX ClearGrid)
         {
             // å‰�ã�«ã‚½ãƒ¼ãƒˆã�—ã�¦ã�„ã�Ÿã‚‰ã‚°ãƒªãƒƒãƒ‰ã‚½ãƒ¼ãƒˆã�®ã‚¯ãƒªã‚¢
             DataGridViewColumn oldColumn = ClearGrid.SortedColumn;
@@ -1838,7 +1838,7 @@
         /// <summary>
         /// ã‚°ãƒªãƒƒãƒ‰ã‚½ãƒ¼ãƒˆçŠ¶æ…‹ã�®é€€é�¿
         /// </summary>
-        private void GetGridSortStatus(DataGridView GetGrid)
+        private void GetGridSortStatus(DataGridViewEX GetGrid)
         {
             // ã‚½ãƒ¼ãƒˆçŠ¶æ…‹
             if (GetGrid.SortedColumn != null)
@@ -1888,7 +1888,7 @@
                 // ã‚°ãƒªãƒƒãƒ‰ã�®æƒ…å ±ã‚’å�–å¾—ã�™ã‚‹(ã‚¿ãƒ–æ•°åˆ†ç¢ºä¿�ã�™ã‚‹)
                 //int AllTabCount = Enum.GetNames(typeof(TabNameEnum)).Length;
                 int AllTabCount = tabMenu.TabCount;
-                m_Alldgv = new DataGridView[AllTabCount];
+                m_Alldgv = new DataGridViewEX[AllTabCount];
                 m_GridWidthSize = new int[AllTabCount];
 
                 Array.Clear(m_Alldgv, 0, m_Alldgv.Length);
@@ -1980,7 +1980,7 @@
                 // ã‚»ãƒ«ã‚µã‚¤ã‚ºå�–å¾—
                 int MaxCelCount = 0;
                 // ä¸€ç•ªå¤šã�„ã‚°ãƒªãƒƒãƒ‰ã�«å�ˆã‚�ã�›ã‚‹
-                foreach (DataGridView dgv in m_Alldgv)
+                foreach (DataGridViewEX dgv in m_Alldgv)
                 {
                     if (dgv == null) continue;
                     if (MaxCelCount < dgv.ColumnCount) MaxCelCount = dgv.ColumnCount;
@@ -2419,7 +2419,7 @@
         {
             try
             {
-                DataGridView dgv = dgvMessageBoard;
+                DataGridViewEX dgv = dgvMessageBoard;
                 if (exeflg != (int)TabNameEnum.MessageBoard) dgv = dgvBusinessMessage;
 
                 string strDateTime = string.Format("{0} {1}:{2}", wrkRow.WritingDate.ToShortDateString()
@@ -2539,7 +2539,7 @@
         {
             IOMessageBoardData mbdDB = new IOMessageBoardData();
 
-            DataGridView dgv = dgvMessageBoard;
+            DataGridViewEX dgv = dgvMessageBoard;
             try
             {
                 TabPage tabpage = tabPage2;
@@ -2797,7 +2797,7 @@
         /// </summary>
         private void DispConstrApp()
         {
-            DataGridView dgv = dgvApproval;
+            DataGridViewEX dgv = dgvApproval;
             try
             {
                 // è¡Œã‚¯ãƒªã‚¢
@@ -2905,7 +2905,7 @@
         {
             try
             {
-                DataGridView dgv = dgvApproval;
+                DataGridViewEX dgv = dgvApproval;
                 bool bFirst = true;
                 int CurRowCnt = 0;
 
@@ -3041,7 +3041,7 @@
         /// </summary>
         private void DispPersonApp()
         {
-            DataGridView dgv = dgvPersonApp;
+            DataGridViewEX dgv = dgvPersonApp;
             try
             {
                 dgv.Rows.Clear();
@@ -3330,7 +3330,7 @@
         {
             try
             {
-                DataGridView dgv = dgvPersonApp;
+                DataGridViewEX dgv = dgvPersonApp;
 
                 // å…ˆé ­ãƒ¬ã‚³ãƒ¼ãƒ‰ã‚’å�–å¾—
                 object[] objwrk = (object[])BufferList[0];
@@ -4687,7 +4687,7 @@
         private void ConstructionTotalCalc()
         {
             IOConstructionBaseInfo BaseDB = new IOConstructionBaseInfo();
-            DataGridView dgv = dgvOrderTotal;
+            DataGridViewEX dgv = dgvOrderTotal;
             try
             {
                 StringBuilder strSQL = new StringBuilder();
@@ -5224,7 +5224,7 @@
         {
             IOConstructionBaseInfo cbiDB = new IOConstructionBaseInfo();
             IOMPersonInCharge picDB = new IOMPersonInCharge();
-            DataGridView dgv = dgvNonOrders;
+            DataGridViewEX dgv = dgvNonOrders;
             dgv.SuspendLayout();
             try
             {
@@ -5438,7 +5438,7 @@
         {
             IOConstructionBaseInfo cbiDB = new IOConstructionBaseInfo();
             IOMPersonInCharge picDB = new IOMPersonInCharge();
-            DataGridView dgv = dgvCompletionOfConstruction;
+            DataGridViewEX dgv = dgvCompletionOfConstruction;
             try
             {
                 // å·¥äº‹æ¤œç´¢æ™‚ã�¯æ¤œç´¢ç”»é�¢ã�®å€¤ã‚’ã‚»ãƒƒãƒˆã�™ã‚‹
@@ -5598,7 +5598,7 @@
         {
             try
             {
-                DataGridView dgv = dgvCompletionOfConstruction;
+                DataGridViewEX dgv = dgvCompletionOfConstruction;
                 dgv.SuspendLayout();
 
                 // ãƒ‡ãƒ¼ã‚¿è¡¨ç¤º
@@ -5614,9 +5614,9 @@
                 int DBCnt = Enum.GetNames(typeof(DBColumn4)).Length;
                 int BreakConstructionCode = 0;
 
-                int objCnt = Enum.GetNames(typeof(IOConstructionBaseInfo.TableColumn)).Length;
-                object[] wrkobj = new object[objCnt];
-                int offset = DBCnt + objCnt + 1;
+                int objBaseCnt = Enum.GetNames(typeof(IOConstructionBaseInfo.TableColumn)).Length;
+                object[] wrkobj = new object[objBaseCnt];
+                int offset = DBCnt + objBaseCnt + 1;
                 ConstructionBaseInfo wrkRec = new ConstructionBaseInfo();
                 PeriodAvoidance wrkAvoRec = new PeriodAvoidance();
 
@@ -5649,7 +5649,7 @@
 
                     // ãƒ‡ãƒ¼ã‚¿ã‚’å·¥äº‹æƒ…å ±ã�®ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆã�«è©°ã‚�ã�ªã�Šã�™
                     Array.Clear(wrkobj, 0, wrkobj.Length);
-                    for (int i = 0; i < objCnt; i++)
+                    for (int i = 0; i < objBaseCnt; i++)
                     {
                         wrkobj[i] = DataRec[i + DBCnt];
                     }
@@ -6611,7 +6611,7 @@
             try
             {
                 int DspRowCnt = 0;
-                DataGridView dgv = dgvActionSchedule;
+                DataGridViewEX dgv = dgvActionSchedule;
                 // ã‚¯ãƒªã‚¢ã�™ã‚‹
                 ClearActionList();
 
@@ -6760,7 +6760,7 @@
         {
             try
             {
-                DataGridView dgv = dgvActionSchedule;
+                DataGridViewEX dgv = dgvActionSchedule;
 
                 for (int ix = 0; ix < ColumnCount; ix++)
                 {
@@ -6785,7 +6785,7 @@
         {
             try
             {
-                DataGridView dgv = dgvActionSchedule;
+                DataGridViewEX dgv = dgvActionSchedule;
 
                 bool bFirst = true;
                 DateTime BreakDate = DateTime.MinValue;
@@ -6841,7 +6841,7 @@
         {
             try
             {
-                DataGridView dgv = dgvActionSchedule;
+                DataGridViewEX dgv = dgvActionSchedule;
 
                 bool bFirst = true;
                 DateTime BreakDate = DateTime.MinValue;
@@ -6903,7 +6903,7 @@
             IOActionScheduleData asdDB = new IOActionScheduleData();
             try
             {
-                DataGridView dgv = dgvActionSchedule;
+                DataGridViewEX dgv = dgvActionSchedule;
                 int DspRowCnt = 0;
 
                 // æœ€åˆ�ã�®æ—¥ã‚’æ±‚ã‚�ã‚‹
@@ -7170,7 +7170,7 @@
                 ArrayList vcList = new ArrayList();
                 if (!vcDB.ExecuteReader(strSQL, ref vcList)) return;
 
-                DataGridView dgv = dgvActionSchedule;
+                DataGridViewEX dgv = dgvActionSchedule;
                 // 1ã‚«æœˆåˆ†å‡¦ç�†ã�™ã‚‹
                 int ColCnt = dgv.ColumnCount - (int)ActionSchduleGridCount.Days1;
 
@@ -7280,7 +7280,7 @@
             try
             {
                 int iRet = 0;
-                DataGridView dgv = dgvStaffAssignment;
+                DataGridViewEX dgv = dgvStaffAssignment;
                 // å›ºå®šã‚«ãƒ©ãƒ æ•°å�–å¾—
                 int fixcnt = Enum.GetNames(typeof(StaffAssignmentGridCount)).Length - 1;
                 if (fixcnt > dgv.ColumnCount) return 0;
@@ -7383,7 +7383,7 @@
         /// </summary>
         /// <param name="e"></param>
         /// <param name="dgv"></param>
-        private void GridDisplayDetail(DataGridViewCellPaintingEventArgs e, DataGridView dgv)
+        private void GridDisplayDetail(DataGridViewCellPaintingEventArgs e, DataGridViewEX dgv)
         {
             try
             {
@@ -7549,7 +7549,7 @@
             int HDisplayCnt = -1;
             int VDisplayCnt = -1;
 
-            DataGridView dgv = dgvStaffAssignment;
+            DataGridViewEX dgv = dgvStaffAssignment;
             try
             {
                 // ã‚¹ã‚¯ãƒ­ãƒ¼ãƒ«ç�¾åœ¨å€¤å�–å¾—
@@ -8401,7 +8401,7 @@
         /// <summary>
         /// ã‚°ãƒªãƒƒãƒ‰ãƒ˜ãƒƒãƒ€ãƒ¼ã‚¯ãƒªãƒƒã‚¯æ™‚ã�«ç©ºè¡Œã‚’å‰Šé™¤ã�™ã‚‹
         /// </summary>
-        private void GridBlankRowRemove(DataGridView dgv)
+        private void GridBlankRowRemove(DataGridViewEX dgv)
         {
             try
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenuEvent.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenuEvent.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/ZMenu/FrmMenuEvent.cs	(revision 355)
@@ -583,6 +583,10 @@
                         switch (ColCnt)
                         {
                             case 1:
+                                #region éƒ¨ç½²å‡ºç´�å¸³
+                                // éƒ¨ç½²å‡ºç´�å¸³
+                                NowPoint = ClsExcute.NextProcess((int)ClsExcute.ProcessExecuteNo.DepartmentCost);
+                                #endregion
                                 break;
                             case 3:
                                 break;
Index: branches/src/ProcessManagement/ProcessManagement/ProcessManagement.csproj
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/ProcessManagement.csproj	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/ProcessManagement.csproj	(revision 355)
@@ -149,6 +149,7 @@
     <Compile Include="DataModel\CommonCostMiddle.cs" />
     <Compile Include="DataModel\CommonCostMiddleSearchWord.cs" />
     <Compile Include="DataModel\ConstrLedgerExpenses.cs" />
+    <Compile Include="DataModel\CostDataOfDepartment.cs" />
     <Compile Include="DataModel\DepartmentCostData.cs" />
     <Compile Include="DataModel\BudgetSumCode.cs" />
     <Compile Include="DataModel\PersonExpensesCost.cs" />
@@ -227,6 +228,7 @@
     <Compile Include="DB\IOAccess\IOAttendanceData.cs" />
     <Compile Include="DB\IOAccess\IOBankBusinessDayMaster.cs" />
     <Compile Include="DB\IOAccess\IOConstrLedgerExpenses.cs" />
+    <Compile Include="DB\IOAccess\IOCostDataOfDepartment.cs" />
     <Compile Include="DB\IOAccess\IODepartmentCostData.cs" />
     <Compile Include="DB\IOAccess\IODirectAccess.cs" />
     <Compile Include="DB\IOAccess\IOBillingData.cs" />
@@ -345,13 +347,13 @@
     <Compile Include="Forms\DataEntry\CostomerRegist\PrintFormat.cs">
       <SubType>Form</SubType>
     </Compile>
-    <Compile Include="Forms\DataEntry\DepartmentCost\FrmDepartmentCostList.cs">
+    <Compile Include="Forms\DataEntry\DepartmentCost\FrmDepartmentCost.cs">
       <SubType>Form</SubType>
     </Compile>
-    <Compile Include="Forms\DataEntry\DepartmentCost\FrmDepartmentCostList.designer.cs">
-      <DependentUpon>FrmDepartmentCostList.cs</DependentUpon>
+    <Compile Include="Forms\DataEntry\DepartmentCost\FrmDepartmentCost.designer.cs">
+      <DependentUpon>FrmDepartmentCost.cs</DependentUpon>
     </Compile>
-    <Compile Include="Forms\DataEntry\DepartmentCost\FrmDepartmentCostListAux.cs">
+    <Compile Include="Forms\DataEntry\DepartmentCost\FrmDepartmentCostAux.cs">
       <SubType>Form</SubType>
     </Compile>
     <Compile Include="Forms\DataEntry\DepExpenssList\FrmDepExpenssList.cs">
@@ -1102,12 +1104,6 @@
     <Compile Include="Forms\DataEntry\PurchaseOrderPrint\ProcessControl.cs">
       <SubType>Form</SubType>
     </Compile>
-    <Compile Include="Forms\Master\AlwaysEmployment\AlwaysEmployment.cs">
-      <SubType>Form</SubType>
-    </Compile>
-    <Compile Include="Forms\Master\AlwaysEmployment\AlwaysEmployment.designer.cs">
-      <DependentUpon>AlwaysEmployment.cs</DependentUpon>
-    </Compile>
     <Compile Include="Forms\Master\Component\FrmComponent.cs">
       <SubType>Form</SubType>
     </Compile>
@@ -1152,7 +1148,6 @@
     </Compile>
     <Compile Include="Forms\DataEntry\EstimatePrint\FrmEstimatePrintAuxiliary.cs" />
     <Compile Include="Forms\ControlsAction\ComboBoxAction.cs" />
-    <Compile Include="Forms\ControlsAction\DataGridViewAction.cs" />
     <Compile Include="Forms\CustomControls\DataGridViewEX.cs">
       <SubType>Component</SubType>
     </Compile>
@@ -1480,8 +1475,8 @@
     <EmbeddedResource Include="Forms\DataEntry\CostomerRegist\FrmCostomerRegistList.resx">
       <DependentUpon>FrmCostomerRegistList.cs</DependentUpon>
     </EmbeddedResource>
-    <EmbeddedResource Include="Forms\DataEntry\DepartmentCost\FrmDepartmentCostList.resx">
-      <DependentUpon>FrmDepartmentCostList.cs</DependentUpon>
+    <EmbeddedResource Include="Forms\DataEntry\DepartmentCost\FrmDepartmentCost.resx">
+      <DependentUpon>FrmDepartmentCost.cs</DependentUpon>
     </EmbeddedResource>
     <EmbeddedResource Include="Forms\DataEntry\DepExpenssList\FrmDepExpenssList.resx">
       <DependentUpon>FrmDepExpenssList.cs</DependentUpon>
@@ -1705,9 +1700,6 @@
     <EmbeddedResource Include="Forms\DataEntry\PurchaseOrderPrint\FrmPurchaseOrderPrint.resx">
       <DependentUpon>FrmPurchaseOrderPrint.cs</DependentUpon>
     </EmbeddedResource>
-    <EmbeddedResource Include="Forms\Master\AlwaysEmployment\AlwaysEmployment.resx">
-      <DependentUpon>AlwaysEmployment.cs</DependentUpon>
-    </EmbeddedResource>
     <EmbeddedResource Include="Forms\Master\Component\FrmComponent.resx">
       <DependentUpon>FrmComponent.cs</DependentUpon>
     </EmbeddedResource>
Index: branches/src/ProcessManagement/ProcessManagement/Properties/AssemblyInfo.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Properties/AssemblyInfo.cs	(revision 354)
+++ branches/src/ProcessManagement/ProcessManagement/Properties/AssemblyInfo.cs	(revision 355)
@@ -32,7 +32,7 @@
 // ã�™ã�¹ã�¦ã�®å€¤ã‚’æŒ‡å®šã�™ã‚‹ã�‹ã€�ä¸‹ã�®ã‚ˆã�†ã�« '*' ã‚’ä½¿ã�£ã�¦ãƒ“ãƒ«ãƒ‰ã�Šã‚ˆã�³ãƒªãƒ“ã‚¸ãƒ§ãƒ³ç•ªå�·ã‚’ 
 // æ—¢å®šå€¤ã�«ã�™ã‚‹ã�“ã�¨ã�Œã�§ã��ã�¾ã�™:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.1.206")]
-[assembly: AssemblyFileVersion("1.0.1.206")]
+[assembly: AssemblyVersion("1.0.1.208")]
+[assembly: AssemblyFileVersion("1.0.1.208")]
 // Log4netã‚’ä½¿ç”¨ã�™ã‚‹
 [assembly: log4net.Config.XmlConfigurator(ConfigFile = @"log4net.config", Watch = true)]
\ No newline at end of file
