Index: branches/src/ProcessManagement/ProcessManagement/Common/CommonMotions.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Common/CommonMotions.cs	(revision 180)
+++ branches/src/ProcessManagement/ProcessManagement/Common/CommonMotions.cs	(revision 181)
@@ -1806,16 +1806,35 @@
         {
             try
             {
-                int iYears = 0;
-                // 今期との差分を計算する
-                int diff = CommonMotions.SystemMasterData.BusinessPeriod - Period;
-                // 差分を使用して日付を作成する
-                DateTime wrkDate = DateTime.Now.AddYears(diff);
-                // 年を取得する
-                int iwrk = CommonMotions.cnvInt(CommonMotions.SystemMasterData.ConstructionBeginningDate.Substring(0, 2).ToString());
-                iYears = wrkDate.FiscalYear(iwrk);
+                int Beginning = 0;
+                int diffwork = 0;
+                int RetYears = 0;
+                string strwork = string.Empty;
 
-                return iYears;
+                // 現在期との差分を求める
+                diffwork = Period - CommonMotions.SystemMasterData.BusinessPeriod;
+
+                // 期首月を取得する
+                strwork = CommonMotions.SystemMasterData.BusinessBeginningDate;
+                strwork = strwork.Substring(0, strwork.IndexOf("/"));
+
+                // 期首月を数値変換
+                Beginning = CommonMotions.cnvInt(strwork);
+
+                // 年数を求める
+                DateTime dateWork = DateTime.Now;
+                int nowMounth = DateTime.Now.Month;
+                // 期首月を境に年度を計算する
+                int iYear = 0;
+                if (nowMounth < Beginning)
+                    iYear = dateWork.AddYears(-1).Year;
+                else
+                    iYear = dateWork.Year;
+
+                // ベース年を求める
+                RetYears = iYear + diffwork;
+
+                return RetYears;
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPurchaseOrder.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPurchaseOrder.cs	(revision 180)
+++ branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPurchaseOrder.cs	(revision 181)
@@ -88,34 +88,34 @@
             string strcmd = "SELECT";
 
             strcmd += " ConstructionCode";                                  // 工事番号
-            strcmd += ",SeqNo";                                             // 注文書枝番
-            strcmd += ",CompanyCode";                                       // 協力会社コード
-            strcmd += ",DATE_FORMAT(CreateDate, '%Y/%m/%d')";                 // 作成日付
-            strcmd += ",OrderPrice";                                        // 発注金額
-            strcmd += ",DATE_FORMAT(LastRowStringDate, '%Y/%m/%d')";          // 最終行表示文字
+            strcmd += ", SeqNo";                                             // 注文書枝番
+            strcmd += ", CompanyCode";                                       // 協力会社コード
+            strcmd += ", DATE_FORMAT(CreateDate, '%Y/%m/%d')";                 // 作成日付
+            strcmd += ", OrderPrice";                                        // 発注金額
+            strcmd += ", DATE_FORMAT(LastRowStringDate, '%Y/%m/%d')";          // 最終行表示文字
 
-            strcmd += ",OrderSheetType";                                    // 簡易・本式フラグ
-            strcmd += ",PaymentTerms";                                      // 支払い条件
-            strcmd += ",CashRatio";                                         // 現金割合（％）
-            strcmd += ",BillPeriod";                                        // 手形期間
+            strcmd += ", OrderSheetType";                                    // 簡易・本式フラグ
+            strcmd += ", PaymentTerms";                                      // 支払い条件
+            strcmd += ", CashRatio";                                         // 現金割合（％）
+            strcmd += ", BillPeriod";                                        // 手形期間
 
-            strcmd += ",PrePayments";                                       // 前金払
-            strcmd += ",PrePaymentsDays";                                   // 前金払日数
-            strcmd += ",PrePaymentsPrice";                                  // 前金払金額
-            strcmd += ",PartialPayment";                                    // 部分払
-            strcmd += ",PartialPaymentMounth";                              // 部分払締切月
-            strcmd += ",PartialPaymentDay1";                                // 部分払締切日
-            strcmd += ",PartialPaymentDay2";                                // 部分払支払日
-            strcmd += ",PartialPaymentPrice";                               // 部分払金額
-            strcmd += ",CompletionPayment";                                 // 引渡し時の支払
-            strcmd += ",CompletionPaymentDays";                             // 引渡し時の支払日数
-            strcmd += ",CompletionPaymentPrice";                            // 引渡し時の支払金額
-            strcmd += ",LeadEngineerCode";                                  // 主任技術者コード
-            strcmd += ",LeadEngineerName";                                  // 主任技術者名
-            strcmd += ",SafetyOfficerCode";                                 // 安全管理者コード
-            strcmd += ",SafetyOfficerName";                                 // 安全管理者名
-            strcmd += ",WorkersCount";                                      // 作業員数
-            strcmd += ",DATE_FORMAT(PrintoutDate, '%Y/%m/%d')";               // 印刷年月日
+            strcmd += ", PrePayments";                                       // 前金払
+            strcmd += ", PrePaymentsDays";                                   // 前金払日数
+            strcmd += ", PrePaymentsPrice";                                  // 前金払金額
+            strcmd += ", PartialPayment";                                    // 部分払
+            strcmd += ", PartialPaymentMounth";                              // 部分払締切月
+            strcmd += ", PartialPaymentDay1";                                // 部分払締切日
+            strcmd += ", PartialPaymentDay2";                                // 部分払支払日
+            strcmd += ", PartialPaymentPrice";                               // 部分払金額
+            strcmd += ", CompletionPayment";                                 // 引渡し時の支払
+            strcmd += ", CompletionPaymentDays";                             // 引渡し時の支払日数
+            strcmd += ", CompletionPaymentPrice";                            // 引渡し時の支払金額
+            strcmd += ", LeadEngineerCode";                                  // 主任技術者コード
+            strcmd += ", LeadEngineerName";                                  // 主任技術者名
+            strcmd += ", SafetyOfficerCode";                                 // 安全管理者コード
+            strcmd += ", SafetyOfficerName";                                 // 安全管理者名
+            strcmd += ", WorkersCount";                                      // 作業員数
+            strcmd += ", DATE_FORMAT(PrintoutDate, '%Y/%m/%d')";               // 印刷年月日
 
             strcmd += ", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')";
             strcmd += ", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')";
@@ -209,7 +209,7 @@
         /// <summary>
         /// 注文書データ追加（１件）
         /// </summary>
-        /// <param name="data">注文書データデータ</param>
+        /// <param name="data">注文書データ</param>
         /// <returns>true：成功 false：失敗</returns>
         public bool InsertAction(PurchaseOrder work, bool bConnect = true)
         {
@@ -283,7 +283,7 @@
         /// <summary>
         /// 注文書データ追加（複数）
         /// </summary>
-        /// <param name="data">注文書データデータ</param>
+        /// <param name="data">注文書データ</param>
         /// <returns>true：成功 false：失敗</returns>
         public bool InsertAction(List<PurchaseOrder> data, bool bConnect = true)
         {
@@ -365,7 +365,7 @@
         /// 注文書データ更新
         /// </summary>
         /// <param name="AddSQLString">更新条件SQL文字列</param>
-        /// <param name="data">注文書データデータ</param>
+        /// <param name="data">注文書データ</param>
         /// <returns>true：成功 false：失敗</returns>
         public bool UpdateAction(string AddSQLString, PurchaseOrder data, bool bConnect = true)
         {
@@ -434,7 +434,7 @@
         /// 注文書データ削除
         /// </summary>
         /// <param name="AddSQLString">削除条件SQL文字列</param>
-        /// <param name="data">注文書データデータ</param>
+        /// <param name="data">注文書データ</param>
         /// <returns>true：成功 false：失敗</returns>
         public bool DeleteAction(string AddSQLString, bool bConnect = true)
         {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfo.designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfo.designer.cs	(revision 180)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfo.designer.cs	(revision 181)
@@ -52,14 +52,11 @@
             this.txtInput07 = new System.Windows.Forms.TextBox();
             this.label6 = new System.Windows.Forms.Label();
             this.label8 = new System.Windows.Forms.Label();
-            this.comboBoxEX1 = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
-            this.cmbDisplayPerson = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
             this.label4 = new System.Windows.Forms.Label();
             this.panel2 = new System.Windows.Forms.Panel();
             this.rdbEstimateType2 = new System.Windows.Forms.RadioButton();
             this.rdbEstimateType3 = new System.Windows.Forms.RadioButton();
             this.rdbEstimateType1 = new System.Windows.Forms.RadioButton();
-            this.cmbConstructionType = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
             this.txtInput08 = new System.Windows.Forms.TextBox();
             this.btnSerchZip = new System.Windows.Forms.Button();
             this.label20 = new System.Windows.Forms.Label();
@@ -92,9 +89,7 @@
             this.label44 = new System.Windows.Forms.Label();
             this.label14 = new System.Windows.Forms.Label();
             this.label5 = new System.Windows.Forms.Label();
-            this.cmbOrdersDivision = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
             this.btnOrderer = new System.Windows.Forms.Button();
-            this.cmbDisplayOrderers = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
             this.txtInput05 = new System.Windows.Forms.TextBox();
             this.panel4 = new System.Windows.Forms.Panel();
             this.btnChangePrice = new System.Windows.Forms.Button();
@@ -104,24 +99,16 @@
             this.label97 = new System.Windows.Forms.Label();
             this.label39 = new System.Windows.Forms.Label();
             this.label30 = new System.Windows.Forms.Label();
-            this.txtInput28 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
             this.label27 = new System.Windows.Forms.Label();
-            this.txtInput25 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
             this.lblTransferDate = new System.Windows.Forms.Label();
             this.label36 = new System.Windows.Forms.Label();
-            this.cmbTransferConstruction = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
             this.txtInput26 = new System.Windows.Forms.TextBox();
             this.label10 = new System.Windows.Forms.Label();
             this.txtInput01 = new System.Windows.Forms.TextBox();
             this.label33 = new System.Windows.Forms.Label();
-            this.txtInput27 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
-            this.txtInput02 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
             this.label24 = new System.Windows.Forms.Label();
-            this.txtInput06 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
             this.label22 = new System.Windows.Forms.Label();
-            this.txtInput12 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
             this.label12 = new System.Windows.Forms.Label();
-            this.txtInput13 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
             this.label15 = new System.Windows.Forms.Label();
             this.label38 = new System.Windows.Forms.Label();
             this.label68 = new System.Windows.Forms.Label();
@@ -132,17 +119,12 @@
             this.label23 = new System.Windows.Forms.Label();
             this.label70 = new System.Windows.Forms.Label();
             this.label71 = new System.Windows.Forms.Label();
-            this.textBoxEX2 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
-            this.textBoxEX1 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
-            this.txtInput03 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
             this.label62 = new System.Windows.Forms.Label();
             this.label72 = new System.Windows.Forms.Label();
             this.label73 = new System.Windows.Forms.Label();
             this.label61 = new System.Windows.Forms.Label();
             this.label55 = new System.Windows.Forms.Label();
-            this.txtInput38 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
             this.label54 = new System.Windows.Forms.Label();
-            this.txtInput34 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
             this.label66 = new System.Windows.Forms.Label();
             this.label56 = new System.Windows.Forms.Label();
             this.label75 = new System.Windows.Forms.Label();
@@ -161,9 +143,6 @@
             this.btnFluctuation = new System.Windows.Forms.Button();
             this.rdbExistsFluctuation = new System.Windows.Forms.RadioButton();
             this.rdbNotFluctuation = new System.Windows.Forms.RadioButton();
-            this.comboBoxEX4 = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
-            this.comboBoxEX3 = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
-            this.cmbDisplayConstrSubPerson = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
             this.label46 = new System.Windows.Forms.Label();
             this.txtInput32 = new System.Windows.Forms.TextBox();
             this.label47 = new System.Windows.Forms.Label();
@@ -171,15 +150,8 @@
             this.txtInput31 = new System.Windows.Forms.TextBox();
             this.label41 = new System.Windows.Forms.Label();
             this.label50 = new System.Windows.Forms.Label();
-            this.textBoxEX3 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
-            this.txtInput35 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
             this.label25 = new System.Windows.Forms.Label();
-            this.txtInput04 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
             this.label42 = new System.Windows.Forms.Label();
-            this.textBoxEX5 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
-            this.textBoxEX4 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
-            this.txtInput29 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
-            this.txtInput30 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
             this.label81 = new System.Windows.Forms.Label();
             this.label82 = new System.Windows.Forms.Label();
             this.label77 = new System.Windows.Forms.Label();
@@ -188,9 +160,6 @@
             this.label67 = new System.Windows.Forms.Label();
             this.label79 = new System.Windows.Forms.Label();
             this.label31 = new System.Windows.Forms.Label();
-            this.cmbConstructionInstructor = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
-            this.comboBoxEX2 = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
-            this.cmbDisplayConstructionPerson = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
             this.label113 = new System.Windows.Forms.Label();
             this.label76 = new System.Windows.Forms.Label();
             this.label112 = new System.Windows.Forms.Label();
@@ -227,9 +196,6 @@
             this.label109 = new System.Windows.Forms.Label();
             this.label43 = new System.Windows.Forms.Label();
             this.label45 = new System.Windows.Forms.Label();
-            this.textBoxEX10 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
-            this.textBoxEX9 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
-            this.textBoxEX8 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
             this.label59 = new System.Windows.Forms.Label();
             this.panel9 = new System.Windows.Forms.Panel();
             this.label98 = new System.Windows.Forms.Label();
@@ -249,9 +215,6 @@
             this.label87 = new System.Windows.Forms.Label();
             this.label60 = new System.Windows.Forms.Label();
             this.label86 = new System.Windows.Forms.Label();
-            this.textBoxEX6 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
-            this.txtInput36 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
-            this.txtInput37 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
             this.label2 = new System.Windows.Forms.Label();
             this.rdbStatusHikitugiFlg = new System.Windows.Forms.RadioButton();
             this.lblConstructionCodelabel = new System.Windows.Forms.Label();
@@ -282,11 +245,48 @@
             this.label29 = new System.Windows.Forms.Label();
             this.lblLastUpdate = new System.Windows.Forms.Label();
             this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
-            this.cmbConstructionPeriod = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
-            this.cmbConstructionYear = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
             this.btnApprovalList = new System.Windows.Forms.Button();
             this.btnOtherProc = new System.Windows.Forms.Button();
             this.lblJointLabel = new System.Windows.Forms.Label();
+            this.comboBoxEX1 = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
+            this.cmbDisplayPerson = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
+            this.cmbConstructionType = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
+            this.cmbOrdersDivision = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
+            this.cmbDisplayOrderers = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
+            this.txtInput28 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.txtInput25 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.cmbTransferConstruction = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
+            this.txtInput27 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.txtInput02 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.txtInput06 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.txtInput12 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.txtInput13 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.textBoxEX2 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.textBoxEX1 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.txtInput03 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.txtInput38 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.txtInput34 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.comboBoxEX4 = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
+            this.comboBoxEX3 = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
+            this.cmbDisplayConstrSubPerson = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
+            this.textBoxEX3 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.txtInput35 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.txtInput04 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.textBoxEX5 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.textBoxEX4 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.txtInput29 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.txtInput30 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.cmbConstructionInstructor = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
+            this.comboBoxEX2 = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
+            this.cmbDisplayConstructionPerson = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
+            this.textBoxEX10 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.textBoxEX9 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.textBoxEX8 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.textBoxEX6 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.txtInput36 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.txtInput37 = new ProcessManagement.Forms.CustomControls.TextBoxEX();
+            this.cmbConstructionPeriod = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
+            this.cmbConstructionYear = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
             this.BasePanel.SuspendLayout();
             this.tableLayoutPanel2.SuspendLayout();
             this.panel1.SuspendLayout();
@@ -367,6 +367,7 @@
             | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
             this.BasePanel.AutoScroll = true;
+            this.BasePanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
             this.BasePanel.Controls.Add(this.tableLayoutPanel2);
             this.BasePanel.Location = new System.Drawing.Point(2, 168);
             this.BasePanel.Name = "BasePanel";
@@ -378,9 +379,9 @@
             this.tableLayoutPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
             this.tableLayoutPanel2.ColumnCount = 3;
-            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 49.6F));
-            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 0.8F));
-            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 49.6F));
+            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 49.7F));
+            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 0.6F));
+            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 49.7F));
             this.tableLayoutPanel2.Controls.Add(this.panel10, 2, 7);
             this.tableLayoutPanel2.Controls.Add(this.label35, 0, 6);
             this.tableLayoutPanel2.Controls.Add(this.label53, 0, 3);
@@ -404,7 +405,7 @@
             this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 10F));
             this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
             this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 1000F));
-            this.tableLayoutPanel2.Size = new System.Drawing.Size(1340, 3090);
+            this.tableLayoutPanel2.Size = new System.Drawing.Size(1320, 3090);
             this.tableLayoutPanel2.TabIndex = 1;
             // 
             // panel10
@@ -413,10 +414,11 @@
             | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
             this.panel10.BackColor = System.Drawing.Color.Moccasin;
+            this.panel10.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.panel10.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.panel10.Location = new System.Drawing.Point(677, 2113);
+            this.panel10.Location = new System.Drawing.Point(666, 2113);
             this.panel10.Name = "panel10";
-            this.panel10.Size = new System.Drawing.Size(660, 994);
+            this.panel10.Size = new System.Drawing.Size(651, 994);
             this.panel10.TabIndex = 185;
             // 
             // label35
@@ -427,7 +429,7 @@
             this.label35.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.label35.Location = new System.Drawing.Point(3, 2080);
             this.label35.Name = "label35";
-            this.label35.Size = new System.Drawing.Size(658, 30);
+            this.label35.Size = new System.Drawing.Size(650, 30);
             this.label35.TabIndex = 183;
             this.label35.Text = "請求/入金管理（完了時一括請求）";
             this.label35.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -440,7 +442,7 @@
             this.label53.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.label53.Location = new System.Drawing.Point(3, 1040);
             this.label53.Name = "label53";
-            this.label53.Size = new System.Drawing.Size(658, 30);
+            this.label53.Size = new System.Drawing.Size(650, 30);
             this.label53.TabIndex = 178;
             this.label53.Text = "施　　工　　管　　理";
             this.label53.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -451,9 +453,9 @@
             this.label63.BackColor = System.Drawing.Color.SkyBlue;
             this.label63.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label63.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label63.Location = new System.Drawing.Point(677, 0);
+            this.label63.Location = new System.Drawing.Point(666, 0);
             this.label63.Name = "label63";
-            this.label63.Size = new System.Drawing.Size(660, 30);
+            this.label63.Size = new System.Drawing.Size(651, 30);
             this.label63.TabIndex = 0;
             this.label63.Text = "受注（積算・見積もり）管理";
             this.label63.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -466,7 +468,7 @@
             this.label3.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.label3.Location = new System.Drawing.Point(3, 0);
             this.label3.Name = "label3";
-            this.label3.Size = new System.Drawing.Size(658, 30);
+            this.label3.Size = new System.Drawing.Size(650, 30);
             this.label3.TabIndex = 0;
             this.label3.Text = "工　　事　　情　　報";
             this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -477,6 +479,7 @@
             | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
             this.panel1.BackColor = System.Drawing.Color.RoyalBlue;
+            this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.panel1.Controls.Add(this.label114);
             this.panel1.Controls.Add(this.label115);
             this.panel1.Controls.Add(this.txtInput07);
@@ -524,7 +527,7 @@
             this.panel1.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.panel1.Location = new System.Drawing.Point(3, 33);
             this.panel1.Name = "panel1";
-            this.panel1.Size = new System.Drawing.Size(658, 994);
+            this.panel1.Size = new System.Drawing.Size(650, 994);
             this.panel1.TabIndex = 1;
             // 
             // label114
@@ -531,9 +534,9 @@
             // 
             this.label114.BackColor = System.Drawing.Color.CornflowerBlue;
             this.label114.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label114.Location = new System.Drawing.Point(379, 692);
+            this.label114.Location = new System.Drawing.Point(384, 692);
             this.label114.Name = "label114";
-            this.label114.Size = new System.Drawing.Size(250, 30);
+            this.label114.Size = new System.Drawing.Size(255, 30);
             this.label114.TabIndex = 175;
             this.label114.Text = "担　当　者";
             this.label114.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -544,7 +547,7 @@
             this.label115.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label115.Location = new System.Drawing.Point(129, 692);
             this.label115.Name = "label115";
-            this.label115.Size = new System.Drawing.Size(250, 30);
+            this.label115.Size = new System.Drawing.Size(255, 30);
             this.label115.TabIndex = 176;
             this.label115.Text = "部　　署";
             this.label115.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -558,7 +561,7 @@
             this.txtInput07.Location = new System.Drawing.Point(129, 3);
             this.txtInput07.MaxLength = 120;
             this.txtInput07.Name = "txtInput07";
-            this.txtInput07.Size = new System.Drawing.Size(528, 26);
+            this.txtInput07.Size = new System.Drawing.Size(507, 26);
             this.txtInput07.TabIndex = 2;
             this.txtInput07.TextChanged += new System.EventHandler(this.valueChange);
             this.txtInput07.Validated += new System.EventHandler(this.txtInput07_Validated);
@@ -588,29 +591,6 @@
             this.label8.Text = "工事場所";
             this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // comboBoxEX1
-            // 
-            this.comboBoxEX1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.comboBoxEX1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.comboBoxEX1.FormattingEnabled = true;
-            this.comboBoxEX1.Location = new System.Drawing.Point(129, 724);
-            this.comboBoxEX1.Name = "comboBoxEX1";
-            this.comboBoxEX1.Size = new System.Drawing.Size(250, 27);
-            this.comboBoxEX1.TabIndex = 22;
-            this.comboBoxEX1.SelectedIndexChanged += new System.EventHandler(this.comboBoxEX1_SelectedIndexChanged);
-            this.comboBoxEX1.TextChanged += new System.EventHandler(this.valueChange);
-            // 
-            // cmbDisplayPerson
-            // 
-            this.cmbDisplayPerson.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbDisplayPerson.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbDisplayPerson.FormattingEnabled = true;
-            this.cmbDisplayPerson.Location = new System.Drawing.Point(379, 724);
-            this.cmbDisplayPerson.Name = "cmbDisplayPerson";
-            this.cmbDisplayPerson.Size = new System.Drawing.Size(250, 27);
-            this.cmbDisplayPerson.TabIndex = 23;
-            this.cmbDisplayPerson.TextChanged += new System.EventHandler(this.valueChange);
-            // 
             // label4
             // 
             this.label4.BackColor = System.Drawing.Color.CornflowerBlue;
@@ -676,18 +656,6 @@
             this.rdbEstimateType1.UseVisualStyleBackColor = false;
             this.rdbEstimateType1.CheckedChanged += new System.EventHandler(this.valueChange);
             // 
-            // cmbConstructionType
-            // 
-            this.cmbConstructionType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbConstructionType.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbConstructionType.FormattingEnabled = true;
-            this.cmbConstructionType.Location = new System.Drawing.Point(129, 602);
-            this.cmbConstructionType.Name = "cmbConstructionType";
-            this.cmbConstructionType.Size = new System.Drawing.Size(300, 27);
-            this.cmbConstructionType.TabIndex = 21;
-            this.cmbConstructionType.SelectedIndexChanged += new System.EventHandler(this.cmbConstructionType_SelectedIndexChanged);
-            this.cmbConstructionType.TextChanged += new System.EventHandler(this.valueChange);
-            // 
             // txtInput08
             // 
             this.txtInput08.ImeMode = System.Windows.Forms.ImeMode.Disable;
@@ -743,7 +711,7 @@
             this.txtInput11.Location = new System.Drawing.Point(255, 123);
             this.txtInput11.MaxLength = 90;
             this.txtInput11.Name = "txtInput11";
-            this.txtInput11.Size = new System.Drawing.Size(402, 26);
+            this.txtInput11.Size = new System.Drawing.Size(381, 26);
             this.txtInput11.TabIndex = 6;
             this.txtInput11.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -757,7 +725,7 @@
             this.textBox1.MaxLength = 120;
             this.textBox1.Multiline = true;
             this.textBox1.Name = "textBox1";
-            this.textBox1.Size = new System.Drawing.Size(524, 54);
+            this.textBox1.Size = new System.Drawing.Size(507, 54);
             this.textBox1.TabIndex = 24;
             this.textBox1.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -782,7 +750,7 @@
             this.txtInput10.Location = new System.Drawing.Point(255, 93);
             this.txtInput10.MaxLength = 90;
             this.txtInput10.Name = "txtInput10";
-            this.txtInput10.Size = new System.Drawing.Size(402, 26);
+            this.txtInput10.Size = new System.Drawing.Size(381, 26);
             this.txtInput10.TabIndex = 5;
             this.txtInput10.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -828,7 +796,7 @@
             this.txtInput14.Location = new System.Drawing.Point(129, 245);
             this.txtInput14.MaxLength = 120;
             this.txtInput14.Name = "txtInput14";
-            this.txtInput14.Size = new System.Drawing.Size(528, 26);
+            this.txtInput14.Size = new System.Drawing.Size(507, 26);
             this.txtInput14.TabIndex = 10;
             this.txtInput14.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -840,7 +808,7 @@
             this.txtInput15.Location = new System.Drawing.Point(129, 275);
             this.txtInput15.MaxLength = 120;
             this.txtInput15.Name = "txtInput15";
-            this.txtInput15.Size = new System.Drawing.Size(528, 26);
+            this.txtInput15.Size = new System.Drawing.Size(507, 26);
             this.txtInput15.TabIndex = 11;
             this.txtInput15.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -852,7 +820,7 @@
             this.txtInput16.Location = new System.Drawing.Point(129, 305);
             this.txtInput16.MaxLength = 120;
             this.txtInput16.Name = "txtInput16";
-            this.txtInput16.Size = new System.Drawing.Size(528, 26);
+            this.txtInput16.Size = new System.Drawing.Size(507, 26);
             this.txtInput16.TabIndex = 12;
             this.txtInput16.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -864,7 +832,7 @@
             this.txtInput17.Location = new System.Drawing.Point(129, 335);
             this.txtInput17.MaxLength = 120;
             this.txtInput17.Name = "txtInput17";
-            this.txtInput17.Size = new System.Drawing.Size(528, 26);
+            this.txtInput17.Size = new System.Drawing.Size(507, 26);
             this.txtInput17.TabIndex = 13;
             this.txtInput17.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -876,7 +844,7 @@
             this.txtInput18.Location = new System.Drawing.Point(129, 365);
             this.txtInput18.MaxLength = 120;
             this.txtInput18.Name = "txtInput18";
-            this.txtInput18.Size = new System.Drawing.Size(528, 26);
+            this.txtInput18.Size = new System.Drawing.Size(507, 26);
             this.txtInput18.TabIndex = 14;
             this.txtInput18.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -900,7 +868,7 @@
             this.txtInput19.Location = new System.Drawing.Point(129, 395);
             this.txtInput19.MaxLength = 120;
             this.txtInput19.Name = "txtInput19";
-            this.txtInput19.Size = new System.Drawing.Size(528, 26);
+            this.txtInput19.Size = new System.Drawing.Size(507, 26);
             this.txtInput19.TabIndex = 15;
             this.txtInput19.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -912,7 +880,7 @@
             this.txtInput20.Location = new System.Drawing.Point(129, 425);
             this.txtInput20.MaxLength = 120;
             this.txtInput20.Name = "txtInput20";
-            this.txtInput20.Size = new System.Drawing.Size(528, 26);
+            this.txtInput20.Size = new System.Drawing.Size(507, 26);
             this.txtInput20.TabIndex = 16;
             this.txtInput20.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -936,7 +904,7 @@
             this.txtInput21.Location = new System.Drawing.Point(129, 455);
             this.txtInput21.MaxLength = 120;
             this.txtInput21.Name = "txtInput21";
-            this.txtInput21.Size = new System.Drawing.Size(528, 26);
+            this.txtInput21.Size = new System.Drawing.Size(507, 26);
             this.txtInput21.TabIndex = 17;
             this.txtInput21.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -948,7 +916,7 @@
             this.txtInput22.Location = new System.Drawing.Point(129, 485);
             this.txtInput22.MaxLength = 120;
             this.txtInput22.Name = "txtInput22";
-            this.txtInput22.Size = new System.Drawing.Size(528, 26);
+            this.txtInput22.Size = new System.Drawing.Size(507, 26);
             this.txtInput22.TabIndex = 18;
             this.txtInput22.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -972,7 +940,7 @@
             this.txtInput23.Location = new System.Drawing.Point(129, 515);
             this.txtInput23.MaxLength = 120;
             this.txtInput23.Name = "txtInput23";
-            this.txtInput23.Size = new System.Drawing.Size(528, 26);
+            this.txtInput23.Size = new System.Drawing.Size(507, 26);
             this.txtInput23.TabIndex = 19;
             this.txtInput23.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -984,7 +952,7 @@
             this.txtInput24.Location = new System.Drawing.Point(129, 544);
             this.txtInput24.MaxLength = 120;
             this.txtInput24.Name = "txtInput24";
-            this.txtInput24.Size = new System.Drawing.Size(528, 26);
+            this.txtInput24.Size = new System.Drawing.Size(507, 26);
             this.txtInput24.TabIndex = 20;
             this.txtInput24.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -1075,32 +1043,12 @@
             this.label5.Text = "発　注　者";
             this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // cmbOrdersDivision
-            // 
-            this.cmbOrdersDivision.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
-            | System.Windows.Forms.AnchorStyles.Right)));
-            this.cmbOrdersDivision.AutoCompleteCustomSource.AddRange(new string[] {
-            "株式会社",
-            "有限会社",
-            "合名会社",
-            "合資会社",
-            "合同会社"});
-            this.cmbOrdersDivision.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbOrdersDivision.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbOrdersDivision.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.cmbOrdersDivision.FormattingEnabled = true;
-            this.cmbOrdersDivision.Location = new System.Drawing.Point(129, 152);
-            this.cmbOrdersDivision.Name = "cmbOrdersDivision";
-            this.cmbOrdersDivision.Size = new System.Drawing.Size(528, 27);
-            this.cmbOrdersDivision.TabIndex = 7;
-            this.cmbOrdersDivision.SelectedIndexChanged += new System.EventHandler(this.cmbOrdersDivision_SelectedIndexChanged);
-            this.cmbOrdersDivision.TextChanged += new System.EventHandler(this.valueChange);
-            // 
             // btnOrderer
             // 
+            this.btnOrderer.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
             this.btnOrderer.BackColor = System.Drawing.Color.Gray;
             this.btnOrderer.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnOrderer.Location = new System.Drawing.Point(507, 182);
+            this.btnOrderer.Location = new System.Drawing.Point(516, 182);
             this.btnOrderer.Name = "btnOrderer";
             this.btnOrderer.Size = new System.Drawing.Size(120, 30);
             this.btnOrderer.TabIndex = 143;
@@ -1110,18 +1058,6 @@
             this.btnOrderer.Visible = false;
             this.btnOrderer.Click += new System.EventHandler(this.btnOrderer_Click);
             // 
-            // cmbDisplayOrderers
-            // 
-            this.cmbDisplayOrderers.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbDisplayOrderers.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbDisplayOrderers.FormattingEnabled = true;
-            this.cmbDisplayOrderers.Location = new System.Drawing.Point(129, 183);
-            this.cmbDisplayOrderers.Name = "cmbDisplayOrderers";
-            this.cmbDisplayOrderers.Size = new System.Drawing.Size(372, 27);
-            this.cmbDisplayOrderers.TabIndex = 8;
-            this.cmbDisplayOrderers.SelectedIndexChanged += new System.EventHandler(this.cmbDisplayOrderers_SelectedIndexChanged);
-            this.cmbDisplayOrderers.TextChanged += new System.EventHandler(this.valueChange);
-            // 
             // txtInput05
             // 
             this.txtInput05.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
@@ -1132,7 +1068,7 @@
             this.txtInput05.MaxLength = 120;
             this.txtInput05.Name = "txtInput05";
             this.txtInput05.ReadOnly = true;
-            this.txtInput05.Size = new System.Drawing.Size(528, 26);
+            this.txtInput05.Size = new System.Drawing.Size(507, 26);
             this.txtInput05.TabIndex = 9;
             this.txtInput05.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -1142,6 +1078,7 @@
             | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
             this.panel4.BackColor = System.Drawing.Color.SkyBlue;
+            this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.panel4.Controls.Add(this.btnChangePrice);
             this.panel4.Controls.Add(this.label101);
             this.panel4.Controls.Add(this.label100);
@@ -1199,9 +1136,9 @@
             this.panel4.Controls.Add(this.label32);
             this.panel4.Controls.Add(this.panel6);
             this.panel4.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.panel4.Location = new System.Drawing.Point(677, 33);
+            this.panel4.Location = new System.Drawing.Point(666, 33);
             this.panel4.Name = "panel4";
-            this.panel4.Size = new System.Drawing.Size(660, 994);
+            this.panel4.Size = new System.Drawing.Size(651, 994);
             this.panel4.TabIndex = 2;
             // 
             // btnChangePrice
@@ -1209,7 +1146,7 @@
             this.btnChangePrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
             this.btnChangePrice.BackColor = System.Drawing.Color.Gold;
             this.btnChangePrice.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnChangePrice.Location = new System.Drawing.Point(408, 138);
+            this.btnChangePrice.Location = new System.Drawing.Point(395, 138);
             this.btnChangePrice.Name = "btnChangePrice";
             this.btnChangePrice.Size = new System.Drawing.Size(120, 30);
             this.btnChangePrice.TabIndex = 192;
@@ -1287,21 +1224,6 @@
             this.label30.Text = "税込\r\n受注決定金額";
             this.label30.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // txtInput28
-            // 
-            this.txtInput28.BackColor = System.Drawing.Color.White;
-            this.txtInput28.Font = new System.Drawing.Font("ＭＳ 明朝", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.txtInput28.ForeColor = System.Drawing.Color.Black;
-            this.txtInput28.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput28.Location = new System.Drawing.Point(128, 104);
-            this.txtInput28.MaxLength = 10;
-            this.txtInput28.Name = "txtInput28";
-            this.txtInput28.Size = new System.Drawing.Size(274, 34);
-            this.txtInput28.TabIndex = 28;
-            this.txtInput28.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.txtInput28.TextChanged += new System.EventHandler(this.valueChange);
-            this.txtInput28.Validated += new System.EventHandler(this.txtInput25_Validated);
-            // 
             // label27
             // 
             this.label27.BackColor = System.Drawing.Color.MidnightBlue;
@@ -1315,21 +1237,6 @@
             this.label27.Text = "税別\r\n受注決定金額";
             this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // txtInput25
-            // 
-            this.txtInput25.BackColor = System.Drawing.Color.White;
-            this.txtInput25.Font = new System.Drawing.Font("ＭＳ 明朝", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.txtInput25.ForeColor = System.Drawing.Color.Black;
-            this.txtInput25.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput25.Location = new System.Drawing.Point(128, 64);
-            this.txtInput25.MaxLength = 10;
-            this.txtInput25.Name = "txtInput25";
-            this.txtInput25.Size = new System.Drawing.Size(274, 34);
-            this.txtInput25.TabIndex = 27;
-            this.txtInput25.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.txtInput25.TextChanged += new System.EventHandler(this.valueChange);
-            this.txtInput25.Validated += new System.EventHandler(this.txtInput25_Validated);
-            // 
             // lblTransferDate
             // 
             this.lblTransferDate.BackColor = System.Drawing.SystemColors.Window;
@@ -1352,18 +1259,6 @@
             this.label36.Text = "部署引継日";
             this.label36.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // cmbTransferConstruction
-            // 
-            this.cmbTransferConstruction.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbTransferConstruction.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbTransferConstruction.FormattingEnabled = true;
-            this.cmbTransferConstruction.Location = new System.Drawing.Point(128, 843);
-            this.cmbTransferConstruction.Name = "cmbTransferConstruction";
-            this.cmbTransferConstruction.Size = new System.Drawing.Size(300, 27);
-            this.cmbTransferConstruction.TabIndex = 39;
-            this.cmbTransferConstruction.SelectedIndexChanged += new System.EventHandler(this.cmbTransferConstruction_SelectedIndexChanged);
-            this.cmbTransferConstruction.TextChanged += new System.EventHandler(this.valueChange);
-            // 
             // txtInput26
             // 
             this.txtInput26.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
@@ -1374,7 +1269,7 @@
             this.txtInput26.MaxLength = 120;
             this.txtInput26.Multiline = true;
             this.txtInput26.Name = "txtInput26";
-            this.txtInput26.Size = new System.Drawing.Size(524, 54);
+            this.txtInput26.Size = new System.Drawing.Size(508, 54);
             this.txtInput26.TabIndex = 38;
             this.txtInput26.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -1414,29 +1309,6 @@
             this.label33.Text = "見積提出期限";
             this.label33.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // txtInput27
-            // 
-            this.txtInput27.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput27.Location = new System.Drawing.Point(128, 33);
-            this.txtInput27.MaxLength = 10;
-            this.txtInput27.Name = "txtInput27";
-            this.txtInput27.Size = new System.Drawing.Size(120, 26);
-            this.txtInput27.TabIndex = 26;
-            this.txtInput27.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.txtInput27.TextChanged += new System.EventHandler(this.valueChange);
-            // 
-            // txtInput02
-            // 
-            this.txtInput02.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput02.Location = new System.Drawing.Point(128, 182);
-            this.txtInput02.MaxLength = 10;
-            this.txtInput02.Name = "txtInput02";
-            this.txtInput02.Size = new System.Drawing.Size(120, 26);
-            this.txtInput02.TabIndex = 29;
-            this.txtInput02.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.txtInput02.TextChanged += new System.EventHandler(this.valueChange);
-            this.txtInput02.Validated += new System.EventHandler(this.txtInput02_TextChanged);
-            // 
             // label24
             // 
             this.label24.BackColor = System.Drawing.Color.LightBlue;
@@ -1449,18 +1321,6 @@
             this.label24.Text = "見積提出日";
             this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // txtInput06
-            // 
-            this.txtInput06.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput06.Location = new System.Drawing.Point(128, 212);
-            this.txtInput06.MaxLength = 10;
-            this.txtInput06.Name = "txtInput06";
-            this.txtInput06.Size = new System.Drawing.Size(120, 26);
-            this.txtInput06.TabIndex = 30;
-            this.txtInput06.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.txtInput06.TextChanged += new System.EventHandler(this.valueChange);
-            this.txtInput06.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
             // label22
             // 
             this.label22.BackColor = System.Drawing.Color.LightBlue;
@@ -1473,18 +1333,6 @@
             this.label22.Text = "見積有効期限";
             this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // txtInput12
-            // 
-            this.txtInput12.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput12.Location = new System.Drawing.Point(128, 302);
-            this.txtInput12.MaxLength = 10;
-            this.txtInput12.Name = "txtInput12";
-            this.txtInput12.Size = new System.Drawing.Size(120, 26);
-            this.txtInput12.TabIndex = 31;
-            this.txtInput12.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.txtInput12.TextChanged += new System.EventHandler(this.valueChange);
-            this.txtInput12.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
             // label12
             // 
             this.label12.BackColor = System.Drawing.Color.LightBlue;
@@ -1497,18 +1345,6 @@
             this.label12.Text = "工事期間　開始";
             this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // txtInput13
-            // 
-            this.txtInput13.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput13.Location = new System.Drawing.Point(128, 332);
-            this.txtInput13.MaxLength = 10;
-            this.txtInput13.Name = "txtInput13";
-            this.txtInput13.Size = new System.Drawing.Size(120, 26);
-            this.txtInput13.TabIndex = 32;
-            this.txtInput13.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.txtInput13.TextChanged += new System.EventHandler(this.valueChange);
-            this.txtInput13.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
             // label15
             // 
             this.label15.BackColor = System.Drawing.Color.LightBlue;
@@ -1631,42 +1467,6 @@
             this.label71.Text = "非受注日";
             this.label71.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // textBoxEX2
-            // 
-            this.textBoxEX2.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.textBoxEX2.Location = new System.Drawing.Point(128, 562);
-            this.textBoxEX2.MaxLength = 10;
-            this.textBoxEX2.Name = "textBoxEX2";
-            this.textBoxEX2.Size = new System.Drawing.Size(120, 26);
-            this.textBoxEX2.TabIndex = 35;
-            this.textBoxEX2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.textBoxEX2.TextChanged += new System.EventHandler(this.valueChange);
-            this.textBoxEX2.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
-            // textBoxEX1
-            // 
-            this.textBoxEX1.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.textBoxEX1.Location = new System.Drawing.Point(128, 502);
-            this.textBoxEX1.MaxLength = 10;
-            this.textBoxEX1.Name = "textBoxEX1";
-            this.textBoxEX1.Size = new System.Drawing.Size(120, 26);
-            this.textBoxEX1.TabIndex = 33;
-            this.textBoxEX1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.textBoxEX1.TextChanged += new System.EventHandler(this.valueChange);
-            this.textBoxEX1.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
-            // txtInput03
-            // 
-            this.txtInput03.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput03.Location = new System.Drawing.Point(128, 532);
-            this.txtInput03.MaxLength = 10;
-            this.txtInput03.Name = "txtInput03";
-            this.txtInput03.Size = new System.Drawing.Size(120, 26);
-            this.txtInput03.TabIndex = 34;
-            this.txtInput03.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.txtInput03.TextChanged += new System.EventHandler(this.valueChange);
-            this.txtInput03.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
             // label62
             // 
             this.label62.BackColor = System.Drawing.Color.Black;
@@ -1675,7 +1475,7 @@
             this.label62.ForeColor = System.Drawing.Color.Red;
             this.label62.Location = new System.Drawing.Point(254, 533);
             this.label62.Name = "label62";
-            this.label62.Size = new System.Drawing.Size(386, 25);
+            this.label62.Size = new System.Drawing.Size(387, 25);
             this.label62.TabIndex = 170;
             this.label62.Text = "※「受 注 日」は受注が確定した日を入力して下さい";
             this.label62.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -1688,7 +1488,7 @@
             this.label72.ForeColor = System.Drawing.Color.Red;
             this.label72.Location = new System.Drawing.Point(254, 503);
             this.label72.Name = "label72";
-            this.label72.Size = new System.Drawing.Size(386, 25);
+            this.label72.Size = new System.Drawing.Size(387, 25);
             this.label72.TabIndex = 171;
             this.label72.Text = "※「仮受注日」は仮受注が確定した日を入力して下さい";
             this.label72.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -1701,7 +1501,7 @@
             this.label73.ForeColor = System.Drawing.Color.Red;
             this.label73.Location = new System.Drawing.Point(254, 563);
             this.label73.Name = "label73";
-            this.label73.Size = new System.Drawing.Size(386, 25);
+            this.label73.Size = new System.Drawing.Size(387, 25);
             this.label73.TabIndex = 169;
             this.label73.Text = "※「非受注日」は非受注が確定した日を入力して下さい";
             this.label73.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -1727,23 +1527,11 @@
             this.label55.ForeColor = System.Drawing.Color.Red;
             this.label55.Location = new System.Drawing.Point(254, 630);
             this.label55.Name = "label55";
-            this.label55.Size = new System.Drawing.Size(386, 30);
+            this.label55.Size = new System.Drawing.Size(387, 30);
             this.label55.TabIndex = 173;
             this.label55.Text = "※「施工開始予定日」はおおよその工事開始日(現場着手時期)を\r\n「受注日」入力時に入力して下さい";
             this.label55.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
             // 
-            // txtInput38
-            // 
-            this.txtInput38.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput38.Location = new System.Drawing.Point(128, 632);
-            this.txtInput38.MaxLength = 10;
-            this.txtInput38.Name = "txtInput38";
-            this.txtInput38.Size = new System.Drawing.Size(120, 26);
-            this.txtInput38.TabIndex = 36;
-            this.txtInput38.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.txtInput38.TextChanged += new System.EventHandler(this.valueChange);
-            this.txtInput38.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
             // label54
             // 
             this.label54.BackColor = System.Drawing.Color.LightBlue;
@@ -1757,18 +1545,6 @@
             this.label54.Text = "受注時施工完了予定日";
             this.label54.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // txtInput34
-            // 
-            this.txtInput34.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput34.Location = new System.Drawing.Point(128, 662);
-            this.txtInput34.MaxLength = 10;
-            this.txtInput34.Name = "txtInput34";
-            this.txtInput34.Size = new System.Drawing.Size(120, 26);
-            this.txtInput34.TabIndex = 37;
-            this.txtInput34.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.txtInput34.TextChanged += new System.EventHandler(this.valueChange);
-            this.txtInput34.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
             // label66
             // 
             this.label66.BackColor = System.Drawing.Color.Black;
@@ -1777,7 +1553,7 @@
             this.label66.ForeColor = System.Drawing.Color.Red;
             this.label66.Location = new System.Drawing.Point(254, 660);
             this.label66.Name = "label66";
-            this.label66.Size = new System.Drawing.Size(386, 30);
+            this.label66.Size = new System.Drawing.Size(387, 30);
             this.label66.TabIndex = 177;
             this.label66.Text = "※「施工完了予定日」はおおよその工事完了日(現場完了時期)を\r\n「受注日」入力時に入力して下さい";
             this.label66.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -1790,7 +1566,7 @@
             this.label56.ForeColor = System.Drawing.Color.Red;
             this.label56.Location = new System.Drawing.Point(1, 690);
             this.label56.Name = "label56";
-            this.label56.Size = new System.Drawing.Size(641, 30);
+            this.label56.Size = new System.Drawing.Size(640, 30);
             this.label56.TabIndex = 178;
             this.label56.Text = "※「受注日」・「開始予定日」・「完了予定日」は人員配置状況に転記されますので必ず記入して下さい";
             this.label56.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -1924,6 +1700,7 @@
             | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
             this.panel7.BackColor = System.Drawing.Color.YellowGreen;
+            this.panel7.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.panel7.Controls.Add(this.lblFluctuationText);
             this.panel7.Controls.Add(this.pnlFluctuation);
             this.panel7.Controls.Add(this.comboBoxEX4);
@@ -1962,7 +1739,7 @@
             this.panel7.Controls.Add(this.label21);
             this.panel7.Location = new System.Drawing.Point(3, 1073);
             this.panel7.Name = "panel7";
-            this.panel7.Size = new System.Drawing.Size(658, 994);
+            this.panel7.Size = new System.Drawing.Size(650, 994);
             this.panel7.TabIndex = 179;
             // 
             // lblFluctuationText
@@ -1973,7 +1750,7 @@
             this.lblFluctuationText.ForeColor = System.Drawing.Color.Red;
             this.lblFluctuationText.Location = new System.Drawing.Point(0, 417);
             this.lblFluctuationText.Name = "lblFluctuationText";
-            this.lblFluctuationText.Size = new System.Drawing.Size(636, 30);
+            this.lblFluctuationText.Size = new System.Drawing.Size(640, 30);
             this.lblFluctuationText.TabIndex = 185;
             this.lblFluctuationText.Text = "※増減工事が発生した時点で増減工事有をチェックして下さい";
             this.lblFluctuationText.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -1986,7 +1763,7 @@
             this.pnlFluctuation.Controls.Add(this.rdbNotFluctuation);
             this.pnlFluctuation.Location = new System.Drawing.Point(0, 372);
             this.pnlFluctuation.Name = "pnlFluctuation";
-            this.pnlFluctuation.Size = new System.Drawing.Size(636, 44);
+            this.pnlFluctuation.Size = new System.Drawing.Size(639, 44);
             this.pnlFluctuation.TabIndex = 184;
             // 
             // btnFluctuation
@@ -2026,41 +1803,6 @@
             this.rdbNotFluctuation.UseVisualStyleBackColor = true;
             this.rdbNotFluctuation.CheckedChanged += new System.EventHandler(this.rdbFluctuation_CheckedChanged);
             // 
-            // comboBoxEX4
-            // 
-            this.comboBoxEX4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.comboBoxEX4.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.comboBoxEX4.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.comboBoxEX4.FormattingEnabled = true;
-            this.comboBoxEX4.Location = new System.Drawing.Point(129, 93);
-            this.comboBoxEX4.Name = "comboBoxEX4";
-            this.comboBoxEX4.Size = new System.Drawing.Size(250, 27);
-            this.comboBoxEX4.TabIndex = 44;
-            this.comboBoxEX4.SelectedIndexChanged += new System.EventHandler(this.comboBoxEX1_SelectedIndexChanged);
-            // 
-            // comboBoxEX3
-            // 
-            this.comboBoxEX3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.comboBoxEX3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.comboBoxEX3.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.comboBoxEX3.FormattingEnabled = true;
-            this.comboBoxEX3.Location = new System.Drawing.Point(129, 63);
-            this.comboBoxEX3.Name = "comboBoxEX3";
-            this.comboBoxEX3.Size = new System.Drawing.Size(250, 27);
-            this.comboBoxEX3.TabIndex = 42;
-            this.comboBoxEX3.SelectedIndexChanged += new System.EventHandler(this.comboBoxEX1_SelectedIndexChanged);
-            // 
-            // cmbDisplayConstrSubPerson
-            // 
-            this.cmbDisplayConstrSubPerson.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbDisplayConstrSubPerson.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbDisplayConstrSubPerson.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.cmbDisplayConstrSubPerson.FormattingEnabled = true;
-            this.cmbDisplayConstrSubPerson.Location = new System.Drawing.Point(379, 63);
-            this.cmbDisplayConstrSubPerson.Name = "cmbDisplayConstrSubPerson";
-            this.cmbDisplayConstrSubPerson.Size = new System.Drawing.Size(250, 27);
-            this.cmbDisplayConstrSubPerson.TabIndex = 43;
-            // 
             // label46
             // 
             this.label46.BackColor = System.Drawing.Color.Black;
@@ -2069,7 +1811,7 @@
             this.label46.ForeColor = System.Drawing.Color.Red;
             this.label46.Location = new System.Drawing.Point(257, 331);
             this.label46.Name = "label46";
-            this.label46.Size = new System.Drawing.Size(379, 30);
+            this.label46.Size = new System.Drawing.Size(382, 30);
             this.label46.TabIndex = 182;
             this.label46.Text = "※現場施工完了した日に施工完了をチェックすると\r\n自動で入力されます（直接入力も可能です）";
             this.label46.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -2084,7 +1826,7 @@
             this.txtInput32.MaxLength = 120;
             this.txtInput32.Multiline = true;
             this.txtInput32.Name = "txtInput32";
-            this.txtInput32.Size = new System.Drawing.Size(528, 54);
+            this.txtInput32.Size = new System.Drawing.Size(507, 54);
             this.txtInput32.TabIndex = 54;
             this.txtInput32.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -2108,7 +1850,7 @@
             this.label51.ForeColor = System.Drawing.Color.Red;
             this.label51.Location = new System.Drawing.Point(257, 301);
             this.label51.Name = "label51";
-            this.label51.Size = new System.Drawing.Size(379, 30);
+            this.label51.Size = new System.Drawing.Size(382, 30);
             this.label51.TabIndex = 181;
             this.label51.Text = "※現場着手した日に施工開始をチェックすると\r\n自動で入力されます（直接入力も可能です）";
             this.label51.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -2123,7 +1865,7 @@
             this.txtInput31.MaxLength = 120;
             this.txtInput31.Multiline = true;
             this.txtInput31.Name = "txtInput31";
-            this.txtInput31.Size = new System.Drawing.Size(528, 54);
+            this.txtInput31.Size = new System.Drawing.Size(507, 54);
             this.txtInput31.TabIndex = 53;
             this.txtInput31.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -2152,34 +1894,6 @@
             this.label50.Text = "施工開始日";
             this.label50.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // textBoxEX3
-            // 
-            this.textBoxEX3.Enabled = false;
-            this.textBoxEX3.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.textBoxEX3.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.textBoxEX3.Location = new System.Drawing.Point(129, 273);
-            this.textBoxEX3.MaxLength = 10;
-            this.textBoxEX3.Name = "textBoxEX3";
-            this.textBoxEX3.Size = new System.Drawing.Size(120, 26);
-            this.textBoxEX3.TabIndex = 50;
-            this.textBoxEX3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.textBoxEX3.TextChanged += new System.EventHandler(this.valueChange);
-            this.textBoxEX3.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
-            // txtInput35
-            // 
-            this.txtInput35.Enabled = false;
-            this.txtInput35.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.txtInput35.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput35.Location = new System.Drawing.Point(129, 303);
-            this.txtInput35.MaxLength = 10;
-            this.txtInput35.Name = "txtInput35";
-            this.txtInput35.Size = new System.Drawing.Size(120, 26);
-            this.txtInput35.TabIndex = 51;
-            this.txtInput35.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.txtInput35.TextChanged += new System.EventHandler(this.valueChange);
-            this.txtInput35.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
             // label25
             // 
             this.label25.BackColor = System.Drawing.Color.LightGreen;
@@ -2192,20 +1906,6 @@
             this.label25.Text = "施工完了日";
             this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // txtInput04
-            // 
-            this.txtInput04.Enabled = false;
-            this.txtInput04.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.txtInput04.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput04.Location = new System.Drawing.Point(129, 333);
-            this.txtInput04.MaxLength = 10;
-            this.txtInput04.Name = "txtInput04";
-            this.txtInput04.Size = new System.Drawing.Size(120, 26);
-            this.txtInput04.TabIndex = 52;
-            this.txtInput04.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.txtInput04.TextChanged += new System.EventHandler(this.valueChange);
-            this.txtInput04.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
             // label42
             // 
             this.label42.BackColor = System.Drawing.Color.Black;
@@ -2213,63 +1913,11 @@
             this.label42.ForeColor = System.Drawing.Color.Red;
             this.label42.Location = new System.Drawing.Point(161, 212);
             this.label42.Name = "label42";
-            this.label42.Size = new System.Drawing.Size(471, 40);
+            this.label42.Size = new System.Drawing.Size(478, 40);
             this.label42.TabIndex = 174;
             this.label42.Text = "※「着工」・「完成」は契約書に基づき記入して下さい\r\n（当社、発給の契約書・施工計画書に記載されます）";
             this.label42.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // textBoxEX5
-            // 
-            this.textBoxEX5.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold);
-            this.textBoxEX5.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.textBoxEX5.Location = new System.Drawing.Point(362, 183);
-            this.textBoxEX5.MaxLength = 10;
-            this.textBoxEX5.Name = "textBoxEX5";
-            this.textBoxEX5.Size = new System.Drawing.Size(120, 26);
-            this.textBoxEX5.TabIndex = 49;
-            this.textBoxEX5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.textBoxEX5.TextChanged += new System.EventHandler(this.valueChange);
-            this.textBoxEX5.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
-            // textBoxEX4
-            // 
-            this.textBoxEX4.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold);
-            this.textBoxEX4.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.textBoxEX4.Location = new System.Drawing.Point(362, 153);
-            this.textBoxEX4.MaxLength = 10;
-            this.textBoxEX4.Name = "textBoxEX4";
-            this.textBoxEX4.Size = new System.Drawing.Size(120, 26);
-            this.textBoxEX4.TabIndex = 47;
-            this.textBoxEX4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.textBoxEX4.TextChanged += new System.EventHandler(this.valueChange);
-            this.textBoxEX4.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
-            // txtInput29
-            // 
-            this.txtInput29.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold);
-            this.txtInput29.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput29.Location = new System.Drawing.Point(161, 153);
-            this.txtInput29.MaxLength = 10;
-            this.txtInput29.Name = "txtInput29";
-            this.txtInput29.Size = new System.Drawing.Size(120, 26);
-            this.txtInput29.TabIndex = 46;
-            this.txtInput29.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.txtInput29.TextChanged += new System.EventHandler(this.valueChange);
-            this.txtInput29.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
-            // txtInput30
-            // 
-            this.txtInput30.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold);
-            this.txtInput30.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput30.Location = new System.Drawing.Point(161, 183);
-            this.txtInput30.MaxLength = 10;
-            this.txtInput30.Name = "txtInput30";
-            this.txtInput30.Size = new System.Drawing.Size(120, 26);
-            this.txtInput30.TabIndex = 48;
-            this.txtInput30.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.txtInput30.TextChanged += new System.EventHandler(this.valueChange);
-            this.txtInput30.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
             // label81
             // 
             this.label81.BackColor = System.Drawing.Color.LightGreen;
@@ -2366,51 +2014,13 @@
             this.label31.Text = "工事指導";
             this.label31.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // cmbConstructionInstructor
-            // 
-            this.cmbConstructionInstructor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbConstructionInstructor.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbConstructionInstructor.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.cmbConstructionInstructor.FormattingEnabled = true;
-            this.cmbConstructionInstructor.Location = new System.Drawing.Point(379, 93);
-            this.cmbConstructionInstructor.Name = "cmbConstructionInstructor";
-            this.cmbConstructionInstructor.Size = new System.Drawing.Size(250, 27);
-            this.cmbConstructionInstructor.TabIndex = 45;
-            this.cmbConstructionInstructor.TextChanged += new System.EventHandler(this.valueChange);
-            // 
-            // comboBoxEX2
-            // 
-            this.comboBoxEX2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.comboBoxEX2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.comboBoxEX2.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.comboBoxEX2.FormattingEnabled = true;
-            this.comboBoxEX2.Location = new System.Drawing.Point(129, 33);
-            this.comboBoxEX2.Name = "comboBoxEX2";
-            this.comboBoxEX2.Size = new System.Drawing.Size(250, 27);
-            this.comboBoxEX2.TabIndex = 40;
-            this.comboBoxEX2.SelectedIndexChanged += new System.EventHandler(this.comboBoxEX1_SelectedIndexChanged);
-            this.comboBoxEX2.TextChanged += new System.EventHandler(this.valueChange);
-            // 
-            // cmbDisplayConstructionPerson
-            // 
-            this.cmbDisplayConstructionPerson.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbDisplayConstructionPerson.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbDisplayConstructionPerson.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.cmbDisplayConstructionPerson.FormattingEnabled = true;
-            this.cmbDisplayConstructionPerson.Location = new System.Drawing.Point(379, 33);
-            this.cmbDisplayConstructionPerson.Name = "cmbDisplayConstructionPerson";
-            this.cmbDisplayConstructionPerson.Size = new System.Drawing.Size(250, 27);
-            this.cmbDisplayConstructionPerson.TabIndex = 41;
-            this.cmbDisplayConstructionPerson.SelectedIndexChanged += new System.EventHandler(this.cmbDisplayConstructionPerson_SelectedIndexChanged);
-            this.cmbDisplayConstructionPerson.TextChanged += new System.EventHandler(this.valueChange);
-            // 
             // label113
             // 
             this.label113.BackColor = System.Drawing.Color.LightGreen;
             this.label113.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label113.Location = new System.Drawing.Point(379, 1);
+            this.label113.Location = new System.Drawing.Point(384, 1);
             this.label113.Name = "label113";
-            this.label113.Size = new System.Drawing.Size(250, 30);
+            this.label113.Size = new System.Drawing.Size(255, 30);
             this.label113.TabIndex = 16;
             this.label113.Text = "担　当　者";
             this.label113.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -2421,7 +2031,7 @@
             this.label76.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label76.Location = new System.Drawing.Point(129, 1);
             this.label76.Name = "label76";
-            this.label76.Size = new System.Drawing.Size(250, 30);
+            this.label76.Size = new System.Drawing.Size(255, 30);
             this.label76.TabIndex = 16;
             this.label76.Text = "部　　署";
             this.label76.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -2454,9 +2064,9 @@
             this.label40.BackColor = System.Drawing.Color.LawnGreen;
             this.label40.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label40.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label40.Location = new System.Drawing.Point(677, 1040);
+            this.label40.Location = new System.Drawing.Point(666, 1040);
             this.label40.Name = "label40";
-            this.label40.Size = new System.Drawing.Size(660, 30);
+            this.label40.Size = new System.Drawing.Size(651, 30);
             this.label40.TabIndex = 178;
             this.label40.Text = "施　　工　　管　　理";
             this.label40.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -2467,6 +2077,7 @@
             | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
             this.panel8.BackColor = System.Drawing.Color.LawnGreen;
+            this.panel8.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.panel8.Controls.Add(this.label118);
             this.panel8.Controls.Add(this.label117);
             this.panel8.Controls.Add(this.lblLinkTotal4);
@@ -2493,9 +2104,9 @@
             this.panel8.Controls.Add(this.textBoxEX10);
             this.panel8.Controls.Add(this.textBoxEX9);
             this.panel8.Controls.Add(this.textBoxEX8);
-            this.panel8.Location = new System.Drawing.Point(677, 1073);
+            this.panel8.Location = new System.Drawing.Point(666, 1073);
             this.panel8.Name = "panel8";
-            this.panel8.Size = new System.Drawing.Size(660, 994);
+            this.panel8.Size = new System.Drawing.Size(651, 994);
             this.panel8.TabIndex = 180;
             // 
             // label118
@@ -2526,7 +2137,7 @@
             this.lblLinkTotal4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
             this.lblLinkTotal4.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
             this.lblLinkTotal4.ForeColor = System.Drawing.Color.Black;
-            this.lblLinkTotal4.Location = new System.Drawing.Point(503, 421);
+            this.lblLinkTotal4.Location = new System.Drawing.Point(501, 421);
             this.lblLinkTotal4.Name = "lblLinkTotal4";
             this.lblLinkTotal4.Size = new System.Drawing.Size(120, 22);
             this.lblLinkTotal4.TabIndex = 189;
@@ -2538,7 +2149,7 @@
             this.lblLinkTotal3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
             this.lblLinkTotal3.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
             this.lblLinkTotal3.ForeColor = System.Drawing.Color.Black;
-            this.lblLinkTotal3.Location = new System.Drawing.Point(383, 421);
+            this.lblLinkTotal3.Location = new System.Drawing.Point(381, 421);
             this.lblLinkTotal3.Name = "lblLinkTotal3";
             this.lblLinkTotal3.Size = new System.Drawing.Size(120, 22);
             this.lblLinkTotal3.TabIndex = 188;
@@ -2550,7 +2161,7 @@
             this.lblLinkTotal2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
             this.lblLinkTotal2.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
             this.lblLinkTotal2.ForeColor = System.Drawing.Color.Black;
-            this.lblLinkTotal2.Location = new System.Drawing.Point(263, 421);
+            this.lblLinkTotal2.Location = new System.Drawing.Point(261, 421);
             this.lblLinkTotal2.Name = "lblLinkTotal2";
             this.lblLinkTotal2.Size = new System.Drawing.Size(120, 22);
             this.lblLinkTotal2.TabIndex = 187;
@@ -2562,7 +2173,7 @@
             this.lblLinkTotal1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
             this.lblLinkTotal1.Font = new System.Drawing.Font("Century", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
             this.lblLinkTotal1.ForeColor = System.Drawing.Color.Black;
-            this.lblLinkTotal1.Location = new System.Drawing.Point(143, 421);
+            this.lblLinkTotal1.Location = new System.Drawing.Point(141, 421);
             this.lblLinkTotal1.Name = "lblLinkTotal1";
             this.lblLinkTotal1.Size = new System.Drawing.Size(120, 22);
             this.lblLinkTotal1.TabIndex = 186;
@@ -2574,7 +2185,7 @@
             this.label116.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
             this.label116.Font = new System.Drawing.Font("ＭＳ Ｐ明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.label116.ForeColor = System.Drawing.Color.Black;
-            this.label116.Location = new System.Drawing.Point(3, 421);
+            this.label116.Location = new System.Drawing.Point(1, 421);
             this.label116.Name = "label116";
             this.label116.Size = new System.Drawing.Size(140, 22);
             this.label116.TabIndex = 185;
@@ -2586,7 +2197,7 @@
             this.btnLink.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
             this.btnLink.BackColor = System.Drawing.Color.Tan;
             this.btnLink.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.btnLink.Location = new System.Drawing.Point(521, 443);
+            this.btnLink.Location = new System.Drawing.Point(508, 443);
             this.btnLink.Name = "btnLink";
             this.btnLink.Size = new System.Drawing.Size(120, 30);
             this.btnLink.TabIndex = 168;
@@ -2640,7 +2251,7 @@
             this.dgvLink.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
             this.dgvLink.RowTemplate.Height = 24;
             this.dgvLink.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
-            this.dgvLink.Size = new System.Drawing.Size(660, 164);
+            this.dgvLink.Size = new System.Drawing.Size(638, 164);
             this.dgvLink.TabIndex = 166;
             this.dgvLink.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvLink_CellDoubleClick);
             // 
@@ -2866,45 +2477,6 @@
             this.label45.Text = "工事予算承認日";
             this.label45.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // textBoxEX10
-            // 
-            this.textBoxEX10.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold);
-            this.textBoxEX10.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.textBoxEX10.Location = new System.Drawing.Point(128, 153);
-            this.textBoxEX10.MaxLength = 10;
-            this.textBoxEX10.Name = "textBoxEX10";
-            this.textBoxEX10.Size = new System.Drawing.Size(120, 26);
-            this.textBoxEX10.TabIndex = 60;
-            this.textBoxEX10.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.textBoxEX10.TextChanged += new System.EventHandler(this.valueChange);
-            this.textBoxEX10.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
-            // textBoxEX9
-            // 
-            this.textBoxEX9.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold);
-            this.textBoxEX9.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.textBoxEX9.Location = new System.Drawing.Point(128, 123);
-            this.textBoxEX9.MaxLength = 10;
-            this.textBoxEX9.Name = "textBoxEX9";
-            this.textBoxEX9.Size = new System.Drawing.Size(120, 26);
-            this.textBoxEX9.TabIndex = 59;
-            this.textBoxEX9.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.textBoxEX9.TextChanged += new System.EventHandler(this.valueChange);
-            this.textBoxEX9.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
-            // textBoxEX8
-            // 
-            this.textBoxEX8.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold);
-            this.textBoxEX8.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.textBoxEX8.Location = new System.Drawing.Point(128, 93);
-            this.textBoxEX8.MaxLength = 10;
-            this.textBoxEX8.Name = "textBoxEX8";
-            this.textBoxEX8.Size = new System.Drawing.Size(120, 26);
-            this.textBoxEX8.TabIndex = 58;
-            this.textBoxEX8.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.textBoxEX8.TextChanged += new System.EventHandler(this.valueChange);
-            this.textBoxEX8.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
             // label59
             // 
             this.label59.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
@@ -2911,9 +2483,9 @@
             this.label59.BackColor = System.Drawing.Color.Moccasin;
             this.label59.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label59.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label59.Location = new System.Drawing.Point(677, 2080);
+            this.label59.Location = new System.Drawing.Point(666, 2080);
             this.label59.Name = "label59";
-            this.label59.Size = new System.Drawing.Size(660, 30);
+            this.label59.Size = new System.Drawing.Size(651, 30);
             this.label59.TabIndex = 183;
             this.label59.Text = "請求/入金管理（出来高分割請求）";
             this.label59.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -2924,6 +2496,7 @@
             | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
             this.panel9.BackColor = System.Drawing.Color.Orange;
+            this.panel9.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.panel9.Controls.Add(this.label98);
             this.panel9.Controls.Add(this.textBox2);
             this.panel9.Controls.Add(this.label96);
@@ -2947,7 +2520,7 @@
             this.panel9.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.panel9.Location = new System.Drawing.Point(3, 2113);
             this.panel9.Name = "panel9";
-            this.panel9.Size = new System.Drawing.Size(658, 994);
+            this.panel9.Size = new System.Drawing.Size(650, 994);
             this.panel9.TabIndex = 184;
             // 
             // label98
@@ -2974,7 +2547,7 @@
             this.textBox2.MaxLength = 120;
             this.textBox2.Multiline = true;
             this.textBox2.Name = "textBox2";
-            this.textBox2.Size = new System.Drawing.Size(528, 54);
+            this.textBox2.Size = new System.Drawing.Size(507, 54);
             this.textBox2.TabIndex = 68;
             this.textBox2.TextChanged += new System.EventHandler(this.valueChange);
             // 
@@ -3166,47 +2739,11 @@
             this.label86.Text = "請求日";
             this.label86.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // textBoxEX6
-            // 
-            this.textBoxEX6.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.textBoxEX6.Location = new System.Drawing.Point(129, 98);
-            this.textBoxEX6.MaxLength = 10;
-            this.textBoxEX6.Name = "textBoxEX6";
-            this.textBoxEX6.Size = new System.Drawing.Size(120, 26);
-            this.textBoxEX6.TabIndex = 66;
-            this.textBoxEX6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.textBoxEX6.TextChanged += new System.EventHandler(this.valueChange);
-            this.textBoxEX6.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
-            // txtInput36
-            // 
-            this.txtInput36.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput36.Location = new System.Drawing.Point(129, 3);
-            this.txtInput36.MaxLength = 10;
-            this.txtInput36.Name = "txtInput36";
-            this.txtInput36.Size = new System.Drawing.Size(120, 26);
-            this.txtInput36.TabIndex = 63;
-            this.txtInput36.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.txtInput36.TextChanged += new System.EventHandler(this.valueChange);
-            this.txtInput36.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
-            // txtInput37
-            // 
-            this.txtInput37.ImeMode = System.Windows.Forms.ImeMode.Disable;
-            this.txtInput37.Location = new System.Drawing.Point(129, 133);
-            this.txtInput37.MaxLength = 10;
-            this.txtInput37.Name = "txtInput37";
-            this.txtInput37.Size = new System.Drawing.Size(120, 26);
-            this.txtInput37.TabIndex = 67;
-            this.txtInput37.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            this.txtInput37.TextChanged += new System.EventHandler(this.valueChange);
-            this.txtInput37.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
-            // 
             // label2
             // 
             this.label2.BackColor = System.Drawing.Color.RoyalBlue;
             this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label2.Location = new System.Drawing.Point(586, 37);
+            this.label2.Location = new System.Drawing.Point(528, 37);
             this.label2.Name = "label2";
             this.label2.Size = new System.Drawing.Size(115, 25);
             this.label2.TabIndex = 0;
@@ -3233,7 +2770,7 @@
             // 
             this.lblConstructionCodelabel.BackColor = System.Drawing.Color.RoyalBlue;
             this.lblConstructionCodelabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lblConstructionCodelabel.Location = new System.Drawing.Point(24, 37);
+            this.lblConstructionCodelabel.Location = new System.Drawing.Point(20, 37);
             this.lblConstructionCodelabel.Name = "lblConstructionCodelabel";
             this.lblConstructionCodelabel.Size = new System.Drawing.Size(115, 25);
             this.lblConstructionCodelabel.TabIndex = 0;
@@ -3244,7 +2781,7 @@
             // 
             this.lblConstructionCode.BackColor = System.Drawing.SystemColors.Window;
             this.lblConstructionCode.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.lblConstructionCode.Location = new System.Drawing.Point(147, 37);
+            this.lblConstructionCode.Location = new System.Drawing.Point(143, 37);
             this.lblConstructionCode.Name = "lblConstructionCode";
             this.lblConstructionCode.Size = new System.Drawing.Size(115, 25);
             this.lblConstructionCode.TabIndex = 92;
@@ -3255,7 +2792,7 @@
             this.label48.BackColor = System.Drawing.Color.RoyalBlue;
             this.label48.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label48.ForeColor = System.Drawing.Color.Black;
-            this.label48.Location = new System.Drawing.Point(24, 67);
+            this.label48.Location = new System.Drawing.Point(20, 67);
             this.label48.Name = "label48";
             this.label48.Size = new System.Drawing.Size(115, 26);
             this.label48.TabIndex = 0;
@@ -3268,7 +2805,7 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.txtInput33.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.txtInput33.ImeMode = System.Windows.Forms.ImeMode.On;
-            this.txtInput33.Location = new System.Drawing.Point(147, 67);
+            this.txtInput33.Location = new System.Drawing.Point(143, 67);
             this.txtInput33.MaxLength = 120;
             this.txtInput33.Name = "txtInput33";
             this.txtInput33.Size = new System.Drawing.Size(1182, 26);
@@ -3282,7 +2819,7 @@
             this.label49.BackColor = System.Drawing.Color.Black;
             this.label49.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.label49.ForeColor = System.Drawing.Color.Red;
-            this.label49.Location = new System.Drawing.Point(151, 97);
+            this.label49.Location = new System.Drawing.Point(143, 97);
             this.label49.Name = "label49";
             this.label49.Size = new System.Drawing.Size(467, 16);
             this.label49.TabIndex = 0;
@@ -3293,7 +2830,7 @@
             // 
             this.label28.BackColor = System.Drawing.Color.RoyalBlue;
             this.label28.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.label28.Location = new System.Drawing.Point(340, 37);
+            this.label28.Location = new System.Drawing.Point(274, 37);
             this.label28.Name = "label28";
             this.label28.Size = new System.Drawing.Size(115, 25);
             this.label28.TabIndex = 0;
@@ -3305,7 +2842,7 @@
             this.label16.BackColor = System.Drawing.Color.Red;
             this.label16.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label16.ForeColor = System.Drawing.Color.White;
-            this.label16.Location = new System.Drawing.Point(24, 116);
+            this.label16.Location = new System.Drawing.Point(20, 116);
             this.label16.Name = "label16";
             this.label16.Size = new System.Drawing.Size(115, 44);
             this.label16.TabIndex = 0;
@@ -3335,7 +2872,7 @@
             this.panel5.Controls.Add(this.rdbStatus3);
             this.panel5.Controls.Add(this.rdbStatus1);
             this.panel5.Controls.Add(this.rdbStatus0);
-            this.panel5.Location = new System.Drawing.Point(145, 116);
+            this.panel5.Location = new System.Drawing.Point(141, 116);
             this.panel5.Name = "panel5";
             this.panel5.Size = new System.Drawing.Size(1184, 44);
             this.panel5.TabIndex = 0;
@@ -3625,7 +3162,7 @@
             this.label29.AutoSize = true;
             this.label29.BackColor = System.Drawing.Color.Transparent;
             this.label29.ForeColor = System.Drawing.Color.White;
-            this.label29.Location = new System.Drawing.Point(1037, 12);
+            this.label29.Location = new System.Drawing.Point(1033, 12);
             this.label29.Name = "label29";
             this.label29.Size = new System.Drawing.Size(161, 16);
             this.label29.TabIndex = 32;
@@ -3638,7 +3175,7 @@
             this.lblLastUpdate.AutoSize = true;
             this.lblLastUpdate.BackColor = System.Drawing.Color.Transparent;
             this.lblLastUpdate.ForeColor = System.Drawing.Color.White;
-            this.lblLastUpdate.Location = new System.Drawing.Point(1198, 12);
+            this.lblLastUpdate.Location = new System.Drawing.Point(1194, 12);
             this.lblLastUpdate.Name = "lblLastUpdate";
             this.lblLastUpdate.Size = new System.Drawing.Size(131, 16);
             this.lblLastUpdate.TabIndex = 32;
@@ -3645,29 +3182,6 @@
             this.lblLastUpdate.Text = "2015年12月31日";
             this.lblLastUpdate.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // cmbConstructionPeriod
-            // 
-            this.cmbConstructionPeriod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbConstructionPeriod.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbConstructionPeriod.FormattingEnabled = true;
-            this.cmbConstructionPeriod.Location = new System.Drawing.Point(463, 37);
-            this.cmbConstructionPeriod.Name = "cmbConstructionPeriod";
-            this.cmbConstructionPeriod.Size = new System.Drawing.Size(115, 24);
-            this.cmbConstructionPeriod.TabIndex = 1;
-            this.toolTip1.SetToolTip(this.cmbConstructionPeriod, "売り上げ計上を行う営業期を入力してください");
-            // 
-            // cmbConstructionYear
-            // 
-            this.cmbConstructionYear.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cmbConstructionYear.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.cmbConstructionYear.FormattingEnabled = true;
-            this.cmbConstructionYear.Location = new System.Drawing.Point(709, 37);
-            this.cmbConstructionYear.Name = "cmbConstructionYear";
-            this.cmbConstructionYear.Size = new System.Drawing.Size(134, 24);
-            this.cmbConstructionYear.TabIndex = 0;
-            this.toolTip1.SetToolTip(this.cmbConstructionYear, "工事の着工開始年度を入力してください");
-            this.cmbConstructionYear.Visible = false;
-            // 
             // btnApprovalList
             // 
             this.btnApprovalList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@@ -3674,7 +3188,7 @@
             this.btnApprovalList.BackColor = System.Drawing.Color.Gold;
             this.btnApprovalList.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.btnApprovalList.ForeColor = System.Drawing.Color.Black;
-            this.btnApprovalList.Location = new System.Drawing.Point(1089, 37);
+            this.btnApprovalList.Location = new System.Drawing.Point(1085, 37);
             this.btnApprovalList.Name = "btnApprovalList";
             this.btnApprovalList.Size = new System.Drawing.Size(240, 24);
             this.btnApprovalList.TabIndex = 44;
@@ -3701,7 +3215,7 @@
             this.lblJointLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.lblJointLabel.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.lblJointLabel.ForeColor = System.Drawing.Color.Black;
-            this.lblJointLabel.Location = new System.Drawing.Point(24, 8);
+            this.lblJointLabel.Location = new System.Drawing.Point(20, 8);
             this.lblJointLabel.Name = "lblJointLabel";
             this.lblJointLabel.Size = new System.Drawing.Size(238, 25);
             this.lblJointLabel.TabIndex = 97;
@@ -3709,6 +3223,502 @@
             this.lblJointLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             this.lblJointLabel.Visible = false;
             // 
+            // comboBoxEX1
+            // 
+            this.comboBoxEX1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.comboBoxEX1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.comboBoxEX1.FormattingEnabled = true;
+            this.comboBoxEX1.Location = new System.Drawing.Point(129, 724);
+            this.comboBoxEX1.Name = "comboBoxEX1";
+            this.comboBoxEX1.Size = new System.Drawing.Size(255, 27);
+            this.comboBoxEX1.TabIndex = 22;
+            this.comboBoxEX1.SelectedIndexChanged += new System.EventHandler(this.comboBoxEX1_SelectedIndexChanged);
+            this.comboBoxEX1.TextChanged += new System.EventHandler(this.valueChange);
+            // 
+            // cmbDisplayPerson
+            // 
+            this.cmbDisplayPerson.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbDisplayPerson.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.cmbDisplayPerson.FormattingEnabled = true;
+            this.cmbDisplayPerson.Location = new System.Drawing.Point(384, 724);
+            this.cmbDisplayPerson.Name = "cmbDisplayPerson";
+            this.cmbDisplayPerson.Size = new System.Drawing.Size(255, 27);
+            this.cmbDisplayPerson.TabIndex = 23;
+            this.cmbDisplayPerson.TextChanged += new System.EventHandler(this.valueChange);
+            // 
+            // cmbConstructionType
+            // 
+            this.cmbConstructionType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbConstructionType.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.cmbConstructionType.FormattingEnabled = true;
+            this.cmbConstructionType.Location = new System.Drawing.Point(129, 602);
+            this.cmbConstructionType.Name = "cmbConstructionType";
+            this.cmbConstructionType.Size = new System.Drawing.Size(372, 27);
+            this.cmbConstructionType.TabIndex = 21;
+            this.cmbConstructionType.SelectedIndexChanged += new System.EventHandler(this.cmbConstructionType_SelectedIndexChanged);
+            this.cmbConstructionType.TextChanged += new System.EventHandler(this.valueChange);
+            // 
+            // cmbOrdersDivision
+            // 
+            this.cmbOrdersDivision.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.cmbOrdersDivision.AutoCompleteCustomSource.AddRange(new string[] {
+            "株式会社",
+            "有限会社",
+            "合名会社",
+            "合資会社",
+            "合同会社"});
+            this.cmbOrdersDivision.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbOrdersDivision.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.cmbOrdersDivision.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.cmbOrdersDivision.FormattingEnabled = true;
+            this.cmbOrdersDivision.Location = new System.Drawing.Point(129, 154);
+            this.cmbOrdersDivision.Name = "cmbOrdersDivision";
+            this.cmbOrdersDivision.Size = new System.Drawing.Size(507, 27);
+            this.cmbOrdersDivision.TabIndex = 7;
+            this.cmbOrdersDivision.SelectedIndexChanged += new System.EventHandler(this.cmbOrdersDivision_SelectedIndexChanged);
+            this.cmbOrdersDivision.TextChanged += new System.EventHandler(this.valueChange);
+            // 
+            // cmbDisplayOrderers
+            // 
+            this.cmbDisplayOrderers.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.cmbDisplayOrderers.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbDisplayOrderers.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.cmbDisplayOrderers.FormattingEnabled = true;
+            this.cmbDisplayOrderers.Location = new System.Drawing.Point(129, 184);
+            this.cmbDisplayOrderers.Name = "cmbDisplayOrderers";
+            this.cmbDisplayOrderers.Size = new System.Drawing.Size(376, 27);
+            this.cmbDisplayOrderers.TabIndex = 8;
+            this.cmbDisplayOrderers.SelectedIndexChanged += new System.EventHandler(this.cmbDisplayOrderers_SelectedIndexChanged);
+            this.cmbDisplayOrderers.TextChanged += new System.EventHandler(this.valueChange);
+            // 
+            // txtInput28
+            // 
+            this.txtInput28.BackColor = System.Drawing.Color.White;
+            this.txtInput28.Font = new System.Drawing.Font("ＭＳ 明朝", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.txtInput28.ForeColor = System.Drawing.Color.Black;
+            this.txtInput28.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.txtInput28.Location = new System.Drawing.Point(128, 104);
+            this.txtInput28.MaxLength = 10;
+            this.txtInput28.Name = "txtInput28";
+            this.txtInput28.Size = new System.Drawing.Size(274, 34);
+            this.txtInput28.TabIndex = 28;
+            this.txtInput28.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.txtInput28.TextChanged += new System.EventHandler(this.valueChange);
+            this.txtInput28.Validated += new System.EventHandler(this.txtInput25_Validated);
+            // 
+            // txtInput25
+            // 
+            this.txtInput25.BackColor = System.Drawing.Color.White;
+            this.txtInput25.Font = new System.Drawing.Font("ＭＳ 明朝", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.txtInput25.ForeColor = System.Drawing.Color.Black;
+            this.txtInput25.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.txtInput25.Location = new System.Drawing.Point(128, 64);
+            this.txtInput25.MaxLength = 10;
+            this.txtInput25.Name = "txtInput25";
+            this.txtInput25.Size = new System.Drawing.Size(274, 34);
+            this.txtInput25.TabIndex = 27;
+            this.txtInput25.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.txtInput25.TextChanged += new System.EventHandler(this.valueChange);
+            this.txtInput25.Validated += new System.EventHandler(this.txtInput25_Validated);
+            // 
+            // cmbTransferConstruction
+            // 
+            this.cmbTransferConstruction.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbTransferConstruction.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.cmbTransferConstruction.FormattingEnabled = true;
+            this.cmbTransferConstruction.Location = new System.Drawing.Point(128, 843);
+            this.cmbTransferConstruction.Name = "cmbTransferConstruction";
+            this.cmbTransferConstruction.Size = new System.Drawing.Size(300, 27);
+            this.cmbTransferConstruction.TabIndex = 39;
+            this.cmbTransferConstruction.SelectedIndexChanged += new System.EventHandler(this.cmbTransferConstruction_SelectedIndexChanged);
+            this.cmbTransferConstruction.TextChanged += new System.EventHandler(this.valueChange);
+            // 
+            // txtInput27
+            // 
+            this.txtInput27.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.txtInput27.Location = new System.Drawing.Point(128, 33);
+            this.txtInput27.MaxLength = 10;
+            this.txtInput27.Name = "txtInput27";
+            this.txtInput27.Size = new System.Drawing.Size(120, 26);
+            this.txtInput27.TabIndex = 26;
+            this.txtInput27.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.txtInput27.TextChanged += new System.EventHandler(this.valueChange);
+            // 
+            // txtInput02
+            // 
+            this.txtInput02.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.txtInput02.Location = new System.Drawing.Point(128, 182);
+            this.txtInput02.MaxLength = 10;
+            this.txtInput02.Name = "txtInput02";
+            this.txtInput02.Size = new System.Drawing.Size(120, 26);
+            this.txtInput02.TabIndex = 29;
+            this.txtInput02.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.txtInput02.TextChanged += new System.EventHandler(this.valueChange);
+            this.txtInput02.Validated += new System.EventHandler(this.txtInput02_TextChanged);
+            // 
+            // txtInput06
+            // 
+            this.txtInput06.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.txtInput06.Location = new System.Drawing.Point(128, 212);
+            this.txtInput06.MaxLength = 10;
+            this.txtInput06.Name = "txtInput06";
+            this.txtInput06.Size = new System.Drawing.Size(120, 26);
+            this.txtInput06.TabIndex = 30;
+            this.txtInput06.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.txtInput06.TextChanged += new System.EventHandler(this.valueChange);
+            this.txtInput06.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // txtInput12
+            // 
+            this.txtInput12.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.txtInput12.Location = new System.Drawing.Point(128, 302);
+            this.txtInput12.MaxLength = 10;
+            this.txtInput12.Name = "txtInput12";
+            this.txtInput12.Size = new System.Drawing.Size(120, 26);
+            this.txtInput12.TabIndex = 31;
+            this.txtInput12.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.txtInput12.TextChanged += new System.EventHandler(this.valueChange);
+            this.txtInput12.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // txtInput13
+            // 
+            this.txtInput13.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.txtInput13.Location = new System.Drawing.Point(128, 332);
+            this.txtInput13.MaxLength = 10;
+            this.txtInput13.Name = "txtInput13";
+            this.txtInput13.Size = new System.Drawing.Size(120, 26);
+            this.txtInput13.TabIndex = 32;
+            this.txtInput13.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.txtInput13.TextChanged += new System.EventHandler(this.valueChange);
+            this.txtInput13.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // textBoxEX2
+            // 
+            this.textBoxEX2.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.textBoxEX2.Location = new System.Drawing.Point(128, 562);
+            this.textBoxEX2.MaxLength = 10;
+            this.textBoxEX2.Name = "textBoxEX2";
+            this.textBoxEX2.Size = new System.Drawing.Size(120, 26);
+            this.textBoxEX2.TabIndex = 35;
+            this.textBoxEX2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.textBoxEX2.TextChanged += new System.EventHandler(this.valueChange);
+            this.textBoxEX2.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // textBoxEX1
+            // 
+            this.textBoxEX1.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.textBoxEX1.Location = new System.Drawing.Point(128, 502);
+            this.textBoxEX1.MaxLength = 10;
+            this.textBoxEX1.Name = "textBoxEX1";
+            this.textBoxEX1.Size = new System.Drawing.Size(120, 26);
+            this.textBoxEX1.TabIndex = 33;
+            this.textBoxEX1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.textBoxEX1.TextChanged += new System.EventHandler(this.valueChange);
+            this.textBoxEX1.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // txtInput03
+            // 
+            this.txtInput03.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.txtInput03.Location = new System.Drawing.Point(128, 532);
+            this.txtInput03.MaxLength = 10;
+            this.txtInput03.Name = "txtInput03";
+            this.txtInput03.Size = new System.Drawing.Size(120, 26);
+            this.txtInput03.TabIndex = 34;
+            this.txtInput03.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.txtInput03.TextChanged += new System.EventHandler(this.valueChange);
+            this.txtInput03.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // txtInput38
+            // 
+            this.txtInput38.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.txtInput38.Location = new System.Drawing.Point(128, 632);
+            this.txtInput38.MaxLength = 10;
+            this.txtInput38.Name = "txtInput38";
+            this.txtInput38.Size = new System.Drawing.Size(120, 26);
+            this.txtInput38.TabIndex = 36;
+            this.txtInput38.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.txtInput38.TextChanged += new System.EventHandler(this.valueChange);
+            this.txtInput38.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // txtInput34
+            // 
+            this.txtInput34.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.txtInput34.Location = new System.Drawing.Point(128, 662);
+            this.txtInput34.MaxLength = 10;
+            this.txtInput34.Name = "txtInput34";
+            this.txtInput34.Size = new System.Drawing.Size(120, 26);
+            this.txtInput34.TabIndex = 37;
+            this.txtInput34.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.txtInput34.TextChanged += new System.EventHandler(this.valueChange);
+            this.txtInput34.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // comboBoxEX4
+            // 
+            this.comboBoxEX4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.comboBoxEX4.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.comboBoxEX4.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.comboBoxEX4.FormattingEnabled = true;
+            this.comboBoxEX4.Location = new System.Drawing.Point(129, 93);
+            this.comboBoxEX4.Name = "comboBoxEX4";
+            this.comboBoxEX4.Size = new System.Drawing.Size(255, 27);
+            this.comboBoxEX4.TabIndex = 44;
+            this.comboBoxEX4.SelectedIndexChanged += new System.EventHandler(this.comboBoxEX1_SelectedIndexChanged);
+            // 
+            // comboBoxEX3
+            // 
+            this.comboBoxEX3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.comboBoxEX3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.comboBoxEX3.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.comboBoxEX3.FormattingEnabled = true;
+            this.comboBoxEX3.Location = new System.Drawing.Point(129, 63);
+            this.comboBoxEX3.Name = "comboBoxEX3";
+            this.comboBoxEX3.Size = new System.Drawing.Size(255, 27);
+            this.comboBoxEX3.TabIndex = 42;
+            this.comboBoxEX3.SelectedIndexChanged += new System.EventHandler(this.comboBoxEX1_SelectedIndexChanged);
+            // 
+            // cmbDisplayConstrSubPerson
+            // 
+            this.cmbDisplayConstrSubPerson.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbDisplayConstrSubPerson.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.cmbDisplayConstrSubPerson.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.cmbDisplayConstrSubPerson.FormattingEnabled = true;
+            this.cmbDisplayConstrSubPerson.Location = new System.Drawing.Point(384, 63);
+            this.cmbDisplayConstrSubPerson.Name = "cmbDisplayConstrSubPerson";
+            this.cmbDisplayConstrSubPerson.Size = new System.Drawing.Size(255, 27);
+            this.cmbDisplayConstrSubPerson.TabIndex = 43;
+            // 
+            // textBoxEX3
+            // 
+            this.textBoxEX3.Enabled = false;
+            this.textBoxEX3.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.textBoxEX3.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.textBoxEX3.Location = new System.Drawing.Point(129, 273);
+            this.textBoxEX3.MaxLength = 10;
+            this.textBoxEX3.Name = "textBoxEX3";
+            this.textBoxEX3.Size = new System.Drawing.Size(120, 26);
+            this.textBoxEX3.TabIndex = 50;
+            this.textBoxEX3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.textBoxEX3.TextChanged += new System.EventHandler(this.valueChange);
+            this.textBoxEX3.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // txtInput35
+            // 
+            this.txtInput35.Enabled = false;
+            this.txtInput35.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.txtInput35.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.txtInput35.Location = new System.Drawing.Point(129, 303);
+            this.txtInput35.MaxLength = 10;
+            this.txtInput35.Name = "txtInput35";
+            this.txtInput35.Size = new System.Drawing.Size(120, 26);
+            this.txtInput35.TabIndex = 51;
+            this.txtInput35.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.txtInput35.TextChanged += new System.EventHandler(this.valueChange);
+            this.txtInput35.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // txtInput04
+            // 
+            this.txtInput04.Enabled = false;
+            this.txtInput04.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.txtInput04.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.txtInput04.Location = new System.Drawing.Point(129, 333);
+            this.txtInput04.MaxLength = 10;
+            this.txtInput04.Name = "txtInput04";
+            this.txtInput04.Size = new System.Drawing.Size(120, 26);
+            this.txtInput04.TabIndex = 52;
+            this.txtInput04.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.txtInput04.TextChanged += new System.EventHandler(this.valueChange);
+            this.txtInput04.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // textBoxEX5
+            // 
+            this.textBoxEX5.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold);
+            this.textBoxEX5.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.textBoxEX5.Location = new System.Drawing.Point(362, 183);
+            this.textBoxEX5.MaxLength = 10;
+            this.textBoxEX5.Name = "textBoxEX5";
+            this.textBoxEX5.Size = new System.Drawing.Size(120, 26);
+            this.textBoxEX5.TabIndex = 49;
+            this.textBoxEX5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.textBoxEX5.TextChanged += new System.EventHandler(this.valueChange);
+            this.textBoxEX5.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // textBoxEX4
+            // 
+            this.textBoxEX4.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold);
+            this.textBoxEX4.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.textBoxEX4.Location = new System.Drawing.Point(362, 153);
+            this.textBoxEX4.MaxLength = 10;
+            this.textBoxEX4.Name = "textBoxEX4";
+            this.textBoxEX4.Size = new System.Drawing.Size(120, 26);
+            this.textBoxEX4.TabIndex = 47;
+            this.textBoxEX4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.textBoxEX4.TextChanged += new System.EventHandler(this.valueChange);
+            this.textBoxEX4.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // txtInput29
+            // 
+            this.txtInput29.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold);
+            this.txtInput29.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.txtInput29.Location = new System.Drawing.Point(161, 153);
+            this.txtInput29.MaxLength = 10;
+            this.txtInput29.Name = "txtInput29";
+            this.txtInput29.Size = new System.Drawing.Size(120, 26);
+            this.txtInput29.TabIndex = 46;
+            this.txtInput29.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.txtInput29.TextChanged += new System.EventHandler(this.valueChange);
+            this.txtInput29.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // txtInput30
+            // 
+            this.txtInput30.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold);
+            this.txtInput30.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.txtInput30.Location = new System.Drawing.Point(161, 183);
+            this.txtInput30.MaxLength = 10;
+            this.txtInput30.Name = "txtInput30";
+            this.txtInput30.Size = new System.Drawing.Size(120, 26);
+            this.txtInput30.TabIndex = 48;
+            this.txtInput30.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.txtInput30.TextChanged += new System.EventHandler(this.valueChange);
+            this.txtInput30.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // cmbConstructionInstructor
+            // 
+            this.cmbConstructionInstructor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbConstructionInstructor.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.cmbConstructionInstructor.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.cmbConstructionInstructor.FormattingEnabled = true;
+            this.cmbConstructionInstructor.Location = new System.Drawing.Point(384, 93);
+            this.cmbConstructionInstructor.Name = "cmbConstructionInstructor";
+            this.cmbConstructionInstructor.Size = new System.Drawing.Size(255, 27);
+            this.cmbConstructionInstructor.TabIndex = 45;
+            this.cmbConstructionInstructor.TextChanged += new System.EventHandler(this.valueChange);
+            // 
+            // comboBoxEX2
+            // 
+            this.comboBoxEX2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.comboBoxEX2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.comboBoxEX2.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.comboBoxEX2.FormattingEnabled = true;
+            this.comboBoxEX2.Location = new System.Drawing.Point(129, 33);
+            this.comboBoxEX2.Name = "comboBoxEX2";
+            this.comboBoxEX2.Size = new System.Drawing.Size(255, 27);
+            this.comboBoxEX2.TabIndex = 40;
+            this.comboBoxEX2.SelectedIndexChanged += new System.EventHandler(this.comboBoxEX1_SelectedIndexChanged);
+            this.comboBoxEX2.TextChanged += new System.EventHandler(this.valueChange);
+            // 
+            // cmbDisplayConstructionPerson
+            // 
+            this.cmbDisplayConstructionPerson.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbDisplayConstructionPerson.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.cmbDisplayConstructionPerson.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.cmbDisplayConstructionPerson.FormattingEnabled = true;
+            this.cmbDisplayConstructionPerson.Location = new System.Drawing.Point(384, 33);
+            this.cmbDisplayConstructionPerson.Name = "cmbDisplayConstructionPerson";
+            this.cmbDisplayConstructionPerson.Size = new System.Drawing.Size(255, 27);
+            this.cmbDisplayConstructionPerson.TabIndex = 41;
+            this.cmbDisplayConstructionPerson.SelectedIndexChanged += new System.EventHandler(this.cmbDisplayConstructionPerson_SelectedIndexChanged);
+            this.cmbDisplayConstructionPerson.TextChanged += new System.EventHandler(this.valueChange);
+            // 
+            // textBoxEX10
+            // 
+            this.textBoxEX10.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold);
+            this.textBoxEX10.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.textBoxEX10.Location = new System.Drawing.Point(128, 153);
+            this.textBoxEX10.MaxLength = 10;
+            this.textBoxEX10.Name = "textBoxEX10";
+            this.textBoxEX10.Size = new System.Drawing.Size(120, 26);
+            this.textBoxEX10.TabIndex = 60;
+            this.textBoxEX10.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.textBoxEX10.TextChanged += new System.EventHandler(this.valueChange);
+            this.textBoxEX10.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // textBoxEX9
+            // 
+            this.textBoxEX9.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold);
+            this.textBoxEX9.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.textBoxEX9.Location = new System.Drawing.Point(128, 123);
+            this.textBoxEX9.MaxLength = 10;
+            this.textBoxEX9.Name = "textBoxEX9";
+            this.textBoxEX9.Size = new System.Drawing.Size(120, 26);
+            this.textBoxEX9.TabIndex = 59;
+            this.textBoxEX9.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.textBoxEX9.TextChanged += new System.EventHandler(this.valueChange);
+            this.textBoxEX9.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // textBoxEX8
+            // 
+            this.textBoxEX8.Font = new System.Drawing.Font("ＭＳ 明朝", 14.25F, System.Drawing.FontStyle.Bold);
+            this.textBoxEX8.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.textBoxEX8.Location = new System.Drawing.Point(128, 93);
+            this.textBoxEX8.MaxLength = 10;
+            this.textBoxEX8.Name = "textBoxEX8";
+            this.textBoxEX8.Size = new System.Drawing.Size(120, 26);
+            this.textBoxEX8.TabIndex = 58;
+            this.textBoxEX8.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.textBoxEX8.TextChanged += new System.EventHandler(this.valueChange);
+            this.textBoxEX8.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // textBoxEX6
+            // 
+            this.textBoxEX6.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.textBoxEX6.Location = new System.Drawing.Point(129, 98);
+            this.textBoxEX6.MaxLength = 10;
+            this.textBoxEX6.Name = "textBoxEX6";
+            this.textBoxEX6.Size = new System.Drawing.Size(120, 26);
+            this.textBoxEX6.TabIndex = 66;
+            this.textBoxEX6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.textBoxEX6.TextChanged += new System.EventHandler(this.valueChange);
+            this.textBoxEX6.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // txtInput36
+            // 
+            this.txtInput36.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.txtInput36.Location = new System.Drawing.Point(129, 3);
+            this.txtInput36.MaxLength = 10;
+            this.txtInput36.Name = "txtInput36";
+            this.txtInput36.Size = new System.Drawing.Size(120, 26);
+            this.txtInput36.TabIndex = 63;
+            this.txtInput36.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.txtInput36.TextChanged += new System.EventHandler(this.valueChange);
+            this.txtInput36.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // txtInput37
+            // 
+            this.txtInput37.ImeMode = System.Windows.Forms.ImeMode.Disable;
+            this.txtInput37.Location = new System.Drawing.Point(129, 133);
+            this.txtInput37.MaxLength = 10;
+            this.txtInput37.Name = "txtInput37";
+            this.txtInput37.Size = new System.Drawing.Size(120, 26);
+            this.txtInput37.TabIndex = 67;
+            this.txtInput37.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            this.txtInput37.TextChanged += new System.EventHandler(this.valueChange);
+            this.txtInput37.Validated += new System.EventHandler(this.txtInputDate_TextChanged);
+            // 
+            // cmbConstructionPeriod
+            // 
+            this.cmbConstructionPeriod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbConstructionPeriod.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.cmbConstructionPeriod.FormattingEnabled = true;
+            this.cmbConstructionPeriod.Location = new System.Drawing.Point(397, 37);
+            this.cmbConstructionPeriod.Name = "cmbConstructionPeriod";
+            this.cmbConstructionPeriod.Size = new System.Drawing.Size(115, 24);
+            this.cmbConstructionPeriod.TabIndex = 1;
+            this.toolTip1.SetToolTip(this.cmbConstructionPeriod, "売り上げ計上を行う営業期を入力してください");
+            // 
+            // cmbConstructionYear
+            // 
+            this.cmbConstructionYear.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbConstructionYear.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.cmbConstructionYear.FormattingEnabled = true;
+            this.cmbConstructionYear.Location = new System.Drawing.Point(651, 37);
+            this.cmbConstructionYear.Name = "cmbConstructionYear";
+            this.cmbConstructionYear.Size = new System.Drawing.Size(134, 24);
+            this.cmbConstructionYear.TabIndex = 0;
+            this.toolTip1.SetToolTip(this.cmbConstructionYear, "工事の着工開始年度を入力してください");
+            this.cmbConstructionYear.Visible = false;
+            // 
             // FrmConstructionBaseInfo
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfoAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfoAuxiliary.cs	(revision 180)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/FrmConstructionBaseInfoAuxiliary.cs	(revision 181)
@@ -1546,6 +1546,8 @@
                 if (!DataDisplay()) return;
                 if (!DataDisplayDetail()) return;
 
+                // �X�N���[�����������Ȃ�̂ŕ␳
+                tableLayoutPanel2.Width += SystemInformation.VerticalScrollBarWidth;
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInput.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInput.cs	(revision 180)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInput.cs	(revision 181)
@@ -1284,6 +1284,9 @@
                 m_BeforeColumnCount = e.ColumnIndex;
                 m_BeforeRowCount = e.RowIndex;
 
+                // �P�ʂ����̎��͒P�������b�N����
+                LockUnitValue(dgv.CurrentRow);
+
             }
             catch (Exception ex)
             {
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInputAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInputAuxiliary.cs	(revision 180)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/FrmEstimateInputAuxiliary.cs	(revision 181)
@@ -6003,5 +6003,35 @@
             }
         }
         #endregion
+
+        #region 単位が【式】の場合は単価をクリアロックする
+        /// <summary>
+        /// 単位が【式】の場合は単価をクリアロックする
+        /// </summary>
+        /// <param name="CurRow"></param>
+        private void LockUnitValue(DataGridViewRow CurRow)
+        {
+            try
+            {
+                if (CurRow == null) return;
+
+                string strValue = CommonMotions.cnvString(CurRow.Cells[(int)GridItemColumn.UnitName].Value).Trim();
+
+                if (strValue.Equals("式"))
+                {
+                    CurRow.Cells[(int)GridItemColumn.UnitPrice].Value = "";
+                    CurRow.Cells[(int)GridItemColumn.UnitPrice].ReadOnly = true;
+                }
+                else
+                {
+                    CurRow.Cells[(int)GridItemColumn.UnitPrice].ReadOnly = false;
+                }
+            }
+            catch (System.Exception ex)
+            {
+                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
     }
 }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntryAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntryAuxiliary.cs	(revision 180)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderEntry/FrmPurchaseOrderEntryAuxiliary.cs	(revision 181)
@@ -136,29 +136,29 @@
             try
             {
 
-                m_DetailList.Clear();
                 // 一覧リストを作成する
                 string strSQL = AppDetailDB.CreatePrimarykeyString(m_ConstructionCode, (int)ClsExcute.ApprovalListNo.PurchaseOrderEntryApproval, m_OrderNo);
                 strSQL += " ORDER BY ORDERNO";
                 List<ProcessApprovalDetail> DetailList = new List<ProcessApprovalDetail>();
                 if (!AppDetailDB.SelectAction(strSQL, ref DetailList)) return;
-
+            
+                m_DetailList.Clear();
                 foreach (ProcessApprovalDetail CurRec in DetailList)
                 {
-                    m_DetailList.Add(new object[] { m_ConstructionCode,
-                                                    "",
-                                                    "",
-                                                    0,
-                                                    "",
-                                                    0,
-                                                    m_ConstructionCode,
-                                                    1,
-                                                    "",
-                                                    (int)CommonDefine.ApprovalStatus.Approval,
-                                                    CurRec.LinkCode,
-                                                    0,
-                                                    m_OrderNo,
-                                                    DateTime.Now });
+                    m_DetailList.Add(new object[] { m_ConstructionCode,                         // ConstructionCode
+                                                    "",                                         // FirstString
+                                                    "",                                         // SecondString
+                                                    0,                                          // CompanyCode
+                                                    "",                                         // CompanyName
+                                                    0,                                          // ExecutionAmount
+                                                    m_ConstructionCode,                         // SourceCode
+                                                    1,                                          // PurchaseOrderflg
+                                                    "",                                         // DetailString
+                                                    (int)CommonDefine.ApprovalStatus.Approval,  // ApprovalStatus
+                                                    CurRec.LinkCode,                            // PurchaseSeqNo
+                                                    0,                                          // LedgerLine
+                                                    m_OrderNo,                                  // OrderNo
+                                                    DateTime.Now });                            // PrintoutDate
                 }
             }
             catch (System.Exception ex)
@@ -2773,52 +2773,5 @@
         }
         #endregion
 
-        #region 直接表示データリスト作成
-        /// <summary>
-        /// 直接表示データリスト作成
-        /// </summary>
-        private bool CreateDirectData()
-        {
-            IOProcessApprovalDetail ProAppDDB = new IOProcessApprovalDetail();
-            try
-            {
-                string strSQL = ProAppDDB.CreatePrimarykeyString(m_ConstructionCode
-                                                                , (int)ClsExcute.ApprovalListNo.PurchaseOrderEntryApproval
-                                                                , m_OrderNo);
-                List<ProcessApprovalDetail> DetailList = new List<ProcessApprovalDetail>();
-                if (!ProAppDDB.SelectAction(strSQL, ref DetailList)) return false;
-
-                m_DetailList.Clear();
-                foreach (ProcessApprovalDetail CurRec in DetailList)
-                {
-                    m_DetailList.Add(new object[] {m_ConstructionCode,      // ConstructionCode
-                                                    "",                     // FirstString,
-                                                    "",                     // SecondString,
-                                                    0,                      // CompanyCode,
-                                                    "",                     // CompanyName,
-                                                    0,                      // ExecutionAmount,
-                                                    m_ConstructionCode,     // SourceCode,
-                                                    0,                      // PurchaseOrderflg,
-                                                    "",                     // DetailString,
-                                                    0,                      // ApprovalStatus,
-                                                    CurRec.LinkCode,        // PurchaseSeqNo,
-                                                    0,                      // LedgerLine,
-                                                    CurRec.LinkCode         // OrderNo,
-                                                    });
-                }
-
-                return true;
-            }
-            catch (System.Exception ex)
-            {
-                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                ProAppDDB.close(); ProAppDDB = null;
-            }
-        }
-        #endregion
     }
 }
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/FrmPurchaseOrderPrintAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/FrmPurchaseOrderPrintAuxiliary.cs	(revision 180)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/PurchaseOrderPrint/FrmPurchaseOrderPrintAuxiliary.cs	(revision 181)
@@ -451,25 +451,17 @@
             IOPurchaseOrder OrderDB = new IOPurchaseOrder();
             try
             {
-                //string strWhere = OrderDB.CreatePrimarykeyString(m_ConstructionCode);
-                //List<PurchaseOrder> OrderList = new List<PurchaseOrder>();
-                //if (!OrderDB.SelectAction(strWhere, ref OrderList)) return false;
-
-                //string strSQL = string.Format("UPDATE PurchaseOrder SET PrintoutDate = TO_DATE('{0}','YYYY/MM/DD')", CreateDate.ToShortDateString());
-                //strSQL += string.Format(" {0}", strWhere);
-                //if (!OrderDB.ExecuteNonQuery(strSQL)) return false;
-
                 OrderDB.connect(); OrderDB.beginTran();
                 int GridSeqNo = 0;
-                foreach(DataGridViewRow GridCurRow in dgvAllDisplay.Rows)
+                foreach (DataGridViewRow GridCurRow in dgvAllDisplay.Rows)
                 {
                     // 選択無は対象外
                     if (CommonMotions.chkCellBlank(GridCurRow.Cells[(int)GridColumn.PrintExec].Value)) continue;
                     if (!(bool)GridCurRow.Cells[(int)GridColumn.PrintExec].Value) continue;
                     // 枝番取得
-                    GridSeqNo=CommonMotions.cnvInt(GridCurRow.Cells[(int)GridColumn.SeqNo].Value);
+                    GridSeqNo = CommonMotions.cnvInt(GridCurRow.Cells[(int)GridColumn.SeqNo].Value);
                     // 印刷日セット
-                    if (!OrderDB.UpdateFeild(m_ConstructionCode,(int)IOPurchaseOrder.TableColumn.PrintoutDate, CreateDate, false, GridSeqNo))
+                    if (!OrderDB.UpdateFeild(m_ConstructionCode, (int)IOPurchaseOrder.TableColumn.PrintoutDate, CreateDate, false, GridSeqNo))
                     {
                         OrderDB.rollback();
                         return false;
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirm.Designer.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirm.Designer.cs	(revision 180)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirm.Designer.cs	(revision 181)
@@ -28,35 +28,18 @@
         /// </summary>
         private void InitializeComponent()
         {
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle43 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle44 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle45 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle46 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle47 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle48 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle49 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle50 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle51 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle52 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle53 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle54 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle 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();
             this.label3 = new System.Windows.Forms.Label();
-            this.panel1 = new System.Windows.Forms.Panel();
+            this.dgvMaster = new System.Windows.Forms.DataGridView();
+            this.btnEnd = new System.Windows.Forms.Button();
+            this.groupBox1 = new System.Windows.Forms.GroupBox();
+            this.comboBox1 = new System.Windows.Forms.ComboBox();
+            this.label1 = new System.Windows.Forms.Label();
             this.label7 = new System.Windows.Forms.Label();
             this.label6 = new System.Windows.Forms.Label();
             this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
@@ -65,94 +48,21 @@
             this.label4 = new System.Windows.Forms.Label();
             this.comboBox2 = new System.Windows.Forms.ComboBox();
             this.label2 = new System.Windows.Forms.Label();
-            this.dgvMaster = new System.Windows.Forms.DataGridView();
-            this.EditStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.No = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.OrderersDivision = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.OrderersCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.SeqNo = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.LineCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.OrderersName = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.DepositDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.DepositAmountCash = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.DepositAmountBill = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.RequestNo = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.OrderNo = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ConstructionName = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ConstructionName_Raw = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.PaymentSchedule = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.BillCreationDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.BillPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.TaxPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.DepositAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.DiscountAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.CnstrPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Fees = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.OtherAdjustments = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.CarryAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.PersonName = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.PersonCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.PersonDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalName_1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalCode_1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalAuthority_1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalDate_1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalOrder_1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalName_2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalCode_2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalAuthority_2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalDate_2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalOrder_2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalName_3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalCode_3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalAuthority_3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalDate_3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalOrder_3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalName_4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalCode_4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalAuthority_4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalDate_4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalOrder_4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalName_5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalCode_5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalAuthority_5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalDate_5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalOrder_5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalName_6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalCode_6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalAuthority_6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalDate_6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalOrder_6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalName_7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalCode_7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalAuthority_7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalDate_7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalOrder_7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalName_8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalCode_8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalAuthority_8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalDate_8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalOrder_8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalName_9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalCode_9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalAuthority_9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalDate_9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalOrder_9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalName_10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalCode_10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalAuthority_10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalDate_10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ApprovalOrder_10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.btnEnd = new System.Windows.Forms.Button();
-            this.groupBoxEx1 = new ProcessManagement.Forms.CustomControls.GroupBoxEx();
-            this.comboBox1 = new System.Windows.Forms.ComboBox();
+            this.lblTotal = new System.Windows.Forms.Label();
+            this.lblCellTotal = new System.Windows.Forms.Label();
+            this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column3 = 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.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.label8 = new System.Windows.Forms.Label();
-            this.radioButton2 = new System.Windows.Forms.RadioButton();
-            this.radioButton1 = new System.Windows.Forms.RadioButton();
-            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvMaster)).BeginInit();
+            this.groupBox1.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvMaster)).BeginInit();
-            this.groupBoxEx1.SuspendLayout();
             this.SuspendLayout();
             // 
             // label3
@@ -161,7 +71,7 @@
             this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
             this.label3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label3.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold);
-            this.label3.Location = new System.Drawing.Point(417, 10);
+            this.label3.Location = new System.Drawing.Point(390, 10);
             this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label3.Name = "label3";
             this.label3.Size = new System.Drawing.Size(500, 20);
@@ -169,34 +79,122 @@
             this.label3.Text = "売　上　確　認";
             this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // panel1
+            // dgvMaster
             // 
-            this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
+            this.dgvMaster.AllowUserToAddRows = false;
+            this.dgvMaster.AllowUserToDeleteRows = false;
+            this.dgvMaster.AllowUserToResizeColumns = 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.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
-            this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
-            this.panel1.Controls.Add(this.groupBoxEx1);
-            this.panel1.Controls.Add(this.label7);
-            this.panel1.Controls.Add(this.label6);
-            this.panel1.Controls.Add(this.numericUpDown2);
-            this.panel1.Controls.Add(this.label5);
-            this.panel1.Controls.Add(this.comboBox3);
-            this.panel1.Controls.Add(this.label4);
-            this.panel1.Controls.Add(this.comboBox2);
-            this.panel1.Controls.Add(this.label2);
-            this.panel1.Location = new System.Drawing.Point(5, 40);
-            this.panel1.Name = "panel1";
-            this.panel1.Size = new System.Drawing.Size(1330, 44);
-            this.panel1.TabIndex = 6;
+            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.ColumnHeadersHeight = 24;
+            this.dgvMaster.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
+            this.dgvMaster.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.Column1,
+            this.Column2,
+            this.Column10,
+            this.Column3,
+            this.Column5,
+            this.Column6,
+            this.Column7,
+            this.Column8,
+            this.Column9});
+            this.dgvMaster.Location = new System.Drawing.Point(10, 133);
+            this.dgvMaster.Name = "dgvMaster";
+            this.dgvMaster.RowHeadersVisible = false;
+            this.dgvMaster.RowHeadersWidth = 24;
+            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(1260, 506);
+            this.dgvMaster.TabIndex = 7;
+            this.dgvMaster.SelectionChanged += new System.EventHandler(this.dgvMaster_SelectionChanged);
+            this.dgvMaster.SizeChanged += new System.EventHandler(this.dgvMaster_SizeChanged);
+            this.dgvMaster.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvMaster_MouseUp);
             // 
+            // 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.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(1150, 644);
+            this.btnEnd.Name = "btnEnd";
+            this.btnEnd.Size = new System.Drawing.Size(120, 30);
+            this.btnEnd.TabIndex = 20;
+            this.btnEnd.Text = "終　了";
+            this.btnEnd.UseVisualStyleBackColor = false;
+            this.btnEnd.Click += new System.EventHandler(this.btnEnd_Click);
+            // 
+            // groupBox1
+            // 
+            this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.groupBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
+            this.groupBox1.Controls.Add(this.comboBox1);
+            this.groupBox1.Controls.Add(this.lblTotal);
+            this.groupBox1.Controls.Add(this.label1);
+            this.groupBox1.Controls.Add(this.label7);
+            this.groupBox1.Controls.Add(this.label6);
+            this.groupBox1.Controls.Add(this.numericUpDown2);
+            this.groupBox1.Controls.Add(this.label5);
+            this.groupBox1.Controls.Add(this.comboBox3);
+            this.groupBox1.Controls.Add(this.label4);
+            this.groupBox1.Controls.Add(this.comboBox2);
+            this.groupBox1.Controls.Add(this.label8);
+            this.groupBox1.Controls.Add(this.label2);
+            this.groupBox1.Location = new System.Drawing.Point(10, 40);
+            this.groupBox1.Name = "groupBox1";
+            this.groupBox1.Size = new System.Drawing.Size(1260, 85);
+            this.groupBox1.TabIndex = 21;
+            this.groupBox1.TabStop = false;
+            // 
+            // comboBox1
+            // 
+            this.comboBox1.BackColor = System.Drawing.Color.White;
+            this.comboBox1.DisplayMember = "Value";
+            this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.comboBox1.DropDownWidth = 120;
+            this.comboBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
+            this.comboBox1.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.comboBox1.FormattingEnabled = true;
+            this.comboBox1.Location = new System.Drawing.Point(422, 17);
+            this.comboBox1.Name = "comboBox1";
+            this.comboBox1.Size = new System.Drawing.Size(100, 24);
+            this.comboBox1.TabIndex = 32;
+            this.comboBox1.ValueMember = "Key";
+            // 
+            // label1
+            // 
+            this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
+            this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label1.CausesValidation = false;
+            this.label1.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            this.label1.Location = new System.Drawing.Point(294, 16);
+            this.label1.Name = "label1";
+            this.label1.Size = new System.Drawing.Size(120, 27);
+            this.label1.TabIndex = 41;
+            this.label1.Text = "請求月";
+            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+            // 
             // label7
             // 
             this.label7.AutoSize = true;
             this.label7.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label7.Location = new System.Drawing.Point(238, 10);
+            this.label7.Location = new System.Drawing.Point(253, 21);
             this.label7.Name = "label7";
             this.label7.Size = new System.Drawing.Size(25, 16);
-            this.label7.TabIndex = 30;
+            this.label7.TabIndex = 40;
             this.label7.Text = "期";
             // 
             // label6
@@ -203,16 +201,16 @@
             // 
             this.label6.AutoSize = true;
             this.label6.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label6.Location = new System.Drawing.Point(133, 10);
+            this.label6.Location = new System.Drawing.Point(148, 21);
             this.label6.Name = "label6";
             this.label6.Size = new System.Drawing.Size(25, 16);
-            this.label6.TabIndex = 29;
+            this.label6.TabIndex = 39;
             this.label6.Text = "第";
             // 
             // numericUpDown2
             // 
             this.numericUpDown2.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.numericUpDown2.Location = new System.Drawing.Point(158, 7);
+            this.numericUpDown2.Location = new System.Drawing.Point(173, 18);
             this.numericUpDown2.Maximum = new decimal(new int[] {
             12,
             0,
@@ -225,7 +223,7 @@
             0});
             this.numericUpDown2.Name = "numericUpDown2";
             this.numericUpDown2.Size = new System.Drawing.Size(80, 23);
-            this.numericUpDown2.TabIndex = 28;
+            this.numericUpDown2.TabIndex = 38;
             this.numericUpDown2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
             this.numericUpDown2.Value = new decimal(new int[] {
             1,
@@ -232,7 +230,6 @@
             0,
             0,
             0});
-            this.numericUpDown2.ValueChanged += new System.EventHandler(this.numericUpDown2_ValueChanged);
             // 
             // label5
             // 
@@ -240,16 +237,16 @@
             this.label5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label5.CausesValidation = false;
             this.label5.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label5.Location = new System.Drawing.Point(914, 5);
+            this.label5.Location = new System.Drawing.Point(876, 16);
             this.label5.Name = "label5";
             this.label5.Size = new System.Drawing.Size(120, 27);
-            this.label5.TabIndex = 27;
-            this.label5.Text = "担当者";
+            this.label5.TabIndex = 37;
+            this.label5.Text = "担　当　者";
             this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
             // comboBox3
             // 
-            this.comboBox3.BackColor = System.Drawing.Color.WhiteSmoke;
+            this.comboBox3.BackColor = System.Drawing.Color.White;
             this.comboBox3.DisplayMember = "Value";
             this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
             this.comboBox3.DropDownWidth = 120;
@@ -256,12 +253,11 @@
             this.comboBox3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.comboBox3.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.comboBox3.FormattingEnabled = true;
-            this.comboBox3.Location = new System.Drawing.Point(1042, 6);
+            this.comboBox3.Location = new System.Drawing.Point(1004, 17);
             this.comboBox3.Name = "comboBox3";
             this.comboBox3.Size = new System.Drawing.Size(194, 24);
-            this.comboBox3.TabIndex = 26;
+            this.comboBox3.TabIndex = 36;
             this.comboBox3.ValueMember = "Key";
-            this.comboBox3.SelectedIndexChanged += new System.EventHandler(this.comboBox3_SelectedIndexChanged);
             // 
             // label4
             // 
@@ -269,16 +265,16 @@
             this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label4.CausesValidation = false;
             this.label4.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label4.Location = new System.Drawing.Point(576, 5);
+            this.label4.Location = new System.Drawing.Point(538, 16);
             this.label4.Name = "label4";
             this.label4.Size = new System.Drawing.Size(120, 27);
-            this.label4.TabIndex = 25;
-            this.label4.Text = "部署";
+            this.label4.TabIndex = 35;
+            this.label4.Text = "部　　署";
             this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
             // comboBox2
             // 
-            this.comboBox2.BackColor = System.Drawing.Color.WhiteSmoke;
+            this.comboBox2.BackColor = System.Drawing.Color.White;
             this.comboBox2.DisplayMember = "Value";
             this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
             this.comboBox2.DropDownWidth = 120;
@@ -285,12 +281,11 @@
             this.comboBox2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
             this.comboBox2.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
             this.comboBox2.FormattingEnabled = true;
-            this.comboBox2.Location = new System.Drawing.Point(704, 6);
+            this.comboBox2.Location = new System.Drawing.Point(666, 17);
             this.comboBox2.Name = "comboBox2";
             this.comboBox2.Size = new System.Drawing.Size(194, 24);
-            this.comboBox2.TabIndex = 24;
+            this.comboBox2.TabIndex = 34;
             this.comboBox2.ValueMember = "Key";
-            this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
             // 
             // label2
             // 
@@ -298,770 +293,171 @@
             this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
             this.label2.CausesValidation = false;
             this.label2.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label2.Location = new System.Drawing.Point(5, 5);
+            this.label2.Location = new System.Drawing.Point(20, 16);
             this.label2.Name = "label2";
             this.label2.Size = new System.Drawing.Size(120, 27);
-            this.label2.TabIndex = 6;
+            this.label2.TabIndex = 33;
             this.label2.Text = "営業期";
             this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // dgvMaster
+            // lblTotal
             // 
-            this.dgvMaster.AllowUserToAddRows = 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)));
-            dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle28.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle28.Font = new System.Drawing.Font("ＭＳ 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dataGridViewCellStyle28.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle28.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle28.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle28.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvMaster.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle28;
-            this.dgvMaster.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
-            this.dgvMaster.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.EditStatus,
-            this.No,
-            this.OrderersDivision,
-            this.OrderersCode,
-            this.SeqNo,
-            this.LineCount,
-            this.OrderersName,
-            this.DepositDate,
-            this.DepositAmountCash,
-            this.DepositAmountBill,
-            this.RequestNo,
-            this.OrderNo,
-            this.ConstructionName,
-            this.ConstructionName_Raw,
-            this.PaymentSchedule,
-            this.BillCreationDate,
-            this.BillPrice,
-            this.TaxPrice,
-            this.DepositAmount,
-            this.DiscountAmount,
-            this.CnstrPrice,
-            this.Fees,
-            this.OtherAdjustments,
-            this.CarryAmount,
-            this.PersonName,
-            this.PersonCode,
-            this.PersonDate,
-            this.ApprovalName_1,
-            this.ApprovalCode_1,
-            this.ApprovalAuthority_1,
-            this.ApprovalDate_1,
-            this.ApprovalOrder_1,
-            this.ApprovalName_2,
-            this.ApprovalCode_2,
-            this.ApprovalAuthority_2,
-            this.ApprovalDate_2,
-            this.ApprovalOrder_2,
-            this.ApprovalName_3,
-            this.ApprovalCode_3,
-            this.ApprovalAuthority_3,
-            this.ApprovalDate_3,
-            this.ApprovalOrder_3,
-            this.ApprovalName_4,
-            this.ApprovalCode_4,
-            this.ApprovalAuthority_4,
-            this.ApprovalDate_4,
-            this.ApprovalOrder_4,
-            this.ApprovalName_5,
-            this.ApprovalCode_5,
-            this.ApprovalAuthority_5,
-            this.ApprovalDate_5,
-            this.ApprovalOrder_5,
-            this.ApprovalName_6,
-            this.ApprovalCode_6,
-            this.ApprovalAuthority_6,
-            this.ApprovalDate_6,
-            this.ApprovalOrder_6,
-            this.ApprovalName_7,
-            this.ApprovalCode_7,
-            this.ApprovalAuthority_7,
-            this.ApprovalDate_7,
-            this.ApprovalOrder_7,
-            this.ApprovalName_8,
-            this.ApprovalCode_8,
-            this.ApprovalAuthority_8,
-            this.ApprovalDate_8,
-            this.ApprovalOrder_8,
-            this.ApprovalName_9,
-            this.ApprovalCode_9,
-            this.ApprovalAuthority_9,
-            this.ApprovalDate_9,
-            this.ApprovalOrder_9,
-            this.ApprovalName_10,
-            this.ApprovalCode_10,
-            this.ApprovalAuthority_10,
-            this.ApprovalDate_10,
-            this.ApprovalOrder_10});
-            this.dgvMaster.EnableHeadersVisualStyles = false;
-            this.dgvMaster.Location = new System.Drawing.Point(5, 88);
-            this.dgvMaster.Name = "dgvMaster";
-            this.dgvMaster.RowHeadersVisible = false;
-            this.dgvMaster.RowHeadersWidth = 24;
-            this.dgvMaster.RowTemplate.Height = 21;
-            this.dgvMaster.Size = new System.Drawing.Size(1330, 502);
-            this.dgvMaster.TabIndex = 7;
+            this.lblTotal.BackColor = System.Drawing.Color.White;
+            this.lblTotal.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.lblTotal.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.lblTotal.Location = new System.Drawing.Point(148, 51);
+            this.lblTotal.Name = "lblTotal";
+            this.lblTotal.Size = new System.Drawing.Size(200, 30);
+            this.lblTotal.TabIndex = 22;
+            this.lblTotal.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
             // 
-            // EditStatus
+            // lblCellTotal
             // 
-            dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.EditStatus.DefaultCellStyle = dataGridViewCellStyle29;
-            this.EditStatus.HeaderText = "■編集状態";
-            this.EditStatus.Name = "EditStatus";
-            this.EditStatus.Visible = false;
+            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);
+            this.lblCellTotal.ForeColor = System.Drawing.Color.WhiteSmoke;
+            this.lblCellTotal.Location = new System.Drawing.Point(100, 613);
+            this.lblCellTotal.Name = "lblCellTotal";
+            this.lblCellTotal.Size = new System.Drawing.Size(0, 13);
+            this.lblCellTotal.TabIndex = 37;
             // 
-            // No
+            // Column1
             // 
-            dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.No.DefaultCellStyle = dataGridViewCellStyle30;
-            this.No.HeaderText = "No.";
-            this.No.Name = "No";
-            this.No.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.No.Width = 40;
+            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle2.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            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 = 60;
             // 
-            // OrderersDivision
+            // Column2
             // 
-            this.OrderersDivision.HeaderText = "■発注者区分";
-            this.OrderersDivision.Name = "OrderersDivision";
-            this.OrderersDivision.Visible = false;
+            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;
+            this.Column2.Width = 5;
             // 
-            // OrderersCode
+            // Column10
             // 
-            this.OrderersCode.HeaderText = "■発注者コード";
-            this.OrderersCode.Name = "OrderersCode";
-            this.OrderersCode.Visible = false;
+            this.Column10.Frozen = true;
+            this.Column10.HeaderText = "発注区分コード";
+            this.Column10.Name = "Column10";
+            this.Column10.ReadOnly = true;
+            this.Column10.Visible = false;
+            this.Column10.Width = 5;
             // 
-            // SeqNo
+            // Column3
             // 
-            this.SeqNo.HeaderText = "■連番";
-            this.SeqNo.Name = "SeqNo";
-            this.SeqNo.Visible = false;
+            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            this.Column3.DefaultCellStyle = dataGridViewCellStyle3;
+            this.Column3.Frozen = true;
+            this.Column3.HeaderText = "発　注　者";
+            this.Column3.Name = "Column3";
+            this.Column3.ReadOnly = true;
+            this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column3.Width = 660;
             // 
-            // LineCount
+            // Column5
             // 
-            this.LineCount.HeaderText = "■行番号";
-            this.LineCount.Name = "LineCount";
-            this.LineCount.Visible = false;
+            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            dataGridViewCellStyle4.Font = new System.Drawing.Font("Century", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Column5.DefaultCellStyle = dataGridViewCellStyle4;
+            this.Column5.Frozen = true;
+            this.Column5.HeaderText = "請求金額";
+            this.Column5.Name = "Column5";
+            this.Column5.ReadOnly = true;
+            this.Column5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column5.Width = 200;
             // 
-            // OrderersName
+            // Column6
             // 
-            this.OrderersName.HeaderText = "請求先名";
-            this.OrderersName.Name = "OrderersName";
-            this.OrderersName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.OrderersName.Width = 200;
+            this.Column6.Frozen = true;
+            this.Column6.HeaderText = "部署コード";
+            this.Column6.Name = "Column6";
+            this.Column6.ReadOnly = true;
+            this.Column6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column6.Visible = false;
+            this.Column6.Width = 5;
             // 
-            // DepositDate
+            // Column7
             // 
-            dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.DepositDate.DefaultCellStyle = dataGridViewCellStyle31;
-            this.DepositDate.HeaderText = "入金日";
-            this.DepositDate.Name = "DepositDate";
-            this.DepositDate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.DepositDate.Width = 120;
+            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column7.DefaultCellStyle = dataGridViewCellStyle5;
+            this.Column7.Frozen = true;
+            this.Column7.HeaderText = "部　　署";
+            this.Column7.Name = "Column7";
+            this.Column7.ReadOnly = true;
+            this.Column7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column7.Width = 160;
             // 
-            // DepositAmountCash
+            // Column8
             // 
-            dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.DepositAmountCash.DefaultCellStyle = dataGridViewCellStyle32;
-            this.DepositAmountCash.HeaderText = "入金金額\r\n（振込）";
-            this.DepositAmountCash.Name = "DepositAmountCash";
-            this.DepositAmountCash.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.DepositAmountCash.Width = 140;
+            this.Column8.Frozen = true;
+            this.Column8.HeaderText = "工事担当者コード";
+            this.Column8.Name = "Column8";
+            this.Column8.ReadOnly = true;
+            this.Column8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column8.Visible = false;
+            this.Column8.Width = 5;
             // 
-            // DepositAmountBill
+            // Column9
             // 
-            dataGridViewCellStyle33.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.DepositAmountBill.DefaultCellStyle = dataGridViewCellStyle33;
-            this.DepositAmountBill.HeaderText = "入金金額\r\n（手形）";
-            this.DepositAmountBill.Name = "DepositAmountBill";
-            this.DepositAmountBill.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.DepositAmountBill.Width = 140;
+            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.Column9.DefaultCellStyle = dataGridViewCellStyle6;
+            this.Column9.Frozen = true;
+            this.Column9.HeaderText = "工事担当者";
+            this.Column9.Name = "Column9";
+            this.Column9.ReadOnly = true;
+            this.Column9.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+            this.Column9.Width = 160;
             // 
-            // RequestNo
-            // 
-            this.RequestNo.HeaderText = "■請求No";
-            this.RequestNo.Name = "RequestNo";
-            this.RequestNo.Visible = false;
-            // 
-            // OrderNo
-            // 
-            this.OrderNo.HeaderText = "■受付番号";
-            this.OrderNo.Name = "OrderNo";
-            this.OrderNo.Visible = false;
-            // 
-            // ConstructionName
-            // 
-            this.ConstructionName.HeaderText = "現場名";
-            this.ConstructionName.Name = "ConstructionName";
-            this.ConstructionName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.ConstructionName.Width = 270;
-            // 
-            // ConstructionName_Raw
-            // 
-            this.ConstructionName_Raw.HeaderText = "■現場名 (DB登録値)";
-            this.ConstructionName_Raw.Name = "ConstructionName_Raw";
-            this.ConstructionName_Raw.Visible = false;
-            // 
-            // PaymentSchedule
-            // 
-            dataGridViewCellStyle34.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.PaymentSchedule.DefaultCellStyle = dataGridViewCellStyle34;
-            this.PaymentSchedule.HeaderText = "入金\r\n予定日";
-            this.PaymentSchedule.Name = "PaymentSchedule";
-            this.PaymentSchedule.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.PaymentSchedule.Visible = false;
-            this.PaymentSchedule.Width = 120;
-            // 
-            // BillCreationDate
-            // 
-            dataGridViewCellStyle35.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.BillCreationDate.DefaultCellStyle = dataGridViewCellStyle35;
-            this.BillCreationDate.HeaderText = "請求日";
-            this.BillCreationDate.Name = "BillCreationDate";
-            this.BillCreationDate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.BillCreationDate.Visible = false;
-            this.BillCreationDate.Width = 120;
-            // 
-            // BillPrice
-            // 
-            dataGridViewCellStyle36.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.BillPrice.DefaultCellStyle = dataGridViewCellStyle36;
-            this.BillPrice.HeaderText = "請求金額\r\n（税抜）";
-            this.BillPrice.Name = "BillPrice";
-            this.BillPrice.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.BillPrice.Visible = false;
-            this.BillPrice.Width = 140;
-            // 
-            // TaxPrice
-            // 
-            dataGridViewCellStyle37.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.TaxPrice.DefaultCellStyle = dataGridViewCellStyle37;
-            this.TaxPrice.HeaderText = "請求金額\r\n（消費税）";
-            this.TaxPrice.Name = "TaxPrice";
-            this.TaxPrice.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.TaxPrice.Visible = false;
-            this.TaxPrice.Width = 140;
-            // 
-            // DepositAmount
-            // 
-            dataGridViewCellStyle38.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.DepositAmount.DefaultCellStyle = dataGridViewCellStyle38;
-            this.DepositAmount.HeaderText = "入金金額";
-            this.DepositAmount.Name = "DepositAmount";
-            this.DepositAmount.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.DepositAmount.Width = 140;
-            // 
-            // DiscountAmount
-            // 
-            dataGridViewCellStyle39.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.DiscountAmount.DefaultCellStyle = dataGridViewCellStyle39;
-            this.DiscountAmount.HeaderText = "値引金額";
-            this.DiscountAmount.Name = "DiscountAmount";
-            this.DiscountAmount.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.DiscountAmount.Width = 140;
-            // 
-            // CnstrPrice
-            // 
-            dataGridViewCellStyle40.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.CnstrPrice.DefaultCellStyle = dataGridViewCellStyle40;
-            this.CnstrPrice.HeaderText = "協力金";
-            this.CnstrPrice.Name = "CnstrPrice";
-            this.CnstrPrice.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.CnstrPrice.Width = 140;
-            // 
-            // Fees
-            // 
-            dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.Fees.DefaultCellStyle = dataGridViewCellStyle41;
-            this.Fees.HeaderText = "手数料";
-            this.Fees.Name = "Fees";
-            this.Fees.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.Fees.Width = 140;
-            // 
-            // OtherAdjustments
-            // 
-            dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.OtherAdjustments.DefaultCellStyle = dataGridViewCellStyle42;
-            this.OtherAdjustments.HeaderText = "その他調整";
-            this.OtherAdjustments.Name = "OtherAdjustments";
-            this.OtherAdjustments.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.OtherAdjustments.Width = 140;
-            // 
-            // CarryAmount
-            // 
-            dataGridViewCellStyle43.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.CarryAmount.DefaultCellStyle = dataGridViewCellStyle43;
-            this.CarryAmount.HeaderText = "次回繰越";
-            this.CarryAmount.Name = "CarryAmount";
-            this.CarryAmount.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.CarryAmount.Width = 140;
-            // 
-            // PersonName
-            // 
-            dataGridViewCellStyle44.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.PersonName.DefaultCellStyle = dataGridViewCellStyle44;
-            this.PersonName.HeaderText = "担当者\r\n承認";
-            this.PersonName.Name = "PersonName";
-            this.PersonName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.PersonName.Width = 110;
-            // 
-            // PersonCode
-            // 
-            this.PersonCode.HeaderText = "■担当者コード";
-            this.PersonCode.Name = "PersonCode";
-            this.PersonCode.Visible = false;
-            // 
-            // PersonDate
-            // 
-            this.PersonDate.HeaderText = "■担当者日付";
-            this.PersonDate.Name = "PersonDate";
-            this.PersonDate.Visible = false;
-            // 
-            // ApprovalName_1
-            // 
-            dataGridViewCellStyle45.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.ApprovalName_1.DefaultCellStyle = dataGridViewCellStyle45;
-            this.ApprovalName_1.HeaderText = "承認者1\r\n承認";
-            this.ApprovalName_1.Name = "ApprovalName_1";
-            this.ApprovalName_1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.ApprovalName_1.Visible = false;
-            this.ApprovalName_1.Width = 110;
-            // 
-            // ApprovalCode_1
-            // 
-            this.ApprovalCode_1.HeaderText = "■承認者コード_1";
-            this.ApprovalCode_1.Name = "ApprovalCode_1";
-            this.ApprovalCode_1.Visible = false;
-            // 
-            // ApprovalAuthority_1
-            // 
-            this.ApprovalAuthority_1.HeaderText = "■承認権限区分_1";
-            this.ApprovalAuthority_1.Name = "ApprovalAuthority_1";
-            this.ApprovalAuthority_1.Visible = false;
-            // 
-            // ApprovalDate_1
-            // 
-            this.ApprovalDate_1.HeaderText = "■承認日付_1";
-            this.ApprovalDate_1.Name = "ApprovalDate_1";
-            this.ApprovalDate_1.Visible = false;
-            // 
-            // ApprovalOrder_1
-            // 
-            this.ApprovalOrder_1.HeaderText = "■承認順番_1";
-            this.ApprovalOrder_1.Name = "ApprovalOrder_1";
-            this.ApprovalOrder_1.Visible = false;
-            // 
-            // ApprovalName_2
-            // 
-            dataGridViewCellStyle46.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.ApprovalName_2.DefaultCellStyle = dataGridViewCellStyle46;
-            this.ApprovalName_2.HeaderText = "承認者2\r\n承認";
-            this.ApprovalName_2.Name = "ApprovalName_2";
-            this.ApprovalName_2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.ApprovalName_2.Visible = false;
-            this.ApprovalName_2.Width = 110;
-            // 
-            // ApprovalCode_2
-            // 
-            this.ApprovalCode_2.HeaderText = "■承認者コード_2";
-            this.ApprovalCode_2.Name = "ApprovalCode_2";
-            this.ApprovalCode_2.Visible = false;
-            // 
-            // ApprovalAuthority_2
-            // 
-            this.ApprovalAuthority_2.HeaderText = "■承認権限区分_2";
-            this.ApprovalAuthority_2.Name = "ApprovalAuthority_2";
-            this.ApprovalAuthority_2.Visible = false;
-            // 
-            // ApprovalDate_2
-            // 
-            this.ApprovalDate_2.HeaderText = "■承認日付_2";
-            this.ApprovalDate_2.Name = "ApprovalDate_2";
-            this.ApprovalDate_2.Visible = false;
-            // 
-            // ApprovalOrder_2
-            // 
-            this.ApprovalOrder_2.HeaderText = "■承認順番_2";
-            this.ApprovalOrder_2.Name = "ApprovalOrder_2";
-            this.ApprovalOrder_2.Visible = false;
-            // 
-            // ApprovalName_3
-            // 
-            dataGridViewCellStyle47.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.ApprovalName_3.DefaultCellStyle = dataGridViewCellStyle47;
-            this.ApprovalName_3.HeaderText = "承認者3\r\n承認";
-            this.ApprovalName_3.Name = "ApprovalName_3";
-            this.ApprovalName_3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.ApprovalName_3.Visible = false;
-            this.ApprovalName_3.Width = 110;
-            // 
-            // ApprovalCode_3
-            // 
-            this.ApprovalCode_3.HeaderText = "■承認者コード_3";
-            this.ApprovalCode_3.Name = "ApprovalCode_3";
-            this.ApprovalCode_3.Visible = false;
-            // 
-            // ApprovalAuthority_3
-            // 
-            this.ApprovalAuthority_3.HeaderText = "■承認権限区分_3";
-            this.ApprovalAuthority_3.Name = "ApprovalAuthority_3";
-            this.ApprovalAuthority_3.Visible = false;
-            // 
-            // ApprovalDate_3
-            // 
-            this.ApprovalDate_3.HeaderText = "■承認日付_3";
-            this.ApprovalDate_3.Name = "ApprovalDate_3";
-            this.ApprovalDate_3.Visible = false;
-            // 
-            // ApprovalOrder_3
-            // 
-            this.ApprovalOrder_3.HeaderText = "■承認順番_3";
-            this.ApprovalOrder_3.Name = "ApprovalOrder_3";
-            this.ApprovalOrder_3.Visible = false;
-            // 
-            // ApprovalName_4
-            // 
-            dataGridViewCellStyle48.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.ApprovalName_4.DefaultCellStyle = dataGridViewCellStyle48;
-            this.ApprovalName_4.HeaderText = "承認者4\r\n承認";
-            this.ApprovalName_4.Name = "ApprovalName_4";
-            this.ApprovalName_4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.ApprovalName_4.Visible = false;
-            this.ApprovalName_4.Width = 110;
-            // 
-            // ApprovalCode_4
-            // 
-            this.ApprovalCode_4.HeaderText = "■承認者コード_4";
-            this.ApprovalCode_4.Name = "ApprovalCode_4";
-            this.ApprovalCode_4.Visible = false;
-            // 
-            // ApprovalAuthority_4
-            // 
-            this.ApprovalAuthority_4.HeaderText = "■承認権限区分_4";
-            this.ApprovalAuthority_4.Name = "ApprovalAuthority_4";
-            this.ApprovalAuthority_4.Visible = false;
-            // 
-            // ApprovalDate_4
-            // 
-            this.ApprovalDate_4.HeaderText = "■承認日付_4";
-            this.ApprovalDate_4.Name = "ApprovalDate_4";
-            this.ApprovalDate_4.Visible = false;
-            // 
-            // ApprovalOrder_4
-            // 
-            this.ApprovalOrder_4.HeaderText = "■承認順番_4";
-            this.ApprovalOrder_4.Name = "ApprovalOrder_4";
-            this.ApprovalOrder_4.Visible = false;
-            // 
-            // ApprovalName_5
-            // 
-            dataGridViewCellStyle49.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.ApprovalName_5.DefaultCellStyle = dataGridViewCellStyle49;
-            this.ApprovalName_5.HeaderText = "承認者5\r\n承認";
-            this.ApprovalName_5.Name = "ApprovalName_5";
-            this.ApprovalName_5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.ApprovalName_5.Visible = false;
-            this.ApprovalName_5.Width = 110;
-            // 
-            // ApprovalCode_5
-            // 
-            this.ApprovalCode_5.HeaderText = "■承認者コード_5";
-            this.ApprovalCode_5.Name = "ApprovalCode_5";
-            this.ApprovalCode_5.Visible = false;
-            // 
-            // ApprovalAuthority_5
-            // 
-            this.ApprovalAuthority_5.HeaderText = "■承認権限区分_5";
-            this.ApprovalAuthority_5.Name = "ApprovalAuthority_5";
-            this.ApprovalAuthority_5.Visible = false;
-            // 
-            // ApprovalDate_5
-            // 
-            this.ApprovalDate_5.HeaderText = "■承認日付_5";
-            this.ApprovalDate_5.Name = "ApprovalDate_5";
-            this.ApprovalDate_5.Visible = false;
-            // 
-            // ApprovalOrder_5
-            // 
-            this.ApprovalOrder_5.HeaderText = "■承認順番_5";
-            this.ApprovalOrder_5.Name = "ApprovalOrder_5";
-            this.ApprovalOrder_5.Visible = false;
-            // 
-            // ApprovalName_6
-            // 
-            dataGridViewCellStyle50.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.ApprovalName_6.DefaultCellStyle = dataGridViewCellStyle50;
-            this.ApprovalName_6.HeaderText = "承認者6\r\n承認";
-            this.ApprovalName_6.Name = "ApprovalName_6";
-            this.ApprovalName_6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.ApprovalName_6.Visible = false;
-            this.ApprovalName_6.Width = 110;
-            // 
-            // ApprovalCode_6
-            // 
-            this.ApprovalCode_6.HeaderText = "■承認者コード_6";
-            this.ApprovalCode_6.Name = "ApprovalCode_6";
-            this.ApprovalCode_6.Visible = false;
-            // 
-            // ApprovalAuthority_6
-            // 
-            this.ApprovalAuthority_6.HeaderText = "■承認権限区分_6";
-            this.ApprovalAuthority_6.Name = "ApprovalAuthority_6";
-            this.ApprovalAuthority_6.Visible = false;
-            // 
-            // ApprovalDate_6
-            // 
-            this.ApprovalDate_6.HeaderText = "■承認日付_6";
-            this.ApprovalDate_6.Name = "ApprovalDate_6";
-            this.ApprovalDate_6.Visible = false;
-            // 
-            // ApprovalOrder_6
-            // 
-            this.ApprovalOrder_6.HeaderText = "■承認順番_6";
-            this.ApprovalOrder_6.Name = "ApprovalOrder_6";
-            this.ApprovalOrder_6.Visible = false;
-            // 
-            // ApprovalName_7
-            // 
-            dataGridViewCellStyle51.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.ApprovalName_7.DefaultCellStyle = dataGridViewCellStyle51;
-            this.ApprovalName_7.HeaderText = "承認者7\r\n承認";
-            this.ApprovalName_7.Name = "ApprovalName_7";
-            this.ApprovalName_7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.ApprovalName_7.Visible = false;
-            this.ApprovalName_7.Width = 110;
-            // 
-            // ApprovalCode_7
-            // 
-            this.ApprovalCode_7.HeaderText = "■承認者コード_7";
-            this.ApprovalCode_7.Name = "ApprovalCode_7";
-            this.ApprovalCode_7.Visible = false;
-            // 
-            // ApprovalAuthority_7
-            // 
-            this.ApprovalAuthority_7.HeaderText = "■承認権限区分_7";
-            this.ApprovalAuthority_7.Name = "ApprovalAuthority_7";
-            this.ApprovalAuthority_7.Visible = false;
-            // 
-            // ApprovalDate_7
-            // 
-            this.ApprovalDate_7.HeaderText = "■承認日付_7";
-            this.ApprovalDate_7.Name = "ApprovalDate_7";
-            this.ApprovalDate_7.Visible = false;
-            // 
-            // ApprovalOrder_7
-            // 
-            this.ApprovalOrder_7.HeaderText = "■承認順番_7";
-            this.ApprovalOrder_7.Name = "ApprovalOrder_7";
-            this.ApprovalOrder_7.Visible = false;
-            // 
-            // ApprovalName_8
-            // 
-            dataGridViewCellStyle52.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.ApprovalName_8.DefaultCellStyle = dataGridViewCellStyle52;
-            this.ApprovalName_8.HeaderText = "承認者8\r\n承認";
-            this.ApprovalName_8.Name = "ApprovalName_8";
-            this.ApprovalName_8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.ApprovalName_8.Visible = false;
-            this.ApprovalName_8.Width = 110;
-            // 
-            // ApprovalCode_8
-            // 
-            this.ApprovalCode_8.HeaderText = "■承認者コード_8";
-            this.ApprovalCode_8.Name = "ApprovalCode_8";
-            this.ApprovalCode_8.Visible = false;
-            // 
-            // ApprovalAuthority_8
-            // 
-            this.ApprovalAuthority_8.HeaderText = "■承認権限区分_8";
-            this.ApprovalAuthority_8.Name = "ApprovalAuthority_8";
-            this.ApprovalAuthority_8.Visible = false;
-            // 
-            // ApprovalDate_8
-            // 
-            this.ApprovalDate_8.HeaderText = "■承認日付_8";
-            this.ApprovalDate_8.Name = "ApprovalDate_8";
-            this.ApprovalDate_8.Visible = false;
-            // 
-            // ApprovalOrder_8
-            // 
-            this.ApprovalOrder_8.HeaderText = "■承認順番_8";
-            this.ApprovalOrder_8.Name = "ApprovalOrder_8";
-            this.ApprovalOrder_8.Visible = false;
-            // 
-            // ApprovalName_9
-            // 
-            dataGridViewCellStyle53.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.ApprovalName_9.DefaultCellStyle = dataGridViewCellStyle53;
-            this.ApprovalName_9.HeaderText = "承認者9\r\n承認";
-            this.ApprovalName_9.Name = "ApprovalName_9";
-            this.ApprovalName_9.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.ApprovalName_9.Visible = false;
-            this.ApprovalName_9.Width = 110;
-            // 
-            // ApprovalCode_9
-            // 
-            this.ApprovalCode_9.HeaderText = "■承認者コード_9";
-            this.ApprovalCode_9.Name = "ApprovalCode_9";
-            this.ApprovalCode_9.Visible = false;
-            // 
-            // ApprovalAuthority_9
-            // 
-            this.ApprovalAuthority_9.HeaderText = "■承認権限区分_9";
-            this.ApprovalAuthority_9.Name = "ApprovalAuthority_9";
-            this.ApprovalAuthority_9.Visible = false;
-            // 
-            // ApprovalDate_9
-            // 
-            this.ApprovalDate_9.HeaderText = "■承認日付_9";
-            this.ApprovalDate_9.Name = "ApprovalDate_9";
-            this.ApprovalDate_9.Visible = false;
-            // 
-            // ApprovalOrder_9
-            // 
-            this.ApprovalOrder_9.HeaderText = "■承認順番_9";
-            this.ApprovalOrder_9.Name = "ApprovalOrder_9";
-            this.ApprovalOrder_9.Visible = false;
-            // 
-            // ApprovalName_10
-            // 
-            dataGridViewCellStyle54.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.ApprovalName_10.DefaultCellStyle = dataGridViewCellStyle54;
-            this.ApprovalName_10.HeaderText = "承認者10\r\n承認";
-            this.ApprovalName_10.Name = "ApprovalName_10";
-            this.ApprovalName_10.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
-            this.ApprovalName_10.Visible = false;
-            this.ApprovalName_10.Width = 110;
-            // 
-            // ApprovalCode_10
-            // 
-            this.ApprovalCode_10.HeaderText = "■承認者コード_10";
-            this.ApprovalCode_10.Name = "ApprovalCode_10";
-            this.ApprovalCode_10.Visible = false;
-            // 
-            // ApprovalAuthority_10
-            // 
-            this.ApprovalAuthority_10.HeaderText = "■承認権限区分_10";
-            this.ApprovalAuthority_10.Name = "ApprovalAuthority_10";
-            this.ApprovalAuthority_10.Visible = false;
-            // 
-            // ApprovalDate_10
-            // 
-            this.ApprovalDate_10.HeaderText = "■承認日付_10";
-            this.ApprovalDate_10.Name = "ApprovalDate_10";
-            this.ApprovalDate_10.Visible = false;
-            // 
-            // ApprovalOrder_10
-            // 
-            this.ApprovalOrder_10.HeaderText = "■承認順番_10";
-            this.ApprovalOrder_10.Name = "ApprovalOrder_10";
-            this.ApprovalOrder_10.Visible = false;
-            // 
-            // 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.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(1214, 625);
-            this.btnEnd.Name = "btnEnd";
-            this.btnEnd.Size = new System.Drawing.Size(120, 30);
-            this.btnEnd.TabIndex = 20;
-            this.btnEnd.Text = "終　了";
-            this.btnEnd.UseVisualStyleBackColor = false;
-            this.btnEnd.Click += new System.EventHandler(this.btnEnd_Click);
-            // 
-            // groupBoxEx1
-            // 
-            this.groupBoxEx1.BorderColor = System.Drawing.Color.Black;
-            this.groupBoxEx1.Controls.Add(this.comboBox1);
-            this.groupBoxEx1.Controls.Add(this.label8);
-            this.groupBoxEx1.Controls.Add(this.radioButton2);
-            this.groupBoxEx1.Controls.Add(this.radioButton1);
-            this.groupBoxEx1.Location = new System.Drawing.Point(289, 2);
-            this.groupBoxEx1.Name = "groupBoxEx1";
-            this.groupBoxEx1.Size = new System.Drawing.Size(280, 36);
-            this.groupBoxEx1.TabIndex = 32;
-            this.groupBoxEx1.TabStop = false;
-            // 
-            // comboBox1
-            // 
-            this.comboBox1.BackColor = System.Drawing.Color.WhiteSmoke;
-            this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.comboBox1.DropDownWidth = 120;
-            this.comboBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
-            this.comboBox1.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.comboBox1.FormattingEnabled = true;
-            this.comboBox1.Location = new System.Drawing.Point(164, 7);
-            this.comboBox1.Name = "comboBox1";
-            this.comboBox1.Size = new System.Drawing.Size(59, 24);
-            this.comboBox1.TabIndex = 32;
-            this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
-            // 
             // label8
             // 
-            this.label8.AutoSize = true;
+            this.label8.BackColor = System.Drawing.Color.Black;
+            this.label8.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+            this.label8.CausesValidation = false;
             this.label8.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.label8.Location = new System.Drawing.Point(229, 12);
+            this.label8.ForeColor = System.Drawing.Color.White;
+            this.label8.Location = new System.Drawing.Point(20, 51);
             this.label8.Name = "label8";
-            this.label8.Size = new System.Drawing.Size(25, 16);
-            this.label8.TabIndex = 0;
-            this.label8.Text = "月";
+            this.label8.Size = new System.Drawing.Size(120, 30);
+            this.label8.TabIndex = 33;
+            this.label8.Text = "合計金額";
+            this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // radioButton2
-            // 
-            this.radioButton2.AutoSize = true;
-            this.radioButton2.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.radioButton2.Location = new System.Drawing.Point(80, 10);
-            this.radioButton2.Name = "radioButton2";
-            this.radioButton2.Size = new System.Drawing.Size(77, 20);
-            this.radioButton2.TabIndex = 23;
-            this.radioButton2.TabStop = true;
-            this.radioButton2.Text = "月指定";
-            this.radioButton2.UseVisualStyleBackColor = true;
-            this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged);
-            // 
-            // radioButton1
-            // 
-            this.radioButton1.AutoSize = true;
-            this.radioButton1.Font = new System.Drawing.Font("ＭＳ 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            this.radioButton1.Location = new System.Drawing.Point(15, 10);
-            this.radioButton1.Name = "radioButton1";
-            this.radioButton1.Size = new System.Drawing.Size(60, 20);
-            this.radioButton1.TabIndex = 22;
-            this.radioButton1.TabStop = true;
-            this.radioButton1.Text = "通年";
-            this.radioButton1.UseVisualStyleBackColor = true;
-            this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
-            // 
             // FrmSalesConfirm
             // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 15F);
-            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            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(1344, 661);
+            this.ClientSize = new System.Drawing.Size(1280, 677);
+            this.Controls.Add(this.lblCellTotal);
+            this.Controls.Add(this.groupBox1);
             this.Controls.Add(this.btnEnd);
             this.Controls.Add(this.dgvMaster);
-            this.Controls.Add(this.panel1);
             this.Controls.Add(this.label3);
-            this.Font = new System.Drawing.Font("ＭＳ 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
+            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.Margin = new System.Windows.Forms.Padding(4);
             this.Name = "FrmSalesConfirm";
+            this.ShowIcon = false;
             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
             this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmSalesConfirm_FormClosing);
             this.Load += new System.EventHandler(this.FrmSalesConfirm_Load);
-            this.panel1.ResumeLayout(false);
-            this.panel1.PerformLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvMaster)).EndInit();
+            this.groupBox1.ResumeLayout(false);
+            this.groupBox1.PerformLayout();
             ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.dgvMaster)).EndInit();
-            this.groupBoxEx1.ResumeLayout(false);
-            this.groupBoxEx1.PerformLayout();
             this.ResumeLayout(false);
+            this.PerformLayout();
 
         }
 
@@ -1068,99 +464,31 @@
         #endregion
 
         private System.Windows.Forms.Label label3;
-        private System.Windows.Forms.Panel panel1;
-        private System.Windows.Forms.Label label2;
         private System.Windows.Forms.DataGridView dgvMaster;
         private System.Windows.Forms.Button btnEnd;
+        private System.Windows.Forms.GroupBox groupBox1;
+        private System.Windows.Forms.Label label7;
+        private System.Windows.Forms.Label label6;
+        private System.Windows.Forms.NumericUpDown numericUpDown2;
         private System.Windows.Forms.Label label5;
         private System.Windows.Forms.ComboBox comboBox3;
         private System.Windows.Forms.Label label4;
         private System.Windows.Forms.ComboBox comboBox2;
-        private System.Windows.Forms.NumericUpDown numericUpDown2;
-        private System.Windows.Forms.Label label7;
-        private System.Windows.Forms.Label label6;
-        private System.Windows.Forms.DataGridViewTextBoxColumn EditStatus;
-        private System.Windows.Forms.DataGridViewTextBoxColumn No;
-        private System.Windows.Forms.DataGridViewTextBoxColumn OrderersDivision;
-        private System.Windows.Forms.DataGridViewTextBoxColumn OrderersCode;
-        private System.Windows.Forms.DataGridViewTextBoxColumn SeqNo;
-        private System.Windows.Forms.DataGridViewTextBoxColumn LineCount;
-        private System.Windows.Forms.DataGridViewTextBoxColumn OrderersName;
-        private System.Windows.Forms.DataGridViewTextBoxColumn DepositDate;
-        private System.Windows.Forms.DataGridViewTextBoxColumn DepositAmountCash;
-        private System.Windows.Forms.DataGridViewTextBoxColumn DepositAmountBill;
-        private System.Windows.Forms.DataGridViewTextBoxColumn RequestNo;
-        private System.Windows.Forms.DataGridViewTextBoxColumn OrderNo;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ConstructionName;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ConstructionName_Raw;
-        private System.Windows.Forms.DataGridViewTextBoxColumn PaymentSchedule;
-        private System.Windows.Forms.DataGridViewTextBoxColumn BillCreationDate;
-        private System.Windows.Forms.DataGridViewTextBoxColumn BillPrice;
-        private System.Windows.Forms.DataGridViewTextBoxColumn TaxPrice;
-        private System.Windows.Forms.DataGridViewTextBoxColumn DepositAmount;
-        private System.Windows.Forms.DataGridViewTextBoxColumn DiscountAmount;
-        private System.Windows.Forms.DataGridViewTextBoxColumn CnstrPrice;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Fees;
-        private System.Windows.Forms.DataGridViewTextBoxColumn OtherAdjustments;
-        private System.Windows.Forms.DataGridViewTextBoxColumn CarryAmount;
-        private System.Windows.Forms.DataGridViewTextBoxColumn PersonName;
-        private System.Windows.Forms.DataGridViewTextBoxColumn PersonCode;
-        private System.Windows.Forms.DataGridViewTextBoxColumn PersonDate;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalName_1;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalCode_1;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalAuthority_1;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalDate_1;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalOrder_1;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalName_2;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalCode_2;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalAuthority_2;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalDate_2;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalOrder_2;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalName_3;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalCode_3;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalAuthority_3;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalDate_3;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalOrder_3;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalName_4;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalCode_4;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalAuthority_4;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalDate_4;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalOrder_4;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalName_5;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalCode_5;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalAuthority_5;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalDate_5;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalOrder_5;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalName_6;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalCode_6;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalAuthority_6;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalDate_6;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalOrder_6;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalName_7;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalCode_7;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalAuthority_7;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalDate_7;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalOrder_7;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalName_8;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalCode_8;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalAuthority_8;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalDate_8;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalOrder_8;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalName_9;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalCode_9;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalAuthority_9;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalDate_9;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalOrder_9;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalName_10;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalCode_10;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalAuthority_10;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalDate_10;
-        private System.Windows.Forms.DataGridViewTextBoxColumn ApprovalOrder_10;
-        private CustomControls.GroupBoxEx groupBoxEx1;
+        private System.Windows.Forms.Label label2;
         private System.Windows.Forms.ComboBox comboBox1;
+        private System.Windows.Forms.Label label1;
+        private System.Windows.Forms.Label lblTotal;
+        private System.Windows.Forms.Label lblCellTotal;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column10;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column8;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column9;
         private System.Windows.Forms.Label label8;
-        private System.Windows.Forms.RadioButton radioButton2;
-        private System.Windows.Forms.RadioButton radioButton1;
     }
 }
 
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirm.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirm.cs	(revision 180)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirm.cs	(revision 181)
@@ -40,405 +40,21 @@
 
         #region 定数
         /// <summary>
-        /// 承認状態
+        /// 表示カラム
         /// </summary>
-        public enum ApprovalStatus
+        public enum GridColumn
         {
-            None = 0,
-            InCharge,
-            InApproval,
-            Approved,
-        }
-
-        /// <summary>
-        /// 合計行の見出し
-        /// </summary>
-        private enum TotalRows
-        {
-            小計 = 1,
-            入金金額,
-            調整後金額,
-            差額,
-        }
-
-        /// <summary>
-        /// 表示カラム ※■は非表示セル
-        /// </summary>
-        private enum DispColumn
-        {
-            RowType = 0,                                                        // ■編集状態
-            No,                                                                 // No
-            OrderersDivision,                                                   // ■発注先区分
-            OrderersCode,                                                       // ■発注者コード
-            SeqNo,                                                              // ■連番
-            LineCount,                                                          // ■行番号
-            OrderersName,                                                       // 請求先名
-            DepositDate,                                                        // 入金日
-            DepositAmountCash,                                                  // 入金金額 (振込み)
-            DepositAmountBill,                                                  // 入金金額 (手形)
-            RequestNo,                                                          // ■請求No.
-            OrderNo,                                                            // ■受付番号
-            ConstructionName,                                                   // 現場名
-            ConstructionName_Raw,                                               // ■現場名 (DB登録値)
-            PaymentSchedule,                                                    // 入金予定日
-            BillCreationDate,                                                   // 請求日
-            BillPrice,                                                          // 請求金額 (税抜)
-            TaxPrice,                                                           // 請求金額 (消費税)
-            DepositAmount,                                                      // 入金金額
-            DiscountAmount,                                                     // 値引金額
-            CnstrPrice,                                                         // 協力金
-            Fees,                                                               // 手数料
-            OtherAdjustments,                                                   // その他調整
-            CarryAmount,                                                        // 次回繰越
-            PersonName,                                                         // 担当者承認
-            PersonCode,                                                         // ■担当者コード
-            PersonDate,                                                         // ■担当者日付
-            ApprovalName_1,                                                     // 承認者１承認
-            ApprovalCode_1,                                                     // ■承認者コード_1
-            ApprovalAuthority_1,                                                // ■承認権限区分_1
-            ApprovalDate_1,                                                     // ■承認日付_1
-            ApprovalOrder_1,                                                    // ■承認順番_1
-            ApprovalName_2,                                                     // 承認者２承認
-            ApprovalCode_2,                                                     // ■承認者コード_2
-            ApprovalAuthority_2,                                                // ■承認権限区分_2
-            ApprovalDate_2,                                                     // ■承認日付_2
-            ApprovalOrder_2,                                                    // ■承認順番_2
-            ApprovalName_3,                                                     // 承認者３承認
-            ApprovalCode_3,                                                     // ■承認者コード_3
-            ApprovalAuthority_3,                                                // ■承認権限区分_3
-            ApprovalDate_3,                                                     // ■承認日付_3
-            ApprovalOrder_3,                                                    // ■承認順番_3
-            ApprovalName_4,                                                     // 承認者４承認
-            ApprovalCode_4,                                                     // ■承認者コード_4
-            ApprovalAuthority_4,                                                // ■承認権限区分_4
-            ApprovalDate_4,                                                     // ■承認日付_4
-            ApprovalOrder_4,                                                    // ■承認順番_4
-            ApprovalName_5,                                                     // 承認者５承認
-            ApprovalCode_5,                                                     // ■承認者コード_5
-            ApprovalAuthority_5,                                                // ■承認権限区分_5
-            ApprovalDate_5,                                                     // ■承認日付_5
-            ApprovalOrder_5,                                                    // ■承認順番_5
-            ApprovalName_6,                                                     // 承認者６承認
-            ApprovalCode_6,                                                     // ■承認者コード_6
-            ApprovalAuthority_6,                                                // ■承認権限区分_6
-            ApprovalDate_6,                                                     // ■承認日付_6
-            ApprovalOrder_6,                                                    // ■承認順番_6
-            ApprovalName_7,                                                     // 承認者７承認
-            ApprovalCode_7,                                                     // ■承認者コード_7
-            ApprovalAuthority_7,                                                // ■承認権限区分_7
-            ApprovalDate_7,                                                     // ■承認日付_7
-            ApprovalOrder_7,                                                    // ■承認順番_7
-            ApprovalName_8,                                                     // 承認者８承認
-            ApprovalCode_8,                                                     // ■承認者コード_8
-            ApprovalAuthority_8,                                                // ■承認権限区分_8
-            ApprovalDate_8,                                                     // ■承認日付_8
-            ApprovalOrder_8,                                                    // ■承認順番_8
-            ApprovalName_9,                                                     // 承認者９承認
-            ApprovalCode_9,                                                     // ■承認者コード_9
-            ApprovalAuthority_9,                                                // ■承認権限区分_9
-            ApprovalDate_9,                                                     // ■承認日付_9
-            ApprovalOrder_9,                                                    // ■承認順番_9
-            ApprovalName_10,                                                    // 承認者１０承認
-            ApprovalCode_10,                                                    // ■承認者コード_10
-            ApprovalAuthority_10,                                               // ■承認権限区分_10
-            ApprovalDate_10,                                                    // ■承認日付_10
-            ApprovalOrder_10,                                                   // ■承認順番_10
-        }
-
-        /// <summary>
-        /// 取得するデータ項目
-        /// </summary>
-        private enum ClickGetData
-        {
-            OrderersDivision = 0,
-            OrderersCode,
-            TargetDate,
-            SeqNo,
-            DepositDate,
-            DepositAmountCash,
-            DepositAmountBill,
-            CorporateStatusName,
-            CorporateStatusPoint,
-            OrderersName1,
-            OrderersName2,
-            LineCount,
-            RequestNo,
-            OrderNo,
-            DepositAmount,
-            DiscountAmount,
-            CnstrPrice,
-            Fees,
-            OtherAdjustments,
-            CarryAmount,
-            ApprovalPersonCode,
-            ApprovalDate,
-            ApprovalEndFlg,
-            PersonName,
+            No = 0,
+            OrdersCode,
+            OrdersDivision,
+            OrdersName,
+            OrderPrice,
             DepartmentCode,
-            BillCreationDate,
-            BillPrice,
-            TaxPrice,
-            ConstructionCode,
-            ConstructionPersonCode,
-            ConstrSubPersonCode,
-            ConstructionInstructor,
-            DetailNo,
-            DetailString,
-            ApprovalPersonName1,
-            ApprovalPerson1,
-            ApprovalAuthority1,
-            ApprovalDate1,
-            ApprovalPersonName2,
-            ApprovalPerson2,
-            ApprovalAuthority2,
-            ApprovalDate2,
-            ApprovalPersonName3,
-            ApprovalPerson3,
-            ApprovalAuthority3,
-            ApprovalDate3,
-            ApprovalPersonName4,
-            ApprovalPerson4,
-            ApprovalAuthority4,
-            ApprovalDate4,
-            ApprovalPersonName5,
-            ApprovalPerson5,
-            ApprovalAuthority5,
-            ApprovalDate5,
-            ApprovalPersonName6,
-            ApprovalPerson6,
-            ApprovalAuthority6,
-            ApprovalDate6,
-            ApprovalPersonName7,
-            ApprovalPerson7,
-            ApprovalAuthority7,
-            ApprovalDate7,
-            ApprovalPersonName8,
-            ApprovalPerson8,
-            ApprovalAuthority8,
-            ApprovalDate8,
-            ApprovalPersonName9,
-            ApprovalPerson9,
-            ApprovalAuthority9,
-            ApprovalDate9,
-            ApprovalPersonName10,
-            ApprovalPerson10,
-            ApprovalAuthority10,
-            ApprovalDate10
+            DepartmentName,
+            ConstrPersonCode,
+            ConstrPersonName,
         }
-
-        /// <summary>
-        /// 承認情報
-        /// </summary>
-        private class ApproveData
-        {
-            public int Key { get; set; }
-            public string Value { get; set; }
-            public int Order { get; set; }
-            public int ApprovalAuthority { get; set; }
-        }
-
-        /// <summary>
-        /// 入金請求先情報
-        /// </summary>
-        private class DepositOrderer
-        {
-            public bool Added = false;
-            private bool deleted = false;
-            public bool Deleted
-            {
-                get { return deleted && Deposits.All(d => d.Deleted); }
-                set
-                {
-                    deleted = value;
-                    foreach (var deposit in Deposits)
-                    {
-                        deposit.Deleted = value;
-                    }
-                }
-            }
-            public int No;
-            public int OrderersDivision;
-            public int OrderersCode;
-            public string OrderersName;
-            public List<Deposit> Deposits = new List<Deposit>();
-            public List<Deposit> VisibleDeposits
-            {
-                get { return Deposits.Where(d => !d.Deleted).ToList(); }
-            }
-            public List<DepositDetail> DepositDetails = new List<DepositDetail>();
-            public List<DepositDetail> VisibleDepositDetails
-            {
-                get { return DepositDetails.Where(dd => dd.Visible && !dd.Deleted).ToList(); }
-            }
-            public int Size
-            {
-                get { return Math.Max(Math.Max(VisibleDeposits.Count, VisibleDepositDetails.Count), 1); }
-            }
-            public Deposit FindDepositBySeqNo(int seqNo)
-            {
-                return Deposits.Find(d => d.SeqNo == seqNo);
-            }
-            public DepositDetail FindDepositDetailByLineCount(int lineCount)
-            {
-                return DepositDetails.Find(dd => dd.LineCount == lineCount);
-            }
-            public int GetNextSeqNo()
-            {
-                if (Deposits.Count == 0)
-                    return 1;
-                return Deposits.Max(d => d.SeqNo) + 1;
-            }
-            public int GetNextLineCount()
-            {
-                if (DepositDetails.Count == 0)
-                    return 1;
-                return DepositDetails.Max(dd => dd.LineCount) + 1;
-            }
-            public bool HasApprovedByStaff
-            {
-                get
-                {
-                    if (DepositDetails.Count == 0)
-                        return false;
-                    return DepositDetails.Any(dd => dd.IsApprovedByStaff);
-                }
-            }
-            public bool HasApprovedByApprover
-            {
-                get
-                {
-                    if (DepositDetails.Count == 0)
-                        return false;
-                    return DepositDetails.Any(dd => dd.IsApprovedByApprover);
-                }
-            }
-            public bool HasApprovedByLastApprover
-            {
-                get
-                {
-                    if (DepositDetails.Count == 0)
-                        return false;
-                    return DepositDetails.Any(dd => dd.IsApprovedByLastApprover);
-                }
-            }
-        }
-
-        /// <summary>
-        /// 入金情報
-        /// </summary>
-        private class Deposit
-        {
-            public bool Added = false;
-            public bool Editted = false;
-            public bool Deleted = false;
-            public int SeqNo;
-            public string DepositDate;
-            public long? DepositAmountCash;
-            public long? DepositAmountBill;
-            public bool CanRemove
-            {
-                get
-                {
-                    // 追加行かつ未入力の場合
-                    return Added
-                        && string.IsNullOrEmpty(DepositDate)
-                        && !DepositAmountCash.HasValue
-                        && !DepositAmountBill.HasValue;
-                }
-            }
-        }
-
-        /// <summary>
-        /// 入金明細情報
-        /// </summary>
-        private class DepositDetail
-        {
-            public bool Added = false;
-            public bool Editted = false;
-            public bool Deleted = false;
-            public bool Visible;
-            public int SeqNo;
-            public int LineCount;
-            public int RequestNo;
-            public int OrderNo;
-            public string ConstructionName;
-            public string ConstructionNameRow;
-            public string BillCreationDate;
-            public long BillPrice;
-            public long TaxPrice;
-            public long DepositAmount;
-            public long DiscountAmount;
-            public long CnstrPrice;
-            public long Fees;
-            public long OtherAdjustments;
-            public long CarryAmount;
-            public string ApprovalPersonName;
-            public int ApprovalPersonCode;
-            public string ApprovalDate;
-            public int ApprovalEndFlg;
-            public int DepartmentCode;
-            public int ConstructionCode;
-            public int ConstructionPersonCode;
-            public int ConstrSubPersonCode;
-            public int ConstructionInstructor;
-            public ApprovalStatus Status = ApprovalStatus.None;
-            public bool UpperApprovalInUser = false;
-            public List<DepositApproval> DepositApprovals = new List<DepositApproval>();
-            public bool IsApprovedByStaff
-            {
-                get { return !string.IsNullOrEmpty(ApprovalDate); }
-            }
-            public bool IsApprovedByApprover
-            {
-                get
-                {
-                    if (DepositApprovals.Count == 0)
-                        return false;
-                    return DepositApprovals.First().ApprovalDate != "";
-                }
-            }
-            public bool IsApprovedByLastApprover
-            {
-                get
-                {
-                    if (DepositApprovals.Count == 0)
-                        return false;
-                    return DepositApprovals.Last().ApprovalDate != "";
-                }
-            }
-        }
-
-        /// <summary>
-        /// 入金確認承認情報
-        /// </summary>
-        private class DepositApproval
-        {
-            public bool Added = false;
-            public bool Editted = false;
-            public int ApprovalNo;
-            public int ApprovalPerson;
-            public string ApprovalPersonName;
-            public int ApprovalAuthority;
-            public string ApprovalDate;
-        }
-
-        private List<DepositOrderer> depositOrderers;
-
-        ///// <summary>編集前のセルの内容</summary>
-        //private string oldCellValue = "";
-
-        /// <summary>データ表示の対象営業期</summary>
-        private int m_Select_TargetBusinessPeriod = 0;
-
-        /// <summary>データ表示の対象月</summary>
-        private int m_Select_TargetDate = 0;
-
-        /// <summary>データ表示の対象部署</summary>
-        private int m_Select_TargetDepartment = 0;
-
-        /// <summary>データ表示の対象担当者</summary>
-        private int m_Select_TargetPerson = 0;
-
+        
         /// <summary> ユーザー情報</summary>
         private ClsSecurityPermission.UserInfo m_UserInfo = new ClsSecurityPermission.UserInfo()
         {
@@ -447,6 +63,9 @@
             m_SecRange = ClsSecurityPermission.SecRangeType.InCharge
         };
 
+        /// <summary> 請求月コンボボックス用リスト</summary>
+        public List<KeyValuePair<int, String>> listMonth = new List<KeyValuePair<int, String>>();
+
         /// <summary> 部署コンボボックス用リスト</summary>
         public List<KeyValuePair<int, String>> listDepartment = new List<KeyValuePair<int, String>>();
 
@@ -453,8 +72,19 @@
         /// <summary> 担当者コンボボックス用リスト</summary>
         public List<KeyValuePair<int, String>> listPerson = new List<KeyValuePair<int, String>>();
 
+        /// <summary>
+        /// 行選択色
+        /// </summary>
+        private static Color s_RowSelectColor = Color.LightBlue;
         #endregion
 
+        #region 変数
+        /// <summary>
+        /// Cell幅サイズ
+        /// </summary>
+        private int[] m_CellSize;
+        #endregion
+
         #region コンストラクタ
         /// <summary>
         /// コンストラクタ
@@ -475,12 +105,13 @@
         {
             try
             {
+                // 初期情報取得
+                GetInitConfig();
 
                 //////////////////////////////////////////////////////////////////////////////
                 // ■画面表示時のイベントを停止
                 //////////////////////////////////////////////////////////////////////////////
 
-                radioButton1.CheckedChanged -= new System.EventHandler(this.radioButton1_CheckedChanged);
                 comboBox1.SelectedIndexChanged -= new System.EventHandler(this.comboBox1_SelectedIndexChanged);
                 comboBox2.SelectedIndexChanged -= new System.EventHandler(this.comboBox2_SelectedIndexChanged);
                 comboBox3.SelectedIndexChanged -= new System.EventHandler(this.comboBox3_SelectedIndexChanged);
@@ -506,12 +137,9 @@
 
 
                 // 対象月
-                comboBox1.Items.Add("　");
+                this.listMonth = getTargetMonthList();
 
-                for (int iMonthCount = 1; iMonthCount < 13; iMonthCount++)
-                {
-                    comboBox1.Items.Add(iMonthCount);
-                }
+                comboBox1.DataSource = listMonth;
                 comboBox1.SelectedIndex = 0;
 
                 // 部署
@@ -526,11 +154,6 @@
                 comboBox3.DataSource = listPerson;
                 comboBox3.SelectedIndex = 0;
 
-                // イベントを停止させているため、強制的に非活性にする
-                comboBox1.Enabled = false;
-                // 初期フォーカスはラジオボタン（通年）
-                radioButton1.Checked = true;
-
                 ///////////////////////////////////////////////////////////////////////////
                 // ■一覧表示設定
                 ///////////////////////////////////////////////////////////////////////////
@@ -542,9 +165,6 @@
                 dgvMaster.GetType().InvokeMember("DoubleBuffered", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.SetProperty,
                     null, dgvMaster, new object[] { true });
 
-                // 一覧のヘッダ色を設定する
-                SetGridHeaderColor();
-
                 // 一覧表示情報を取得する
                 DisplayData();
 
@@ -556,7 +176,6 @@
             }
             finally
             {
-                radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
                 comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
                 comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
                 comboBox3.SelectedIndexChanged += new System.EventHandler(this.comboBox3_SelectedIndexChanged);
@@ -597,1237 +216,6 @@
         }
         #endregion
 
-        #region 部署情報取得
-        /// <summary>
-        /// 部署情報取得
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private List<KeyValuePair<int, String>> getDepartmentList(int iPersonCode)
-        {
-            var listDepartment = new List<KeyValuePair<int, String>>();
-
-            listDepartment.Add(new KeyValuePair<int, String>(0, "すべて"));
-
-            var listResultSQL = new ArrayList();
-            listResultSQL = getDepartmentListQuery(iPersonCode);
-
-            foreach (object[] result in listResultSQL)
-            {
-                int iDepartmentCode = CommonMotions.cnvInt(result[0]);
-                String strDepartmentName = CommonMotions.cnvString(result[1]);
-                listDepartment.Add(new KeyValuePair<int, String>(iDepartmentCode, strDepartmentName));
-            }
-
-            return listDepartment;
-
-        }
-
-        /// <summary>
-        /// 部署情報取得SQL実行
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private ArrayList getDepartmentListQuery(int iPersonCode)
-        {
-            var depDb = new IODepositData();
-
-            try
-            {
-                var sql = new StringBuilder();
-
-                sql.Append("SELECT ");
-                sql.Append("DEPM.DepartmentCode ");                                          // 部署マスタ．部署コード
-                sql.Append(",DEPM.DepartmentString ");                                          // 部署マスタ．部署名
-                sql.Append("FROM ");
-                sql.Append("departmentmaster DEPM ");                                          // 部署マスタ
-
-                /////////////////////////////////////////////////////////////////////////////
-                // 検索条件(動的)START
-                /////////////////////////////////////////////////////////////////////////////
-                if (!iPersonCode.Equals(0))
-                {
-                    sql.Append("INNER JOIN personinchargemaster PERIM ");                      // 担当者マスタ
-                    sql.Append("ON DEPM.DepartmentCode = PERIM.DepartmentCode ");             // 担当者マスタ．部署コード = 部署マスタ．部署コード
-                    sql.AppendFormat("AND PERIM.PersonCode = {0} ", iPersonCode);             // 担当者マスタ．担当者コード = 画面．担当者コード（隠し項目）
-                }
-                /////////////////////////////////////////////////////////////////////////////
-                // 検索条件(動的)END
-                /////////////////////////////////////////////////////////////////////////////
-
-                sql.Append("WHERE ");
-                sql.Append("DEPM.DeleteFlg = 0 ");                                          // 部署マスタ．削除フラグ = 0
-                sql.Append("ORDER BY  ");
-                sql.Append("DEPM.DisplayOrder ASC");                                          // 部署マスタ．表示順（昇順）
-
-                var data = new ArrayList();
-                if (!depDb.ExecuteReader(sql.ToString(), ref data)) return new ArrayList();
-                return data;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
-                return new ArrayList();
-            }
-            finally
-            {
-                depDb.close();
-                depDb = null;
-            }
-
-        }
-        #endregion
-
-        #region 担当者情報取得
-        /// <summary>
-        /// 担当者情報取得
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private List<KeyValuePair<int, String>> getPersonList(int iDepartmentCode)
-        {
-            var listPerson = new List<KeyValuePair<int, String>>();
-
-            listPerson.Add(new KeyValuePair<int, String>(0, "すべて"));
-
-            var listResultSQL = new ArrayList();
-            listResultSQL = getPersonListQuery(iDepartmentCode);
-
-            foreach (object[] result in listResultSQL)
-            {
-                int iResultPersonCode = CommonMotions.cnvInt(result[0]);
-                String strResultPersonName = CommonMotions.cnvString(result[1]);
-                listPerson.Add(new KeyValuePair<int, String>(iResultPersonCode, strResultPersonName));
-            }
-
-            return listPerson;
-
-        }
-
-        /// <summary>
-        /// 担当者情報取得SQL実行
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private ArrayList getPersonListQuery(int iDepartmentCode)
-        {
-            var depDb = new IODepositData();
-
-            try
-            {
-                var sql = new StringBuilder();
-
-                sql.Append("SELECT ");
-                sql.Append("PERIM.PersonCode ");                                          // 担当者マスタ．担当者コード
-                sql.Append(",PERIM.PersonName ");                                          // 担当者マスタ．担当者名
-                sql.Append("FROM ");
-                sql.Append("personinchargemaster PERIM ");                                          // 担当者マスタ
-                sql.Append("WHERE ");
-                sql.Append("PERIM.DeleteFlg = 0 ");                                          // 部署マスタ．削除フラグ = 0
-
-                /////////////////////////////////////////////////////////////////////////////
-                // 検索条件(動的)START
-                /////////////////////////////////////////////////////////////////////////////
-                if (!iDepartmentCode.Equals(0))
-                {
-                    sql.AppendFormat("AND PERIM.DepartmentCode = {0} ", iDepartmentCode);             // 担当者マスタ．担当者コード = 画面．部署コード（隠し項目）
-                }
-                /////////////////////////////////////////////////////////////////////////////
-                // 検索条件(動的)END
-                /////////////////////////////////////////////////////////////////////////////
-
-                sql.Append("ORDER BY  ");
-                sql.Append("PERIM.DisplayOrder ASC");                                          // 部署マスタ．表示順（昇順）
-
-                var data = new ArrayList();
-                if (!depDb.ExecuteReader(sql.ToString(), ref data)) return new ArrayList();
-                return data;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
-                return new ArrayList();
-            }
-            finally
-            {
-                depDb.close();
-                depDb = null;
-            }
-
-        }
-        #endregion
-
-        #region 入金請求先一覧表示
-        /// <summary>
-        /// データを表示する。
-        /// </summary>
-        private void DisplayData()
-        {
-            try
-            {
-                ///////////////////////////////////////////////////////////////////////////////////////
-                // 表示条件の取得
-                ///////////////////////////////////////////////////////////////////////////////////////
-
-                //　営業期
-                m_Select_TargetBusinessPeriod = CommonMotions.cnvInt(numericUpDown2.Value);
-
-                //　対象月（月指定が選択されているかつ空白以外の場合のみ）
-                if (radioButton2.Checked && !CommonMotions.cnvInt(comboBox1.SelectedItem).Equals("　"))
-                {
-                    m_Select_TargetDate = CommonMotions.cnvInt(comboBox1.SelectedItem);
-                }
-                else
-                {
-                    m_Select_TargetDate = 0;
-                }
-
-                //　部署
-                m_Select_TargetDepartment = CommonMotions.cnvInt(comboBox2.SelectedValue);
-
-                //  担当者
-                m_Select_TargetPerson = CommonMotions.cnvInt(comboBox3.SelectedValue); ;
-
-                ///////////////////////////////////////////////////////////////////////////////////////////
-                // データの取得
-                ///////////////////////////////////////////////////////////////////////////////////////////
-
-                depositOrderers = new List<DepositOrderer>();
-                dgvMaster.Rows.Clear();
-
-                depositOrderers = SelectDepositOrderers();
-
-                // 請求先単位で設定を行う。
-                dgvMaster.SuspendLayout();
-                for (var i = (int)DispColumn.ApprovalName_1; i <= (int)DispColumn.ApprovalName_10; i += 5)
-                    dgvMaster.Columns[i].Visible = false;
-                foreach (var deposit in depositOrderers)
-                {
-                    AddDepositOrdererRows(deposit, dgvMaster.RowCount);
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-            finally
-            {
-                dgvMaster.ResumeLayout();
-                if (dgvMaster.Rows.Count > 0)
-                {
-                    dgvMaster.FirstDisplayedScrollingRowIndex = 0;
-                    dgvMaster.FirstDisplayedScrollingColumnIndex = 1;
-                    dgvMaster.CurrentCell = dgvMaster[1, 0];
-                }
-            }
-        }
-        #endregion
-
-        #region 入金請求先一覧作成
-        #region 入金請求先一覧作成
-        /// <summary>
-        /// 入金請求先一覧を取得する。
-        /// </summary>
-        /// <returns></returns>
-        private List<DepositOrderer> SelectDepositOrderers()
-        {
-            var depositData = SelectDepositDataAll().OfType<object[]>()
-                .GroupBy(d =>
-                {
-                    return string.Format("{0} {1}",
-                        CommonMotions.cnvInt(d[(int)ClickGetData.OrderersDivision]),
-                        CommonMotions.cnvInt(d[(int)ClickGetData.OrderersCode]));
-                });
-            var data = new List<DepositOrderer>();
-            var no = 1;
-            foreach (var deposits in depositData)
-            {
-                var orderer = deposits.First();
-                // 請求先情報
-                var o = new DepositOrderer();
-                o.OrderersDivision = CommonMotions.cnvInt(orderer[(int)ClickGetData.OrderersDivision]);
-                o.OrderersCode = CommonMotions.cnvInt(orderer[(int)ClickGetData.OrderersCode]);
-                o.OrderersName = ToOrdererName(CommonMotions.cnvInt(orderer[(int)ClickGetData.CorporateStatusPoint]),
-                                        CommonMotions.cnvString(orderer[(int)ClickGetData.CorporateStatusName]),
-                                        CommonMotions.cnvString(orderer[(int)ClickGetData.OrderersName1]),
-                                        CommonMotions.cnvString(orderer[(int)ClickGetData.OrderersName2]));
-                // 表示権限がない場合は次へ
-                if (!CheckOrdererPermission(o))
-                {
-                    continue;
-                }
-                o.No = no;
-                no++;
-                o.Deposits = new List<Deposit>();
-                o.DepositDetails = new List<DepositDetail>();
-                // 入金データ情報
-                foreach (var deposit in deposits)
-                {
-                    var d = new Deposit();
-                    d.SeqNo = CommonMotions.cnvInt(deposit[(int)ClickGetData.SeqNo]);
-                    d.DepositDate = CommonMotions.cnvString(deposit[(int)ClickGetData.DepositDate]);
-                    d.DepositAmountCash = CommonMotions.cnvInt(deposit[(int)ClickGetData.DepositAmountCash]);
-                    d.DepositAmountBill = CommonMotions.cnvInt(deposit[(int)ClickGetData.DepositAmountBill]);
-                    o.Deposits.Add(d);
-                }
-                // 入金明細データ
-                var details = SelectDepositDetailData(o.OrderersDivision, o.OrderersCode).OfType<object[]>();
-                foreach (var detail in details)
-                {
-                    var dd = new DepositDetail();
-                    dd.SeqNo = CommonMotions.cnvInt(detail[(int)ClickGetData.SeqNo]);
-                    dd.LineCount = CommonMotions.cnvInt(detail[(int)ClickGetData.LineCount]);
-                    dd.RequestNo = CommonMotions.cnvInt(detail[(int)ClickGetData.RequestNo]);
-                    dd.OrderNo = CommonMotions.cnvInt(detail[(int)ClickGetData.OrderNo]);
-                    dd.ConstructionNameRow = CommonMotions.cnvString(detail[(int)ClickGetData.DetailString]);
-                    dd.ConstructionName = dd.ConstructionNameRow;
-                    if (dd.OrderNo > 1)
-                    {
-                        dd.ConstructionName += "（" + dd.OrderNo + "回目）";
-                    }
-                    // 入金予定日未実装
-                    dd.BillCreationDate = CommonMotions.cnvString(detail[(int)ClickGetData.BillCreationDate]);
-                    dd.BillPrice = CommonMotions.cnvLong(detail[(int)ClickGetData.BillPrice]);
-                    dd.TaxPrice = CommonMotions.cnvLong(detail[(int)ClickGetData.TaxPrice]);
-                    dd.DepositAmount = CommonMotions.cnvLong(detail[(int)ClickGetData.DepositAmount]);
-                    dd.DiscountAmount = CommonMotions.cnvLong(detail[(int)ClickGetData.DiscountAmount]);
-                    dd.CnstrPrice = CommonMotions.cnvLong(detail[(int)ClickGetData.CnstrPrice]);
-                    dd.Fees = CommonMotions.cnvLong(detail[(int)ClickGetData.Fees]);
-                    dd.OtherAdjustments = CommonMotions.cnvLong(detail[(int)ClickGetData.OtherAdjustments]);
-                    dd.CarryAmount = CommonMotions.cnvLong(detail[(int)ClickGetData.CarryAmount]);
-                    dd.ApprovalPersonCode = CommonMotions.cnvInt(detail[(int)ClickGetData.ApprovalPersonCode]);
-                    dd.ApprovalEndFlg = CommonMotions.cnvInt(detail[(int)ClickGetData.ApprovalEndFlg]);
-                    dd.ApprovalPersonName = CommonMotions.cnvString(detail[(int)ClickGetData.PersonName]);
-                    dd.DepartmentCode = CommonMotions.cnvInt(detail[(int)ClickGetData.DepartmentCode]);
-                    dd.ConstructionCode = CommonMotions.cnvInt(detail[(int)ClickGetData.ConstructionCode]);
-                    dd.ConstructionPersonCode = CommonMotions.cnvInt(detail[(int)ClickGetData.ConstructionPersonCode]);
-                    dd.ConstrSubPersonCode = CommonMotions.cnvInt(detail[(int)ClickGetData.ConstrSubPersonCode]);
-                    dd.ConstructionInstructor = CommonMotions.cnvInt(detail[(int)ClickGetData.ConstructionInstructor]);
-                    dd.DepositApprovals = new List<DepositApproval>();
-                    dd.Visible = CheckPermission(dd.DepartmentCode, dd.ConstructionPersonCode, dd.ConstrSubPersonCode, dd.ConstructionInstructor);
-                    dd.ApprovalDate = "";
-                    if (CommonMotions.cnvString(detail[(int)ClickGetData.ApprovalDate]) != "0001-01-01")
-                        dd.ApprovalDate = CommonMotions.cnvString(detail[(int)ClickGetData.ApprovalDate]);
-                    // 担当者承認済みの場合
-                    if (dd.IsApprovedByStaff)
-                    {
-                        var depositApprovals = new List<DepositApprovalInfo>();
-                        if (!SelectApprove(o.OrderersDivision, o.OrderersCode, dd.SeqNo, dd.LineCount, ref depositApprovals))
-                            return null;
-                        var detectApproval = false;
-                        var detectNonApproval = false;
-                        var upperApprovalInUser = false;
-                        foreach (var appInfo in depositApprovals)
-                        {
-                            var da = new DepositApproval()
-                            {
-                                ApprovalNo = appInfo.ApprovalNo,
-                                ApprovalPersonName = appInfo.ApprovalPersonName,
-                                ApprovalPerson = appInfo.ApprovalPerson,
-                                ApprovalAuthority = appInfo.ApprovalAuthority,
-                                ApprovalDate = "",
-                            };
-                            if (appInfo.ApprovalDate != DateTime.MinValue)
-                                da.ApprovalDate = appInfo.ApprovalDate.ToString("yyyy-MM-dd");
-                            dd.DepositApprovals.Add(da);
-                        }
-                        // 承認状態を設定
-                        if (!detectApproval)
-                            dd.Status = ApprovalStatus.InCharge;
-                        else if (detectNonApproval)
-                            dd.Status = ApprovalStatus.InApproval;
-                        else
-                            dd.Status = ApprovalStatus.Approved;
-                        dd.UpperApprovalInUser = upperApprovalInUser;
-                    }
-                    // 担当者未承認
-                    else
-                    {
-                        var defaultApproves = new List<ApproveData>();
-                        if (!SelectDefaultApprove(dd.DepartmentCode, ref defaultApproves))
-                            return null;
-                        foreach (var approve in defaultApproves)
-                        {
-                            var da = new DepositApproval()
-                            {
-                                Added = true,
-                                ApprovalPersonName = approve.Value,
-                                ApprovalPerson = approve.Key,
-                                ApprovalDate = "",
-                                ApprovalNo = approve.Order,
-                            };
-                            dd.DepositApprovals.Add(da);
-                        }
-                    }
-                    o.DepositDetails.Add(dd);
-                }
-                data.Add(o);
-            }
-            return data;
-        }
-        #endregion
-
-        #region 業者行を追加する
-        /// <summary>
-        /// 業者行を追加する。
-        /// </summary>
-        /// <param name="depositOrderer"></param>
-        /// <param name="position"></param>
-        private void AddDepositOrdererRows(DepositOrderer depositOrderer, int position)
-        {
-            try
-            {
-                if (depositOrderer.Deleted)
-                    return;
-                // 明細行を作成
-                dgvMaster.Rows.Insert(position, depositOrderer.Size);
-                // いったんすべての行をReadOnlyにしておく
-                for (var i = position; i < position + depositOrderer.Size; i++)
-                    dgvMaster.Rows[i].ReadOnly = true;
-                var ordererRow = dgvMaster.Rows[position];
-                // 請求先情報の表示
-                ordererRow.Cells[(int)DispColumn.No].Value = depositOrderer.No;
-                ordererRow.Cells[(int)DispColumn.OrderersDivision].Value = depositOrderer.OrderersDivision;
-                ordererRow.Cells[(int)DispColumn.OrderersCode].Value = depositOrderer.OrderersCode;
-                ordererRow.Cells[(int)DispColumn.OrderersName].Value = depositOrderer.OrderersName;
-
-                // 入金情報の表示
-                var index = 0;
-                foreach (var deposit in depositOrderer.VisibleDeposits)
-                {
-                    var row = dgvMaster.Rows[position + index];
-                    row.Cells[(int)DispColumn.OrderersDivision].Value = depositOrderer.OrderersDivision;
-                    row.Cells[(int)DispColumn.OrderersCode].Value = depositOrderer.OrderersCode;
-                    row.Cells[(int)DispColumn.SeqNo].Value = deposit.SeqNo;
-                    row.Cells[(int)DispColumn.DepositDate].Value = deposit.DepositDate;
-                    if (deposit.DepositAmountCash.HasValue)
-                        SetPrice(row.Cells, (int)DispColumn.DepositAmountCash, deposit.DepositAmountCash.Value);
-                    if (deposit.DepositAmountBill.HasValue)
-                        SetPrice(row.Cells, (int)DispColumn.DepositAmountBill, deposit.DepositAmountBill.Value);
-                    index++;
-                }
-                index = 0;
-                foreach (var depositDetail in depositOrderer.VisibleDepositDetails)
-                {
-                    var row = dgvMaster.Rows[position + index];
-                    row.Cells[(int)DispColumn.OrderersDivision].Value = depositOrderer.OrderersDivision;
-                    row.Cells[(int)DispColumn.OrderersCode].Value = depositOrderer.OrderersCode;
-                    row.Cells[(int)DispColumn.RequestNo].Value = depositDetail.RequestNo;
-                    row.Cells[(int)DispColumn.LineCount].Value = depositDetail.LineCount;
-                    row.Cells[(int)DispColumn.OrderNo].Value = depositDetail.OrderNo;
-                    row.Cells[(int)DispColumn.ConstructionName].Value = depositDetail.ConstructionName;
-                    row.Cells[(int)DispColumn.ConstructionName_Raw].Value = depositDetail.ConstructionNameRow;
-                    // TODO 入金予定日
-                    row.Cells[(int)DispColumn.BillCreationDate].Value = depositDetail.BillCreationDate;
-                    SetPrice(row.Cells, (int)DispColumn.BillPrice, depositDetail.BillPrice);
-                    SetPrice(row.Cells, (int)DispColumn.TaxPrice, depositDetail.TaxPrice);
-                    SetPrice(row.Cells, (int)DispColumn.DepositAmount, depositDetail.DepositAmount);
-                    SetPrice(row.Cells, (int)DispColumn.DiscountAmount, depositDetail.DiscountAmount);
-                    SetPrice(row.Cells, (int)DispColumn.CnstrPrice, depositDetail.CnstrPrice);
-                    SetPrice(row.Cells, (int)DispColumn.Fees, depositDetail.Fees);
-                    SetPrice(row.Cells, (int)DispColumn.OtherAdjustments, depositDetail.OtherAdjustments);
-                    SetPrice(row.Cells, (int)DispColumn.CarryAmount, depositDetail.CarryAmount);
-                    row.Cells[(int)DispColumn.PersonCode].Value = depositDetail.ApprovalPersonCode;
-                    row.Cells[(int)DispColumn.PersonName].Value = depositDetail.ApprovalPersonName;
-                    // 担当者未承認
-                    if (!depositDetail.IsApprovedByStaff)
-                    {
-                        row.Cells[(int)DispColumn.PersonName].Style.ForeColor = Color.Gray;
-                        row.Cells[(int)DispColumn.PersonDate].Value = "";
-                    }
-                    var j = (int)DispColumn.ApprovalName_1;
-                    foreach (var depositeApproval in depositDetail.DepositApprovals)
-                    {
-                        row.Cells[j].Value = depositeApproval.ApprovalPersonName;
-                        row.Cells[j + 1].Value = depositeApproval.ApprovalPerson;
-                        if (depositeApproval.ApprovalDate == "")
-                            row.Cells[j].Style.ForeColor = Color.Gray;
-                        dgvMaster.Columns[j].Visible = true;
-                        j += 5;
-                    }
-                    index++;
-                }
-                AddBlankRow(depositOrderer, position);
-                AddTotalRow(depositOrderer, position);
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
-            }
-        }
-        #endregion
-
-        #region 編集可否判定（入金明細データ）
-        #region 編集可否判定
-        //private bool CanEditDepositDetail(DepositDetail depositDetail)
-        //{
-        //    // 担当者の場合
-        //    if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.NormalAuthority)
-        //    {
-        //        // 承認済みなら編集不可
-        //        if (depositDetail.IsApprovedByStaff || depositDetail.IsApprovedByApprover)
-        //            return false;
-        //    }
-        //    // 所属長、統括者の場合
-        //    else if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.LimitedAuthority || m_UserInfo.m_Type == CommonDefine.SecurityRankPos.FreeAuthority)
-        //    {
-        //        // 上位の承認者でなければ編集不可
-        //        if (!IsUpperLevelApprover(depositDetail))
-        //            return false;
-        //    }
-        //    // 特別権限の場合
-        //    else if (m_UserInfo.m_Type == CommonDefine.SecurityRankPos.SpecialAuthority)
-        //    {
-        //        if (depositDetail.IsApprovedByLastApprover)
-        //            return false;
-        //    }
-        //    return m_UserInfo.CanEditDepositDetail;
-        //}
-        #endregion
-
-        #region 上位承認者存在チェック
-        //private bool IsUpperLevelApprover(DepositDetail depositDetail)
-        //{
-        //    if (depositDetail.DepositApprovals.Count == 0)
-        //        return true;
-        //    var lastApproverIndex = depositDetail.DepositApprovals.FindLastIndex(da => da.ApprovalDate != "");
-        //    var myIndex = depositDetail.DepositApprovals.FindLastIndex(da => da.ApprovalPerson == CommonMotions.LoginUserData.PersonCode);
-        //    return myIndex > lastApproverIndex;
-        //}
-        #endregion
-        #endregion
-
-        #region 編集用空白行追加
-        /// <summary>
-        /// 編集用空白行追加
-        /// </summary>
-        /// <param name="index"></param>
-        private void AddBlankRow(DepositOrderer depositOrderer, int index)
-        {
-            var headerIndex = DetectHeaderIndex(index);
-            var headerCells = dgvMaster.Rows[headerIndex].Cells;
-            var blankIndex = dgvMaster.RowCount;
-            for (var i = headerIndex; i < dgvMaster.RowCount; i++)
-            {
-                var cells = dgvMaster.Rows[i].Cells;
-                if (CommonMotions.cnvInt(headerCells[(int)DispColumn.OrderersDivision].Value) != CommonMotions.cnvInt(cells[(int)DispColumn.OrderersDivision].Value)
-                    || CommonMotions.cnvInt(headerCells[(int)DispColumn.OrderersCode].Value) != CommonMotions.cnvInt(cells[(int)DispColumn.OrderersCode].Value))
-                {
-                    blankIndex = i;
-                    break;
-                }
-            }
-            dgvMaster.Rows.Insert(blankIndex);
-            var row = dgvMaster.Rows[blankIndex];
-            row.ReadOnly = true;
-            row.Cells[(int)DispColumn.OrderersDivision].Value = headerCells[(int)DispColumn.OrderersDivision].Value;
-            row.Cells[(int)DispColumn.OrderersCode].Value = headerCells[(int)DispColumn.OrderersCode].Value;
-
-        }
-        #endregion
-
-        #region 合計行の設定を行う
-        /// <summary>
-        /// 合計行の設定を行う。
-        /// </summary>
-        /// <param name="index"></param>
-        private void AddTotalRow(DepositOrderer depositOrderer, int index)
-        {
-            long depositAmountCash = 0;
-            long depositAmountBill = 0;
-            foreach (var deposit in depositOrderer.Deposits)
-            {
-                depositAmountCash += deposit.DepositAmountCash.GetValueOrDefault(0);
-                depositAmountBill += deposit.DepositAmountBill.GetValueOrDefault(0);
-            }
-            long billPrice = 0;
-            long taxPrice = 0;
-            long depositAmount = 0;
-            long discountAmount = 0;
-            long cnstrPrice = 0;
-            long fees = 0;
-            long otherAdjustments = 0;
-            long carryAmount = 0;
-            foreach (var depositDetail in depositOrderer.DepositDetails)
-            {
-                billPrice += depositDetail.BillPrice;
-                taxPrice += depositDetail.TaxPrice;
-                depositAmount += depositDetail.DepositAmount;
-                discountAmount += depositDetail.DiscountAmount;
-                cnstrPrice += depositDetail.CnstrPrice;
-                fees += depositDetail.Fees;
-                otherAdjustments += depositDetail.OtherAdjustments;
-                carryAmount += depositDetail.CarryAmount;
-            }
-            var headerIndex = DetectHeaderIndex(index);
-            var headerCells = dgvMaster.Rows[headerIndex].Cells;
-            var subtotalIndex = dgvMaster.RowCount;
-            for (var i = headerIndex; i < dgvMaster.RowCount; i++)
-            {
-                var cells = dgvMaster.Rows[i].Cells;
-                if (CommonMotions.cnvInt(headerCells[(int)DispColumn.OrderersDivision].Value) != CommonMotions.cnvInt(cells[(int)DispColumn.OrderersDivision].Value)
-                    || CommonMotions.cnvInt(headerCells[(int)DispColumn.OrderersCode].Value) != CommonMotions.cnvInt(cells[(int)DispColumn.OrderersCode].Value))
-                {
-                    subtotalIndex = i;
-                    break;
-                }
-            }
-            dgvMaster.Rows.Insert(subtotalIndex, 4);
-            // 小計
-            dgvMaster.Rows[subtotalIndex].DefaultCellStyle.BackColor = Color.Coral;
-            dgvMaster.Rows[subtotalIndex].ReadOnly = true;
-            var subtotalCells = dgvMaster.Rows[subtotalIndex].Cells;
-            subtotalCells[(int)DispColumn.OrderersDivision].Value = depositOrderer.OrderersDivision;
-            subtotalCells[(int)DispColumn.OrderersCode].Value = depositOrderer.OrderersCode;
-            subtotalCells[(int)DispColumn.OrderersName].Value = "小計";
-            SetPrice(subtotalCells, (int)DispColumn.DepositAmountCash, depositAmountCash);
-            SetPrice(subtotalCells, (int)DispColumn.DepositAmountBill, depositAmountBill);
-            SetPrice(subtotalCells, (int)DispColumn.BillPrice, billPrice);
-            SetPrice(subtotalCells, (int)DispColumn.TaxPrice, taxPrice);
-            SetPrice(subtotalCells, (int)DispColumn.DepositAmount, depositAmount);
-            SetPrice(subtotalCells, (int)DispColumn.DiscountAmount, discountAmount);
-            SetPrice(subtotalCells, (int)DispColumn.CnstrPrice, cnstrPrice);
-            SetPrice(subtotalCells, (int)DispColumn.Fees, fees);
-            SetPrice(subtotalCells, (int)DispColumn.OtherAdjustments, otherAdjustments);
-            SetPrice(subtotalCells, (int)DispColumn.CarryAmount, carryAmount);
-            // 入金金額
-            dgvMaster.Rows[subtotalIndex + 1].DefaultCellStyle.BackColor = Color.Yellow;
-            dgvMaster.Rows[subtotalIndex + 1].ReadOnly = true;
-            var depositCells = dgvMaster.Rows[subtotalIndex + 1].Cells;
-            depositCells[(int)DispColumn.OrderersDivision].Value = depositOrderer.OrderersDivision;
-            depositCells[(int)DispColumn.OrderersCode].Value = depositOrderer.OrderersCode;
-            depositCells[(int)DispColumn.OrderersName].Value = "入金金額";
-            SetPrice(depositCells, (int)DispColumn.DepositAmountCash, depositAmountCash + depositAmountBill);
-            // 調整後金額
-            dgvMaster.Rows[subtotalIndex + 2].DefaultCellStyle.BackColor = Color.PaleTurquoise;
-            dgvMaster.Rows[subtotalIndex + 2].ReadOnly = true;
-            var adjustmentCells = dgvMaster.Rows[subtotalIndex + 2].Cells;
-            adjustmentCells[(int)DispColumn.OrderersDivision].Value = depositOrderer.OrderersDivision;
-            adjustmentCells[(int)DispColumn.OrderersCode].Value = depositOrderer.OrderersCode;
-            adjustmentCells[(int)DispColumn.OrderersName].Value = "調整後金額";
-            SetPrice(adjustmentCells, (int)DispColumn.DepositAmountCash, depositAmount);
-            // 差額
-            dgvMaster.Rows[subtotalIndex + 3].DefaultCellStyle.BackColor = Color.Chartreuse;
-            dgvMaster.Rows[subtotalIndex + 3].ReadOnly = true;
-            var differentCells = dgvMaster.Rows[subtotalIndex + 3].Cells;
-            differentCells[(int)DispColumn.OrderersDivision].Value = depositOrderer.OrderersDivision;
-            differentCells[(int)DispColumn.OrderersCode].Value = depositOrderer.OrderersCode;
-            differentCells[(int)DispColumn.OrderersName].Value = "差額";
-            SetPrice(differentCells, (int)DispColumn.DepositAmountCash, depositAmountCash + depositAmountBill - depositAmount);
-        }
-        #endregion
-
-        #region ヘッダ制御
-        /// <summary>
-        /// ヘッダ制御
-        /// </summary>
-        /// <param name="index"></param>
-        private int DetectHeaderIndex(int index)
-        {
-            for (var i = index; i >= 0; i--)
-            {
-                if (CommonMotions.cnvString(dgvMaster.Rows[i].Cells[(int)DispColumn.OrderersName].Value) != "")
-                {
-                    return i;
-                }
-            }
-            return 0;
-        }
-        #endregion
-
-        #region 金額フォーマット
-        /// <summary>
-        /// 金額フォーマット
-        /// </summary>
-        /// <param name="index"></param>
-        private void SetPrice(DataGridViewCellCollection cells, int index, long price)
-        {
-            cells[index].Value = price.ToString("#,0");
-            cells[index].Style.ForeColor = Color.Black;
-            if (price < 0)
-            {
-                cells[index].Style.ForeColor = Color.Red;
-            }
-        }
-        #endregion
-
-        #region 発注者名フォーマット
-        /// <summary>
-        /// 発注者名フォーマット
-        /// </summary>
-        /// <param name="index"></param>
-        private string ToOrdererName(int corporateStatusPoint, string corporateStatusName, string orderersName1, string orderersName2)
-        {
-            // 発注者名１△発注者名２
-            if (corporateStatusPoint == 0)
-            {
-                if (orderersName2 == "")
-                {
-                    return orderersName1;
-                }
-                return orderersName1 + "　" + orderersName2;
-            }
-            // 法人格名称△発注者名１△発注者名２
-            else if (corporateStatusPoint == 1)
-            {
-                if (orderersName2 == "")
-                {
-                    return corporateStatusName + "　" + orderersName1;
-                }
-                return corporateStatusName + orderersName1 + orderersName2;
-            }
-            // 発注者名１△法人格名称△発注者名２
-            if (orderersName2 == "")
-            {
-                return orderersName1 + "　" + corporateStatusName;
-            }
-            return orderersName1 + corporateStatusName + orderersName2;
-        }
-        #endregion
-
-        #region DataGridヘッダ色表示
-        /// <summary>
-        /// DataGridヘッダ色表示
-        /// </summary>
-        private void SetGridHeaderColor()
-        {
-            // ヘッダ色、-1:非表示、0:自動計算、1:総務、2：工事
-            int[] mc = {
-                -1,                     // ■編集状態
-                0,                      // No
-                -1,                     // ■発注先区分
-                -1,                     // ■発注者コード
-                -1,                     // ■連番
-                -1,                     // ■行番号
-                0,                      // 請求先名
-                1,                      // 入金日
-                1,                      // 入金金額 (振込み)
-                1,                      // 入金金額 (手形)
-                -1,                     // 請求No.
-                -1,                     // 受付番号
-                0,                      // 現場名
-                -1,                     // ■現場名 (DB登録値)
-                0,                      // 入金予定日
-                0,                      // 請求日
-                0,                      // 請求金額 (税抜)
-                0,                      // 請求金額 (消費税)
-                2,                      // 入金金額
-                2,                      // 値引金額
-                2,                      // 協力金
-                2,                      // 手数料
-                2,                      // その他調整
-                2,                      // 次回繰越
-                0,                      // 担当者承認
-                -1,                     // ■担当者コード
-                -1,                     // ■担当者日付
-                0,                      // 承認者１承認
-                -1,                     // ■承認者コード_1
-                -1,                     // ■承認権限区分_1
-                -1,                     // ■承認日付_1
-                -1,                     // ■承認順番_1
-                0,                      // 承認者２承認
-                -1,                     // ■承認者コード_2
-                -1,                     // ■承認権限区分_2
-                -1,                     // ■承認日付_2
-                -1,                     // ■承認順番_2
-                0,                      // 承認者３承認
-                -1,                     // ■承認者コード_3
-                -1,                     // ■承認権限区分_3
-                -1,                     // ■承認日付_3
-                -1,                     // ■承認順番_3
-                0,                      // 承認者４承認
-                -1,                     // ■承認者コード_4
-                -1,                     // ■承認権限区分_4
-                -1,                     // ■承認日付_4
-                -1,                     // ■承認順番_4
-                0,                      // 承認者５承認
-                -1,                     // ■承認者コード_5
-                -1,                     // ■承認権限区分_5
-                -1,                     // ■承認日付_5
-                -1,                     // ■承認順番_5
-                0,                      // 承認者６承認
-                -1,                     // ■承認者コード_6
-                -1,                     // ■承認権限区分_6
-                -1,                     // ■承認日付_6
-                -1,                     // ■承認順番_6
-                0,                      // 承認者７承認
-                -1,                     // ■承認者コード_7
-                -1,                     // ■承認権限区分_7
-                -1,                     // ■承認日付_7
-                -1,                     // ■承認順番_7
-                0,                      // 承認者８承認
-                -1,                     // ■承認者コード_8
-                -1,                     // ■承認権限区分_8
-                -1,                     // ■承認日付_8
-                -1,                     // ■承認順番_8
-                0,                      // 承認者９承認
-                -1,                     // ■承認者コード_9
-                -1,                     // ■承認権限区分_9
-                -1,                     // ■承認日付_9
-                -1,                     // ■承認順番_9
-                0,                      // 承認者１０承認
-                -1,                     // ■承認者コード_10
-                -1,                     // ■承認権限区分_10
-                -1,                     // ■承認日付_10
-                -1,                     // ■承認順番_10
-            };
-
-            dgvMaster.Font = new System.Drawing.Font("ＭＳ 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
-            dgvMaster.ColumnHeadersHeight = dgvMaster.ColumnHeadersHeight + 10;
-
-            // ヘッダーセルの値の設定
-            for (int i = 0; i < 77; i++)
-            {
-                // ヘッダーセルの色を設定
-                // 総務
-                if (mc[i] == 1)
-                {
-                    dgvMaster.Columns[i].HeaderCell.Style.BackColor = Color.Coral;
-                }
-                // 工事担当者
-                else if (mc[i] == 2)
-                {
-                    dgvMaster.Columns[i].HeaderCell.Style.BackColor = Color.SkyBlue;
-                }
-                // 表示・自動計算
-                else
-                {
-                    dgvMaster.Columns[i].HeaderCell.Style.BackColor = Color.PaleGreen;
-                }
-            }
-        }
-        #endregion
-
-        #region 表示権限チェック①
-        /// <summary>
-        /// 表示権限のチェックを実施する。
-        /// </summary>
-        /// <param name="orderer"></param>
-        /// <returns></returns>
-        private bool CheckOrdererPermission(DepositOrderer orderer)
-        {
-            try
-            {
-                // 全部署対象
-                if (m_UserInfo.m_SecRange == ClsSecurityPermission.SecRangeType.AllDepartment)
-                {
-                    return true;
-                }
-                var ioPdm = new IOMPersonDepartment();
-                var arDataPdm = new ArrayList();
-                var sql = new StringBuilder();
-                sql.Append("select count(*) from ConstructionBaseInfo Cbi ");
-                sql.Append("inner join PersonInChargeMaster PicM on PicM.PersonCode = Cbi.ConstructionPersonCode ");
-                sql.Append("inner join PersonDepartmentMaster PdM on PdM.DepartmentCode = PicM.DepartmentCode ");
-                sql.AppendFormat("where Cbi.OrderersDivision = {0} ", orderer.OrderersDivision);
-                sql.AppendFormat("and Cbi.OrderersCode = {0} ", orderer.OrderersCode);
-                sql.AppendFormat("and PdM.PersonCode = {0} ", CommonMotions.LoginUserData.PersonCode);
-                sql.AppendFormat("and PdM.DepartmentCode = {0} ", CommonMotions.LoginUserData.DepartmentCode);
-                // 自部門のみ表示の場合
-                if (m_UserInfo.m_SecRange == ClsSecurityPermission.SecRangeType.OneDepartment)
-                {
-                    sql.Append("and Pdm.AffiliationFlg = 1 ");
-                }
-                // 担当分のみ対象の場合
-                else if (m_UserInfo.m_SecRange == ClsSecurityPermission.SecRangeType.InCharge)
-                {
-                    sql.AppendFormat("and (Cbi.ConstructionPersonCode = {0} ", CommonMotions.LoginUserData.PersonCode);
-                    sql.AppendFormat("or Cbi.ConstrSubPersonCode = {0} ", CommonMotions.LoginUserData.PersonCode);
-                    sql.AppendFormat("or Cbi.ConstructionInstructor = {0}) ", CommonMotions.LoginUserData.PersonCode);
-                }
-                if (!ioPdm.ExecuteReader(sql.ToString(), ref arDataPdm))
-                    return false;
-                return CommonMotions.cnvInt(((object[])arDataPdm[0])[0]) > 0;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-
-        #region 表示権限チェック②
-        /// <summary>
-        /// 表示権限のチェックを実施する。
-        /// </summary>
-        /// <param name="DepartmentCode"></param>
-        /// <param name="ConstructionPersonCode"></param>
-        /// <param name="ConstrSubPersonCode"></param>
-        /// <param name="ConstructionInstructor"></param>
-        /// <returns></returns>
-        private bool CheckPermission(int DepartmentCode, int ConstructionPersonCode, int ConstrSubPersonCode, int ConstructionInstructor)
-        {
-            try
-            {
-                // 全部署対象
-                if (m_UserInfo.m_SecRange == ClsSecurityPermission.SecRangeType.AllDepartment)
-                {
-                    return true;
-                }
-
-                // 複数部署対象、または自部署のみ対象
-                else if ((m_UserInfo.m_SecRange == ClsSecurityPermission.SecRangeType.MultiDepartment) || (m_UserInfo.m_SecRange == ClsSecurityPermission.SecRangeType.OneDepartment))
-                {
-                    var ioPdm = new IOMPersonDepartment();
-                    var arDataPdm = new ArrayList();
-                    var sql = new StringBuilder();
-                    sql.AppendLine("select Pdm.DepartmentCode ");
-                    sql.AppendLine("from PersonDepartmentMaster as Pdm ");
-                    sql.AppendFormat("where Pdm.PersonCode = {0} ", CommonMotions.LoginUserData.PersonCode);
-                    if (m_UserInfo.m_SecRange == ClsSecurityPermission.SecRangeType.OneDepartment)
-                    {
-                        sql.AppendLine("and Pdm.AffiliationFlg = 1 ");
-                    }
-                    if (!ioPdm.ExecuteReader(sql.ToString(), ref arDataPdm))
-                        return false;
-                    foreach (object[] work in arDataPdm)
-                    {
-                        if (CommonMotions.cnvInt(work[0]) == DepartmentCode)
-                        {
-                            return true;
-                        }
-                    }
-                    return false;
-                }
-                // 担当分のみ対象
-                else
-                {
-                    if ((CommonMotions.LoginUserData.PersonCode == ConstructionPersonCode) ||
-                        (CommonMotions.LoginUserData.PersonCode == ConstrSubPersonCode) ||
-                        (CommonMotions.LoginUserData.PersonCode == ConstructionInstructor))
-                    {
-                        return true;
-                    }
-                    else
-                    {
-                        return false;
-                    }
-                }
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-        }
-        #endregion
-
-        #region 担当未承認の承認者リスト取得
-        /// <summary>
-        /// 担当未承認の承認者リスト取得
-        /// </summary>
-        /// <param name="departmentCode"></param>
-        /// <param name="approves"></param>
-        /// <returns></returns>
-        private bool SelectDefaultApprove(int departmentCode, ref List<ApproveData> approves)
-        {
-            var IoAm = new IOMApproval();
-            var arDataAm = new ArrayList();
-            var sql = new StringBuilder();
-            try
-            {
-                sql.AppendLine("select Am.APPROVALPERSON, Picm.SealPrintName,Am.ApprovalAuthority ");
-                sql.AppendLine("from ApprovalMaster as Am left join PersonInChargeMaster as Picm on Am.APPROVALPERSON = Picm.PERSONCODE ");
-                sql.AppendLine("where Am.APPROVALCODE = 98 ");
-                sql.AppendFormat("and Am.DepartmentCode = {0} ", departmentCode);
-                sql.AppendLine("order by Am.SEQNO desc ");
-
-                if (!IoAm.ExecuteReader(sql.ToString(), ref arDataAm)) return false;
-                approves = new List<ApproveData>();
-                int Order = 1;
-                foreach (object[] work in arDataAm)
-                {
-                    approves.Add(new ApproveData()
-                    {
-                        Key = CommonMotions.cnvInt(work[0]),
-                        Value = CommonMotions.cnvString(work[1]),
-                        Order = Order,
-                        ApprovalAuthority = CommonMotions.cnvInt(work[2])
-                    });
-                    Order++;
-                }
-
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                IoAm = null;
-            }
-        }
-        #endregion
-
-        #region 入金データ取得SQL
-        /// <summary>
-        /// 入金データを取得する。
-        /// </summary>
-        /// <returns></returns>
-        private ArrayList SelectDepositDataAll()
-        {
-            var depDb = new IODepositData();
-
-            try
-            {
-                var sql = new StringBuilder();
-                sql.Append("SELECT DISTINCT ");
-                sql.Append("DEP.ORDERERSDIVISION ");
-                sql.Append(",DEP.ORDERERSCODE ");
-                sql.Append(",DEP.TARGETDATE ");
-                sql.Append(",DEP.SEQNO ");
-                sql.Append(",DATE_FORMAT(DEP.DEPOSITDATE,'%Y/%m/%d') AS DEPOSITDATE ");
-                sql.Append(",DEP.DEPOSITAMOUNTCASH ");
-                sql.Append(",DEP.DEPOSITAMOUNTBILL ");
-                sql.Append(",ORD.CORPORATESTATUSNAME ");
-                sql.Append(",ORD.CORPORATESTATUSPOINT ");
-                sql.Append(",ORD.ORDERERSNAME1 ");
-                sql.Append(",ORD.ORDERERSNAME2 ");
-                sql.Append("FROM ");
-                sql.Append("DEPOSITDATA DEP ");
-                sql.Append("INNER JOIN DEPOSITDATADETAIL DTL ON ");
-                sql.Append("DEP.ORDERERSDIVISION = DTL.ORDERERSDIVISION ");
-                sql.Append("AND DEP.ORDERERSCODE = DTL.ORDERERSCODE ");
-                sql.Append("AND DEP.TARGETDATE = DTL.TARGETDATE ");
-                sql.Append("AND DTL.SEQNO = 1 ");
-
-                sql.Append("AND DTL.APPROVALENDFLG = 1 ");
-
-                /////////////////////////////////////////////////////////////////////////////
-                //　検索条件(動的)START
-                /////////////////////////////////////////////////////////////////////////////
-
-                // 営業期
-                sql.AppendFormat("AND DEP.BusinessPeriod = {0} ", m_Select_TargetBusinessPeriod);
-
-                // 対象月
-                if (!m_Select_TargetDate.Equals(0))
-                {
-                    sql.AppendFormat("AND SUBSTRING( DEP.TARGETDATE, 5 ) = {0} ", m_Select_TargetDate.ToString("00"));
-                }
-
-                // 担当者
-                if (!m_Select_TargetPerson.Equals(0))
-                {
-                    sql.AppendFormat("AND DTL.APPROVALPERSONCODE = {0} ", m_Select_TargetPerson);
-                }
-
-                // 部署
-                if (!m_Select_TargetDepartment.Equals(0))
-                {
-                    sql.Append("INNER JOIN personinchargemaster PERIM ");
-                    sql.Append("ON DTL.APPROVALPERSONCODE = PERIM.PersonCode ");
-                    sql.AppendFormat("AND PERIM.DepartmentCode = {0} ", m_Select_TargetDepartment);
-                }
-                /////////////////////////////////////////////////////////////////////////////
-                //　検索条件(動的)END
-                /////////////////////////////////////////////////////////////////////////////
-
-                sql.Append("INNER JOIN( ");
-                sql.Append("SELECT ");
-                sql.Append("ORDERERSDIVISION ");
-                sql.Append(",ORDERERSCODE");
-                sql.Append(",SUM(DEPOSITAMOUNT) AS DEPOSITAMOUNT_SUM ");
-                sql.Append("FROM ");
-                sql.Append("DEPOSITDATADETAIL DTL ");
-                sql.Append("GROUP BY ");
-                sql.Append("ORDERERSDIVISION ");
-                sql.Append(",ORDERERSCODE ");
-                sql.Append(") AS AMOUNT ");
-                sql.Append("ON AMOUNT.ORDERERSDIVISION = DEP.ORDERERSDIVISION ");
-                sql.Append("AND AMOUNT.ORDERERSCODE = DEP.ORDERERSCODE ");
-                sql.Append("LEFT JOIN ORDERERSMASTER ORD ON ");
-                sql.Append("DEP.ORDERERSDIVISION = ORD.ORDERCOTEGORY ");
-                sql.Append("AND DEP.ORDERERSCODE = ORD.ORDERERSCODE ");
-                sql.Append("WHERE ");
-                sql.Append("DTL.REQUESTNO IS NOT NULL ");
-
-                sql.Append("ORDER BY  ");
-                sql.Append("AMOUNT.DEPOSITAMOUNT_SUM DESC, DEP.DEPOSITDATE DESC");
-
-                var data = new ArrayList();
-                if (!depDb.ExecuteReader(sql.ToString(), ref data)) return new ArrayList();
-                return data;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
-                return new ArrayList();
-            }
-            finally
-            {
-                depDb.close();
-                depDb = null;
-            }
-        }
-        #endregion
-
-        #region 入金明細データ取得SQL
-        /// <summary>
-        /// 入金明細データを取得する。
-        /// </summary>
-        /// <param name="orderersDivision"></param>
-        /// <param name="orderersCode"></param>
-        /// <returns></returns>
-        //private ArrayList SelectDepositDetailData(int orderersDivision, int orderersCode, int targetDate)
-        private ArrayList SelectDepositDetailData(int orderersDivision, int orderersCode)
-        {
-            var depDb = new IODepositData();
-
-            try
-            {
-                var sql = new StringBuilder();
-                sql.Append("SELECT ");
-                sql.Append("DepD.OrderersDivision, ");
-                sql.Append("DepD.OrderersCode, ");
-                sql.Append("DepD.TargetDate, ");
-                sql.Append("DepD.SeqNo, ");
-
-                sql.Append("null as DepositDate, ");
-                sql.Append("null, ");
-                sql.Append("null, ");
-                sql.Append("null, ");
-                sql.Append("null, ");
-                sql.Append("null, ");
-                sql.Append("null, ");
-
-                sql.Append("DepD.LineCount, ");
-                sql.Append("ifnull(DepD.RequestNo, 0) as RequestNo, ");
-                sql.Append("ifnull(DepD.OrderNo, 0) as OrderNo, ");
-                sql.Append("DepD.DepositAmount, ");
-                sql.Append("ifnull(DepD.DiscountAmount, 0) as DiscountAmount, ");
-                sql.Append("ifnull(DepD.CnstrPrice, 0) as CnstrPrice, ");
-                sql.Append("ifnull(DepD.Fees, 0) as Fees, ");
-                sql.Append("ifnull(DepD.OtherAdjustments, 0) as OtherAdjustments, ");
-                sql.Append("ifnull(DepD.CarryAmount, 0) as CarryAmount, ");
-                sql.Append("ifnull(DepD.ApprovalPersonCode, 0) as ApprovalPersonCode, ");
-                sql.Append("ifnull(DepD.ApprovalDate, 0) as ApprovalDate, ");
-                sql.Append("DepD.ApprovalEndFlg, ");
-                sql.Append("PicM.SealPrintName, ");
-                sql.Append("0, ");                                  //sql.Append("PicM2.DepartmentCode, ");
-                sql.Append("'' as BillCreationDate, ");             //sql.Append("DATE_FORMAT(ReqT.BillCreationDate, '%Y/%m/%d') as BillCreationDate, ");
-                sql.Append("0, ");                                  //sql.Append("ReqT.BillPrice, ");
-                sql.Append("0, ");                                  //sql.Append("ReqT.TaxPrice, ");
-                sql.Append("0, ");                                  //sql.Append("Cbi.ConstructionCode, ");
-                sql.Append("0, ");                                  //sql.Append("Cbi.ConstructionPersonCode, ");
-                sql.Append("0, ");                                  //sql.Append("Cbi.ConstrSubPersonCode, ");
-                sql.Append("0, ");                                  //sql.Append("Cbi.ConstructionInstructor, ");
-                sql.Append("0, ");                                 //sql.Append("CbiD.DetailNo, ");
-                sql.Append("ReqH.ReqConstructionName as DetailString ");           //sql.Append("CbiD.DetailString ");
-                sql.Append("FROM ");
-                sql.Append("DepositDataDetail AS DepD ");
-                sql.Append("INNER JOIN PersonInChargeMaster AS PicM ");
-                sql.Append("ON PicM.PersonCode = DepD.ApprovalPersonCode ");
-                /////////////////////////////////////////////////////////////////////////////
-                //　検索条件(動的)START
-                /////////////////////////////////////////////////////////////////////////////
-                // 担当者
-                if (!m_Select_TargetPerson.Equals(0))
-                {
-                    sql.AppendFormat("AND PicM.PersonCode = {0} ", m_Select_TargetPerson);
-                }
-
-                // 部署
-                if (!m_Select_TargetDepartment.Equals(0))
-                {
-                    sql.AppendFormat("AND PicM.DepartmentCode = {0} ", m_Select_TargetDepartment);
-                }
-
-                sql.Append("INNER join DEPOSITDATA Dep ");
-                sql.Append("ON DepD.ORDERERSDIVISION = Dep.ORDERERSDIVISION ");
-                sql.Append("AND DepD.ORDERERSCODE = Dep.ORDERERSCODE ");
-                sql.Append("AND DepD.TARGETDATE = Dep.TARGETDATE ");
-                sql.Append("AND DepD.SEQNO = Dep.SEQNO ");
-
-                // 営業期
-                sql.AppendFormat("AND Dep.BusinessPeriod = {0} ", m_Select_TargetBusinessPeriod);
-
-                // 対象月
-                if (!m_Select_TargetDate.Equals(0))
-                {
-                    sql.AppendFormat("AND SUBSTRING( Dep.TARGETDATE, 5 ) = {0} ", m_Select_TargetDate.ToString("00"));
-                }
-                /////////////////////////////////////////////////////////////////////////////
-                //　検索条件(動的)END
-                /////////////////////////////////////////////////////////////////////////////
-                sql.Append("LEFT OUTER JOIN RequestHead AS ReqH ON DepD.RequestNo = ReqH.RequestNo ");
-                sql.Append("LEFT OUTER JOIN ApprovalMaster AS Am ON PicM.DepartmentCode = Am.DepartmentCode AND Am.ApprovalCode = 3 AND Am.ApprovalAuthority = 1 ");
-                sql.AppendFormat("WHERE DepD.OrderersDivision = {0} and DepD.OrderersCode = {1} and DepD.RequestNo IS NOT NULL ", orderersDivision, orderersCode);
-                sql.Append("GROUP BY ");
-                sql.Append("DepD.OrderersDivision, ");
-                sql.Append("DepD.OrderersCode, ");
-                sql.Append("DepD.TargetDate, ");
-                sql.Append("DepD.SeqNo, ");
-                sql.Append("DepD.LineCount, ");
-                sql.Append("DepD.RequestNo, ");
-                sql.Append("DepD.OrderNo, ");
-                sql.Append("DepD.DepositAmount, ");
-                sql.Append("DepD.DiscountAmount, ");
-                sql.Append("DepD.CnstrPrice, ");
-                sql.Append("DepD.Fees, ");
-                sql.Append("DepD.OtherAdjustments, ");
-                sql.Append("DepD.CarryAmount, ");
-                sql.Append("DepD.ApprovalPersonCode, ");
-                sql.Append("DepD.ApprovalDate, ");
-                sql.Append("DepD.ApprovalEndFlg, ");
-                sql.Append("PicM.SealPrintName, ");
-                sql.Append("ReqH.ReqConstructionName ");
-                sql.Append("ORDER BY DepD.OrderersDivision, DepD.OrderersCode, DepD.SeqNo, DepD.LineCount, DepD.RequestNo DESC, DepD.OrderNo DESC ");
-
-                var data = new ArrayList();
-                if (!depDb.ExecuteReader(sql.ToString(), ref data)) return new ArrayList();
-                return data;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
-                return new ArrayList();
-            }
-            finally
-            {
-                depDb.close();
-                depDb = null;
-            }
-        }
-        #endregion
-
-        #region 入金確認承認者取得
-        /// <summary>
-        /// 入金確認承認データより、承認者を取得する。
-        /// </summary>
-        /// <param name="orderersDivision"></param>
-        /// <param name="orderersCode"></param>
-        /// <param name="seqNo"></param>
-        /// <param name="lineCount"></param>
-        /// <param name="depositApprovals"></param>
-        /// <returns></returns>
-        private bool SelectApprove(int orderersDivision, int orderersCode, int seqNo, int lineCount, ref List<DepositApprovalInfo> depositApprovals)
-        {
-            IODepositApprovalInfo ioDai = new IODepositApprovalInfo();
-            try
-            {
-                var sql = string.Format(" where OrderersDivision = {0} and OrderersCode = {1} and TargetDate = {2} and SeqNo = {3} and LineCount = {4} order by ApprovalNo",
-                    orderersDivision, orderersCode, m_Select_TargetDate.ToString(), seqNo, lineCount);
-                if (!ioDai.SelectAction(sql, ref depositApprovals))
-                    return false;
-                return true;
-            }
-            catch (Exception ex)
-            {
-                logger.ErrorFormat("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
-                return false;
-            }
-            finally
-            {
-                ioDai = null;
-            }
-        }
-        #endregion
-        #endregion
-
         #region 終了ボタンクリック時のイベント
         /// <summary>
         /// 終了ボタンクリック時のイベント
@@ -1850,35 +238,6 @@
         }
         #endregion
 
-        #region ラジオボタン（通年）選択時のイベント
-        /// <summary>
-        /// ラジオボタン（通年）選択時
-        /// </summary>
-        /// <param name="index"></param>
-        /// <returns></returns>
-        private void radioButton1_CheckedChanged(object sender, EventArgs e)
-        {
-            comboBox1.Enabled = false;
-
-            if (radioButton1.Checked)
-            {
-                DisplayData();
-            }
-        }
-        #endregion
-
-        #region ラジオボタン（月指定）選択時のイベント
-        /// <summary>
-        /// ラジオボタン（月指定）選択時
-        /// </summary>
-        /// <param name="index"></param>
-        /// <returns></returns>
-        private void radioButton2_CheckedChanged(object sender, EventArgs e)
-        {
-            comboBox1.Enabled = true;
-        }
-        #endregion
-
         #region 表示条件．営業期設定時のイベント
         /// <summary>
         /// 表示条件．営業期設定時
@@ -1899,10 +258,7 @@
         /// <returns></returns>
         private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
         {
-            if (!CommonMotions.cnvString(comboBox1.SelectedItem).Equals("　"))
-            {
-                DisplayData();
-            }
+            DisplayData();
         }
         #endregion
 
@@ -1956,5 +312,91 @@
             DisplayData();
         }
         #endregion
+
+        #region グリッド指定セル計算処理
+        /// <summary>
+        /// グリッド指定セル計算処理
+        /// </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)
+                {
+                    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("システムエラー：{0}：{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        // セル選択行
+        int m_BeforeGridRow = -1;
+        #region セル選択変更
+        /// <summary>
+        /// セル変更時行の色を変える
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvMaster_SelectionChanged(object sender, EventArgs e)
+        {
+            DataGridView dgv = dgvMaster;
+            // 行選択色を元に戻す
+            if (m_BeforeGridRow != -1) DefaultRowChangeColor(m_BeforeGridRow);
+
+            // 選択行数を退避
+            m_BeforeGridRow = dgv.CurrentRow.Index;
+            // 行選択色を設定
+            SelectRowChangeColor(m_BeforeGridRow);
+        }
+        #endregion
+
+        #region Windowがサイズ変更
+        /// <summary>
+        /// Windowがサイズ変更された
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dgvMaster_SizeChanged(object sender, EventArgs e)
+        {
+            if (this.WindowState == FormWindowState.Minimized)
+            {
+                // 最小化
+            }
+            else if (this.WindowState == FormWindowState.Maximized)
+            {
+                // 最大化
+                CellSizeChangesWhenChangingScreenSize(false);
+            }
+            else if (this.WindowState == FormWindowState.Normal)
+            {
+                // 標準化
+                CellSizeChangesWhenChangingScreenSize(true);
+            }
+        }
+        #endregion
     }
 }
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirm.resx
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirm.resx	(revision 180)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirm.resx	(revision 181)
@@ -117,235 +117,34 @@
   <resheader name="writer">
     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
-  <metadata name="EditStatus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+  <metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
-  <metadata name="No.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+  <metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
-  <metadata name="OrderersDivision.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+  <metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
-  <metadata name="OrderersCode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+  <metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
-  <metadata name="SeqNo.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+  <metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
-  <metadata name="LineCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+  <metadata name="Column6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
-  <metadata name="OrderersName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+  <metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
-  <metadata name="DepositDate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+  <metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
-  <metadata name="DepositAmountCash.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+  <metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
-  <metadata name="DepositAmountBill.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+  <metadata name="lblCellTotal.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
-  <metadata name="RequestNo.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="OrderNo.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ConstructionName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ConstructionName_Raw.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="PaymentSchedule.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="BillCreationDate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="BillPrice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="TaxPrice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="DepositAmount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="DiscountAmount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="CnstrPrice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="Fees.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="OtherAdjustments.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="CarryAmount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="PersonName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="PersonCode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="PersonDate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalName_1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalCode_1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalAuthority_1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalDate_1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalOrder_1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalName_2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalCode_2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalAuthority_2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalDate_2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalOrder_2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalName_3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalCode_3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalAuthority_3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalDate_3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalOrder_3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalName_4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalCode_4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalAuthority_4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalDate_4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalOrder_4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalName_5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalCode_5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalAuthority_5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalDate_5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalOrder_5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalName_6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalCode_6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalAuthority_6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalDate_6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalOrder_6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalName_7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalCode_7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalAuthority_7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalDate_7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalOrder_7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalName_8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalCode_8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalAuthority_8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalDate_8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalOrder_8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalName_9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalCode_9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalAuthority_9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalDate_9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalOrder_9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalName_10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalCode_10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalAuthority_10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalDate_10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="ApprovalOrder_10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
 </root>
\ No newline at end of file
Index: branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirmAuxiliary.cs
===================================================================
--- branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirmAuxiliary.cs	(nonexistent)
+++ branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/SalesConfirm/FrmSalesConfirmAuxiliary.cs	(revision 181)
@@ -0,0 +1,503 @@
+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 FrmSalesConfirm
+    {
+        #region �\���������擾
+        /// <summary>
+        /// �\���������擾
+        /// </summary>
+        private void GetInitConfig()
+        {
+            try
+            {
+                DataGridView dgv = dgvMaster;
+                // �O���b�h�̏����擾����
+                int CellCount = dgv.ColumnCount;
+                m_CellSize = new int[CellCount];
+                foreach (DataGridViewColumn col in dgv.Columns)
+                {
+                    m_CellSize[col.Index] = col.Width;
+                }
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("�V�X�e���G���[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+
+        #region �������̃Z�b�g
+        /// <summary>
+        /// �������̃Z�b�g
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private List<KeyValuePair<int, String>> getDepartmentList(int iPersonCode)
+        {
+            var listDepartment = new List<KeyValuePair<int, String>>();
+
+            listDepartment.Add(new KeyValuePair<int, String>(0, "���ׂ�"));
+
+            var listResultSQL = new ArrayList();
+            listResultSQL = getDepartmentListQuery(iPersonCode);
+
+            foreach (object[] result in listResultSQL)
+            {
+                int iDepartmentCode = CommonMotions.cnvInt(result[0]);
+                String strDepartmentName = CommonMotions.cnvString(result[1]);
+                listDepartment.Add(new KeyValuePair<int, String>(iDepartmentCode, strDepartmentName));
+            }
+
+            return listDepartment;
+
+        }
+
+        /// <summary>
+        /// �������擾SQL���s
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private ArrayList getDepartmentListQuery(int iPersonCode)
+        {
+            var depDb = new IODepositData();
+
+            try
+            {
+                var sql = new StringBuilder();
+
+                sql.Append("SELECT ");
+                sql.Append("DEPM.DepartmentCode ");                                          // �����}�X�^�D�����R�[�h
+                sql.Append(",DEPM.DepartmentString ");                                          // �����}�X�^�D������
+                sql.Append("FROM ");
+                sql.Append("departmentmaster DEPM ");                                          // �����}�X�^
+
+                /////////////////////////////////////////////////////////////////////////////
+                // ��������(���I)START
+                /////////////////////////////////////////////////////////////////////////////
+                if (!iPersonCode.Equals(0))
+                {
+                    sql.Append("INNER JOIN personinchargemaster PERIM ");                      // �S���҃}�X�^
+                    sql.Append("ON DEPM.DepartmentCode = PERIM.DepartmentCode ");             // �S���҃}�X�^�D�����R�[�h = �����}�X�^�D�����R�[�h
+                    sql.AppendFormat("AND PERIM.PersonCode = {0} ", iPersonCode);             // �S���҃}�X�^�D�S���҃R�[�h = ��ʁD�S���҃R�[�h�i�B�����ځj
+                }
+                /////////////////////////////////////////////////////////////////////////////
+                // ��������(���I)END
+                /////////////////////////////////////////////////////////////////////////////
+
+                sql.Append("WHERE ");
+                sql.Append("DEPM.DeleteFlg = 0 ");                                          // �����}�X�^�D�폜�t���O = 0
+                sql.Append("ORDER BY  ");
+                sql.Append("DEPM.DisplayOrder ASC");                                          // �����}�X�^�D�\�����i�����j
+
+                var data = new ArrayList();
+                if (!depDb.ExecuteReader(sql.ToString(), ref data)) return new ArrayList();
+                return data;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("�V�X�e���G���[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return new ArrayList();
+            }
+            finally
+            {
+                depDb.close();
+                depDb = null;
+            }
+
+        }
+        #endregion
+
+        #region �S���ҏ��̃Z�b�g
+        /// <summary>
+        /// �S���ҏ��̃Z�b�g
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private List<KeyValuePair<int, String>> getPersonList(int iDepartmentCode)
+        {
+            var listPerson = new List<KeyValuePair<int, String>>();
+
+            listPerson.Add(new KeyValuePair<int, String>(0, "���ׂ�"));
+
+            var listResultSQL = new ArrayList();
+            listResultSQL = getPersonListQuery(iDepartmentCode);
+
+            foreach (object[] result in listResultSQL)
+            {
+                int iResultPersonCode = CommonMotions.cnvInt(result[0]);
+                String strResultPersonName = CommonMotions.cnvString(result[1]);
+                listPerson.Add(new KeyValuePair<int, String>(iResultPersonCode, strResultPersonName));
+            }
+
+            return listPerson;
+
+        }
+
+        /// <summary>
+        /// �S���ҏ��擾SQL���s
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private ArrayList getPersonListQuery(int iDepartmentCode)
+        {
+            var depDb = new IODepositData();
+
+            try
+            {
+                var sql = new StringBuilder();
+
+                sql.Append("SELECT ");
+                sql.Append("PERIM.PersonCode ");                                        // �S���҃}�X�^�D�S���҃R�[�h
+                sql.Append(",PERIM.PersonName ");                                       // �S���҃}�X�^�D�S���Җ�
+                sql.Append("FROM ");
+                sql.Append("personinchargemaster PERIM ");                              // �S���҃}�X�^
+                sql.Append("WHERE ");
+                sql.Append("PERIM.DeleteFlg = 0 ");                                     // �����}�X�^�D�폜�t���O = 0
+
+                /////////////////////////////////////////////////////////////////////////////
+                // ��������(���I)START
+                /////////////////////////////////////////////////////////////////////////////
+                if (!iDepartmentCode.Equals(0))
+                {
+                    sql.AppendFormat("AND PERIM.DepartmentCode = {0} ", iDepartmentCode);             // �S���҃}�X�^�D�S���҃R�[�h = ��ʁD�����R�[�h�i�B�����ځj
+                }
+                /////////////////////////////////////////////////////////////////////////////
+                // ��������(���I)END
+                /////////////////////////////////////////////////////////////////////////////
+
+                sql.Append("ORDER BY  ");
+                sql.Append("PERIM.DisplayOrder ASC");                                          // �����}�X�^�D�\�����i�����j
+
+                var data = new ArrayList();
+                if (!depDb.ExecuteReader(sql.ToString(), ref data)) return new ArrayList();
+                return data;
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("�V�X�e���G���[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+                return new ArrayList();
+            }
+            finally
+            {
+                depDb.close();
+                depDb = null;
+            }
+
+        }
+        #endregion
+
+        #region �Ώی��̃Z�b�g
+        /// <summary>
+        /// �Ώی��̃Z�b�g
+        /// </summary>
+        /// <returns></returns>
+        private List<KeyValuePair<int, String>> getTargetMonthList()
+        {
+            var listMonth = new List<KeyValuePair<int, String>>();
+
+            listMonth.Add(new KeyValuePair<int, String>(0, "���ׂ�"));
+
+            DateTime stDate = DateTime.Now;
+            switch (CommonMotions.SystemMasterData.ConstructionNoBase)
+            {
+                case (int)CommonDefine.SystemConstructionNoBase.BusinessPeriod:
+                    // �c�Ɗ�
+                    int iYear = CommonMotions.BusinessPeriodToConstructionYears(CommonMotions.SystemMasterData.BusinessPeriod);
+                    stDate = CommonMotions.cnvDate(string.Format("{0}/{1}",
+                                                    iYear,
+                                                    CommonMotions.SystemMasterData.BusinessBeginningDate));
+                    break;
+                case (int)CommonDefine.SystemConstructionNoBase.ConstructionYear:
+                    // �H���N�x
+                    stDate = CommonMotions.cnvDate(string.Format("{0}/{1}",
+                                                    CommonMotions.SystemMasterData.ConstructionYear,
+                                                    CommonMotions.SystemMasterData.ConstructionBeginningDate));
+                    break;
+            }
+            
+            int DataCnt = 1;
+            DateTime WorkDate = stDate;
+            DateTime EndDate = DateTime.Now;
+            for (int i = stDate.Month; i < 13; i++, DataCnt++)
+            {
+                EndDate = DateTimeUtil.EndOfMonth(WorkDate);
+                listMonth.Add(new KeyValuePair<int, String>(CommonMotions.cnvInt(EndDate.ToString("yyyyMM")),
+                                                            string.Format("{0, 4}��", i)));
+                WorkDate = stDate.AddMonths(DataCnt);
+            }
+            if (DataCnt < 12)
+            {
+                for (int i = 1; i < stDate.Month; i++, DataCnt++)
+                {
+                    EndDate = DateTimeUtil.EndOfMonth(WorkDate);
+                    listMonth.Add(new KeyValuePair<int, String>(CommonMotions.cnvInt(EndDate.ToString("yyyyMM")),
+                                                                string.Format("{0, 4}��", i)));
+                    WorkDate = stDate.AddMonths(DataCnt);
+                }
+            }
+
+            return listMonth;
+
+        }
+        #endregion
+
+        #region �ǂݎ�菇
+        /// <summary>
+        /// �ǂݎ�菇
+        /// </summary>
+        private enum GetOrder
+        {
+            OrderDivision = 0,
+            OrderCode,
+            DisplayOrder,
+            OrderName,
+            DDisplayOrder,
+            DCode,
+            DName,
+            PDisplayOrder,
+            PCode,
+            PName,
+            Value
+        }
+        #endregion
+
+        #region �f�[�^��\������B
+        /// <summary>
+        /// �f�[�^��\������B
+        /// </summary>
+        private void DisplayData()
+        {
+            IORequestHead ReqHDB = new IORequestHead();
+            DataGridView dgv = dgvMaster;
+            try
+            {
+                var sql = new StringBuilder();
+
+                CreateSelectSQL(sql);
+
+                var data = new ArrayList();
+                if (!ReqHDB.ExecuteReader(sql.ToString(), ref data)) return;
+
+                dgv.Rows.Clear();
+
+                int CntNo = 1;
+                long lTotal = 0;
+                foreach (object[] objRec in data)
+                {
+                    dgv.Rows.Add(CntNo++,
+                                objRec[(int)GetOrder.OrderDivision],
+                                objRec[(int)GetOrder.OrderCode],
+                                objRec[(int)GetOrder.OrderName],
+                                CommonMotions.cnvInt(objRec[(int)GetOrder.Value]).ToString("#,0"),
+                                objRec[(int)GetOrder.DCode],
+                                objRec[(int)GetOrder.DName],
+                                objRec[(int)GetOrder.PCode],
+                                objRec[(int)GetOrder.PName]
+                                );
+                    lTotal += CommonMotions.cnvInt(objRec[(int)GetOrder.Value]);
+                }
+                lblTotal.Text = lTotal.ToString("#,0");
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("�V�X�e���G���[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+            finally
+            {
+                ReqHDB.close(); ReqHDB = null;
+                if (35 - dgv.RowCount > 0) dgv.RowCount += 35 - dgv.RowCount;
+            }
+        }
+        #endregion
+
+        #region �S�I���r�p�k�쐬
+        /// <summary>
+        /// �S�I���r�p�k�쐬
+        /// </summary>
+        /// <param name="sql"></param>
+        private void CreateSelectSQL(StringBuilder sql)
+        {
+            try
+            {
+                int SelMonth = CommonMotions.cnvInt(comboBox1.SelectedValue);
+                int SelDepartment = CommonMotions.cnvInt(comboBox2.SelectedValue);
+                int SelPerson = CommonMotions.cnvInt(comboBox3.SelectedValue);
+
+
+                sql.Append("select");
+                sql.Append(" A1.ORDERERSDIVISION AS OrderDivision,");
+                sql.Append(" A1.ORDERERSCODE AS OrderCode,");
+                sql.Append(" A2.DisplayOrder AS DisplayOrder,");
+                sql.Append(" C2.DetailString AS OrderName,");
+                sql.Append(" E1.DisplayOrder AS DDispOrder,");
+                sql.Append(" E1.DepartmentCode AS DCode,");
+                sql.Append(" E1.DepartmentString AS DName,");
+                sql.Append(" D1.DisplayOrder AS PDispOrder,");
+                sql.Append(" D1.PersonCode AS PCode,");
+                sql.Append(" D1.PersonName AS PName,");
+                sql.Append(" SUM(A1.REQUESTAMOUNT) AS Value");
+
+                sql.Append(" from requesthead AS A1");
+                sql.Append(" LEFT JOIN orderersmaster AS A2 ON A2.OrderCotegory = A1.ORDERERSDIVISION AND A2.OrderersCode = A1.ORDERERSCODE,");
+                sql.Append(" constructionbaseinfo AS C1");
+                sql.AppendFormat(" LEFT JOIN constructionbaseinfodetail C2 ON C2.ConstructionCode = C1.ConstructionCode AND C2.DetailNo= {0}",
+                                    (int)ConstructionBaseInfoDetail.DetailDataNo.OrderersName);
+                sql.Append(" LEFT JOIN personinchargemaster D1 ON D1.PersonCode = C1.ConstructionPersonCode");
+                sql.Append(" LEFT JOIN departmentmaster E1 ON E1.DepartmentCode = D1.DepartmentCode");
+
+                sql.Append(" WHERE C1.ConstructionCode = A1.REQCONSTRUCTIONCODE");
+                
+                sql.AppendFormat(" AND C1.ConstructionPeriod = {0}", numericUpDown2.Value);
+
+                if (SelMonth != 0) sql.AppendFormat(" AND A1.REQUESTMONTH = {0}", SelMonth);
+                if (SelDepartment != 0) sql.AppendFormat(" AND E1.DepartmentCode = {0}", SelDepartment);
+                if (SelPerson != 0) sql.AppendFormat(" AND D1.PersonCode = {0}", SelPerson);
+                
+                sql.Append(" group by OrderName, DCode, PCode");
+                sql.Append(" order by DisplayOrder, DDispOrder, PDispOrder, OrderCode");
+
+            }
+            catch (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;
+                DataGridViewRow CurRow = dgv.Rows[CurrentRow];
+                int colcnt = dgv.Columns.Count;
+                int RowCount = CurRow.Index;
+
+                Color SetBackColor = Color.White;
+                Color SetForeColor = Color.Black;
+
+                   // ���׍s
+                    // ��̐F��ς���
+                for (int i = 0; i < colcnt; i++)
+                {
+                    SetBackColor = Color.White;
+                    CurRow.Cells[i].Style.BackColor = SetBackColor;
+                    if (CurRow.Cells[i].Style.ForeColor != Color.Red) CurRow.Cells[i].Style.ForeColor = SetForeColor;
+                }
+                // �s�̐F��ς���
+                for (int i = 0; i < colcnt; i++)
+                {
+                    CurRow.Cells[i].Style.BackColor = SetBackColor;
+                    if (CurRow.Cells[i].Style.ForeColor != Color.Red) CurRow.Cells[i].Style.ForeColor = SetForeColor;
+                }
+            }
+            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];
+                // �J������
+                int colcnt = dgv.Columns.Count;
+
+                // �s�̐F��ς���
+                for (int i = 0; i < colcnt; i++)
+                {
+                    dgv.Rows[m_BeforeGridRow].Cells[i].Style.BackColor = s_RowSelectColor;
+                }
+            }
+            catch (System.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 CellWidth1 = m_CellSize[(int)GridColumn.OrdersName];
+                int CellWidth2 = m_CellSize[(int)GridColumn.OrderPrice];
+                int CellWidth3 = m_CellSize[(int)GridColumn.DepartmentName];
+                int CellWidth4 = m_CellSize[(int)GridColumn.ConstrPersonName];
+                // �ő剻�̏ꍇ
+                if (!bNormal)
+                {
+                    int allWidth = 0;
+                    for (int i = 0; i < dgv.ColumnCount; i++)
+                    {
+                        if (!dgv.Columns[i].Visible) continue;
+                        allWidth += m_CellSize[i];
+                    }
+                    // �Z���̍��v�T�C�Y���傫���ꍇ�͏������Ȃ�
+                    if (allWidth > dgv.Width) return;
+
+                    int idifference = (dgv.Width - (allWidth + dgv.RowHeadersWidth)) / 4;
+                    CellWidth1 += idifference;
+                    CellWidth2 += idifference;
+                    CellWidth3 += idifference;
+                    CellWidth4 += idifference;
+                }
+
+                dgv.Columns[(int)GridColumn.OrdersName].Width = CellWidth1;
+                dgv.Columns[(int)GridColumn.OrderPrice].Width = CellWidth2;
+                dgv.Columns[(int)GridColumn.DepartmentName].Width = CellWidth3;
+                dgv.Columns[(int)GridColumn.ConstrPersonName].Width = CellWidth4;
+
+            }
+            catch (Exception ex)
+            {
+                logger.ErrorFormat("�V�X�e���G���[�F{0}�F{1}", CommonMotions.GetMethodName(), ex.Message);
+            }
+        }
+        #endregion
+    }
+}
\ No newline at end of file
