プロジェクト

全般

プロフィール

リビジョン 314

堀内ほぼ7年前に追加

エラーキャッチ時のメッセージフォーマットバグ修正
工事承認:積算見積・積算予算コメント同一表示に修正
エクセルフォーマット:注文請書に割り印追加

差分を表示:

branches/src/ProcessManagement/ProcessManagement/Common/CommonMotions.cs
2482 2482
                string strSQL = "SELECT A.MONTHLYSALARY, A.YEARSALARY, A.PERSONCODE, A.STARTDATE FROM PERSONSALARYMASTER A,";
2483 2483
                strSQL += " (SELECT PERSONCODE, MAX(STARTDATE) sDate FROM PERSONSALARYMASTER";
2484 2484
                strSQL += string.Format(" WHERE PERSONCODE = {0}", PersonCode);
2485
                strSQL += string.Format(" AND DATE(NOW()) <= STR_TO_DATE('{0}', '%Y/%m/%d')", GetData.ToShortDateString());
2485
                strSQL += string.Format(" AND DATE(NOW()) <= '{0}'", GetData.ToShortDateString());
2486 2486
                strSQL += " GROUP BY PERSONCODE) B";
2487 2487
                strSQL += " WHERE A.PERSONCODE = B.PERSONCODE AND A.STARTDATE = B.sDate";
2488 2488

  
branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs
14 14
        /// <summary>
15 15
        /// 本体バージョン
16 16
        /// </summary>
17
        public static int s_SystemVersion = 132;
17
        public static int s_SystemVersion = 133;
18 18

  
19 19
        /// <summary>
20 20
        /// コピー・環境バージョン
branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsChangeLedgerData.cs
871 871
            {
872 872
                // キー作成
873 873
                string strSQL = LedgerExDB.CreatePrimarykeyString(ConstrCode, GroupCount, LineCount, ColumnCount);
874
                strSQL += string.Format(" AND DATE(TargetMonth) = STR_TO_DATE('{0}','%Y/%m/%d')", ColumnDate.ToShortDateString());
874
                strSQL += string.Format(" AND DATE(TargetMonth) = '{0}'", ColumnDate.ToShortDateString());
875 875

  
876 876
                // データ読込み
877 877
                List<ConstructionLedgerExcute> LedgerExDBList = new List<ConstructionLedgerExcute>();
......
1302 1302
                if (!ExecDB.ExecuteReader(strSQL.ToString(), ref ExecList, false)) return false;
1303 1303

  
1304 1304
                bool bExists = false;
1305
                object[] objRec = (object[])ExecList[0];
1306 1305
                // 明細データが存在して実行データも存在する場合
1307 1306
                if (ExecList.Count > 0)
1308 1307
                {
1308
                    object[] objRec = (object[])ExecList[0];
1309 1309
                    ExcuteRec.LineCount = CommonMotions.cnvInt(objRec[2]);
1310 1310
                    DetailRec.LineCount = ExcuteRec.LineCount;
1311 1311
                    if (CommonMotions.cnvInt(objRec[3]) != 0)
......
1377 1377
        }
1378 1378
        #endregion
1379 1379

  
1380
        #region 工事詳細台帳支払いデータ削除(手間・業者支払用)
1380
        #region 工事詳細台帳支払いデータ変更(手間・業者支払用)
1381 1381
        /// <summary>
1382
        /// 工事詳細台帳支払いデータ削除(手間・業者支払用)
1382
        /// 工事詳細台帳支払いデータ変更(手間・業者支払用)
1383 1383
        /// </summary>
1384 1384
        /// <param name="EntryList"></param>
1385 1385
        /// <returns></returns>
1386
        public static bool RemoveExecuteData(IOConstructionLedgerDetail DetailDB
1386
        public static bool ModifyExecuteData(IOConstructionLedgerDetail DetailDB
1387 1387
                                            , IOConstructionLedgerExcute ExecDB
1388 1388
                                            , ConstructionLedgerDetail DetailRec
1389
                                            , ConstructionLedgerExcute ExcuteRec)
1389
                                            , ConstructionLedgerExcute ExcuteRec
1390
                                            , bool bRemove)
1390 1391
        {
1391 1392
            try
1392 1393
            {
......
1418 1419
                ArrayList ExecList = new ArrayList();
1419 1420
                if (!ExecDB.ExecuteReader(strSQL.ToString(), ref ExecList, false)) return false;
1420 1421

  
1422
                // 明細データが存在しない場合
1423
                if (ExecList.Count < 1) return true;
1421 1424
                object[] objRec = (object[])ExecList[0];
1422
                // 明細データが存在しない場合
1423
                if (ExecList.Count < 0) return true;
1424 1425

  
1425 1426
                ExcuteRec.LineCount = CommonMotions.cnvInt(objRec[2]);
1426 1427
                DetailRec.LineCount = ExcuteRec.LineCount;
......
1430 1431
                    return true;
1431 1432
                }
1432 1433

  
1434
                double SetValue = 0;
1435
                // 削除時は金額を0にする
1436
                if (!bRemove) SetValue = ExcuteRec.PaymentAmount;
1433 1437
                // データ存在時は支払金額更新
1434 1438
                if (!ExecDB.UpdateFeild(ExcuteRec.ConstructionCode,
1435 1439
                                    ExcuteRec.GroupCount,
1436 1440
                                    ExcuteRec.LineCount,
1437 1441
                                    ExcuteRec.ColumnCount,
1438 1442
                                    (int)IOConstructionLedgerExcute.TableColumn.PaymentAmount,
1439
                                    0,
1443
                                    SetValue,
1440 1444
                                    false))
1441 1445
                {
1442 1446
                    return false;
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOBankBusinessDayMaster.cs
227 227
            }
228 228
            catch (Exception ex)
229 229
            {
230
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
230
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
231 231
            }
232 232
        }
233 233

  
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOBillingData.cs
54 54

  
55 55
        #endregion
56 56

  
57
        #region パブリックメソッド
57
        #region データ検索
58 58
        /// <summary>
59 59
        /// データ検索
60 60
        /// </summary>
......
72 72
            {
73 73
                // SQL作成(DateTime型が変換できないのでCharに変換しておく)
74 74
                strcmd.Append("SELECT");
75
                strcmd.Append(" CompanyCode,TargetDate,SeqNo,BillPrice");
76
                strcmd.Append(" ,DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')");
77
                strcmd.Append(" ,DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')");
75
                strcmd.Append("  CompanyCode");
76
                strcmd.Append(", TargetDate");
77
                strcmd.Append(", SeqNo");
78
                strcmd.Append(", BillPrice");
79
                strcmd.Append(", DATE_FORMAT(EntryDate, '%Y/%m/%d %H:%i:%s')");
80
                strcmd.Append(", DATE_FORMAT(UpdateDate, '%Y/%m/%d %H:%i:%s')");
78 81
                strcmd.Append(" FROM BillingData");
79 82
                strcmd.Append(AddSQLString);
80 83

  
......
98 101
            }
99 102

  
100 103
        }
104
        #endregion
101 105

  
106
        #region 新規登録(1件)
102 107
        /// <summary>
103
        /// 新規登録
108
        /// 新規登録(1件)
104 109
        /// </summary>
105 110
        /// <param name="data"></param>
106 111
        /// <param name="bConnect"></param>
107 112
        /// <returns></returns>
113
        public bool InsertAction(BillingData data, bool bConnect = true)
114
        {
115
            StringBuilder strcmd = new StringBuilder();
116
            try
117
            {
118

  
119
                strcmd.Clear();
120
                strcmd.Append("INSERT INTO BillingData");
121

  
122
                strcmd.Append(" (");
123
                bool bFirst = true;
124
                foreach (var gender in Enum.GetValues(typeof(NameColumn)))
125
                {
126
                    if (!bFirst) strcmd.Append(" ,");
127
                    strcmd.Append(gender.ToString());
128
                    bFirst = false;
129
                }
130
                strcmd.Append(") VALUES (");
131

  
132
                strcmd.AppendFormat("  {0}", data.CompanyCode.ToString());
133
                strcmd.AppendFormat(", {0}", data.TargetDate.ToString());
134
                strcmd.AppendFormat(", {0}", data.SeqNo.ToString());
135
                strcmd.AppendFormat(", {0}", data.BillPrice.ToString());
136

  
137
                strcmd.Append(", NOW()");
138
                strcmd.Append(", NOW()");
139
                strcmd.Append(")");
140

  
141
                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
142

  
143
                return true;
144
            }
145
            catch (Exception ex)
146
            {
147
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
148
                return false;
149
            }
150
        }
151
        #endregion
152

  
153
        #region 新規登録(複数)
154
        /// <summary>
155
        /// 新規登録(複数)
156
        /// </summary>
157
        /// <param name="data"></param>
158
        /// <param name="bConnect"></param>
159
        /// <returns></returns>
108 160
        public bool InsertAction(List<BillingData> data, bool bConnect = true)
109 161
        {
110 162
            StringBuilder strcmd = new StringBuilder();
111 163
            try
112 164
            {
113 165

  
166
                strcmd.Clear();
167
                strcmd.Append("INSERT INTO BillingData");
168

  
169
                strcmd.Append(" (");
170

  
171
                bool bColFirst = true;
172
                foreach (var gender in Enum.GetValues(typeof(NameColumn)))
173
                {
174
                    if (!bColFirst) strcmd.Append(", ");
175
                    strcmd.Append(gender.ToString());
176
                    bColFirst = false;
177
                }
178

  
179
                strcmd.Append(") VALUES");
180

  
181
                bool bDataFirst = true;
114 182
                foreach (BillingData work in data)
115 183
                {
116
                    strcmd.Clear();
117
                    strcmd.Append("INSERT INTO BillingData");
184
                    if (bDataFirst) strcmd.Append(" (");
185
                    else strcmd.Append(", (");
118 186

  
119
                    strcmd.Append(" VALUES (");
120

  
121 187
                    strcmd.AppendFormat("  {0}", work.CompanyCode.ToString());
122 188
                    strcmd.AppendFormat(", {0}", work.TargetDate.ToString());
123 189
                    strcmd.AppendFormat(", {0}", work.SeqNo.ToString());
......
127 193
                    strcmd.Append(", NOW()");
128 194
                    strcmd.Append(")");
129 195

  
130
                    if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
196
                    bDataFirst = false;
131 197
                }
198
                
199
                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
200
                
132 201
                return true;
133 202
            }
134 203
            catch (Exception ex)
......
137 206
                return false;
138 207
            }
139 208
        }
209
        #endregion
140 210

  
211
        #region 更新登録
141 212
        /// <summary>
142 213
        /// 更新登録
143 214
        /// </summary>
......
170 241
                return false;
171 242
            }
172 243
        }
244
        #endregion
173 245

  
246
        #region 1項目更新処理
174 247
        /// <summary>
248
        /// 1項目の更新を行う
249
        /// </summary>
250
        /// <param name="CompanyCode"></param>
251
        /// <param name="FeildNo"></param>
252
        /// <param name="value"></param>
253
        /// <param name="bConnect"></param>
254
        /// <returns></returns>
255
        public bool UpdateFeild(int CompanyCode, int TargetDate, int SeqNo, int FeildNo, object value, bool bConnect = true)
256
        {
257
            StringBuilder strcmd = new StringBuilder();
258
            try
259
            {
260
                strcmd.Append("UPDATE BillingData");
261

  
262
                strcmd.Append(" SET");
263
                switch (FeildNo)
264
                {
265
                    case (int)NameColumn.CompanyCode:
266
                        strcmd.AppendFormat(" CompanyCode = {0}", ((int)value).ToString());
267
                        break;
268
                    case (int)NameColumn.TargetDate:
269
                        strcmd.AppendFormat(" TargetDate = {0}", ((int)value).ToString());
270
                        break;
271
                    case (int)NameColumn.SeqNo:
272
                        strcmd.AppendFormat(" SeqNo = {0}", ((int)value).ToString());
273
                        break;
274
                    case (int)NameColumn.BillPrice:
275
                        strcmd.AppendFormat(" BillPrice = {0}", ((long)value).ToString());
276
                        break;
277
                }
278

  
279
                strcmd.Append(", UpdateDate = NOW()");
280
                strcmd.Append(CreatePrimarykeyString(CompanyCode, TargetDate, SeqNo));
281

  
282
                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
283

  
284
                return true;
285
            }
286
            catch (Exception ex)
287
            {
288
                logger.ErrorFormat("システムエラー:{0}:{1}:{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
289
                return false;
290
            }
291
        }
292
        #endregion
293

  
294
        #region 削除
295
        /// <summary>
175 296
        /// 削除
176 297
        /// </summary>
177 298
        /// <param name="AddSQLString"></param>
......
195 316
                return false;
196 317
            }
197 318
        }
319
        #endregion
198 320

  
321
        #region 構造体へセット
199 322
        /// <summary>
200 323
        /// 構造体へセット
201 324
        /// </summary>
......
220 343
            }
221 344
            catch (Exception ex)
222 345
            {
223
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
346
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
224 347
            }
225 348
        }
226

  
227

  
228 349
        #endregion
229 350

  
230
        #region パブリックメソッド(特殊処理)
231

  
351
        #region 主キー検索の文字列を返す
232 352
        /// <summary>
233 353
        /// 主キー検索の文字列を返す
234 354
        /// </summary>
......
249 369

  
250 370
            return strWork.ToString();
251 371
        }
372
        #endregion
252 373

  
374
        #region 行ロック
253 375
        /// <summary>
254 376
        /// 行ロック
255 377
        /// </summary>
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOBillingDataDetail.cs
347 347
            }
348 348
            catch (Exception ex)
349 349
            {
350
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
350
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
351 351
            }
352 352
        }
353 353
        #endregion
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOBillingPaymentSummary.cs
63 63

  
64 64
        #endregion
65 65

  
66
        #region パブリックメソッド
66
        #region 検索
67 67
        /// <summary>
68 68
        /// 検索
69 69
        /// </summary>
......
118 118
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
119 119
                return false;
120 120
            }
121
        }
122
        #endregion
121 123

  
124
        #region 新規登録(1件)
125
        /// <summary>
126
        /// 新規登録(1件)
127
        /// </summary>
128
        /// <param name="data"></param>
129
        /// <param name="bConnect"></param>
130
        /// <returns></returns>
131
        public bool InsertAction(BillingPaymentSummary work, bool bConnect = true)
132
        {
133
            StringBuilder strcmd = new StringBuilder();
134
            try
135
            {
136

  
137
                strcmd.Clear();
138
                strcmd.Append("INSERT INTO BillingPaymentSummary");
139

  
140
                strcmd.Append(" (");
141
                bool bFirst = true;
142
                foreach (var gender in Enum.GetValues(typeof(NameColumn)))
143
                {
144
                    if (!bFirst) strcmd.Append(" ,");
145
                    strcmd.Append(gender.ToString());
146
                    bFirst = false;
147
                }
148
                strcmd.Append(") VALUES (");
149

  
150
                strcmd.AppendFormat("  {0}", work.CompanyCode.ToString());
151
                strcmd.AppendFormat(", {0}", work.TargetDate.ToString());
152
                strcmd.AppendFormat(", {0}", work.ChargePaymentKind.ToString());
153
                strcmd.AppendFormat(", STR_TO_DATE('{0}','%Y/%m/%d')", work.Payday.ToShortDateString());
154
                strcmd.AppendFormat(", {0}", work.BillPriceStotal.ToString());
155
                strcmd.AppendFormat(", {0}", work.ConsumptionTaxRate.ToString());
156
                strcmd.AppendFormat(", {0}", work.ConsumptionTaxPrice.ToString());
157
                strcmd.AppendFormat(", {0}", work.HighwPriceStotal.ToString());
158
                strcmd.AppendFormat(", {0}", work.HardwPriceStotal.ToString());
159
                strcmd.AppendFormat(", {0}", work.IndsWasteTaxStotal.ToString());
160
                strcmd.AppendFormat(", {0}", work.CnstrPriceRate.ToString());
161
                strcmd.AppendFormat(", {0}", work.CnstrPriceStotal.ToString());
162
                strcmd.AppendFormat(", {0}", work.BillingPriceTotal.ToString());
163

  
164
                strcmd.Append(", NOW()");
165
                strcmd.Append(", NOW()");
166
                strcmd.Append(")");
167

  
168
                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
169

  
170
                return true;
171
            }
172
            catch (Exception ex)
173
            {
174
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd.ToString());
175
                return false;
176
            }
122 177
        }
178
        #endregion
123 179

  
180
        #region 新規登録(複数)
124 181
        /// <summary>
125
        /// 新規登録
182
        /// 新規登録(複数)
126 183
        /// </summary>
127 184
        /// <param name="data"></param>
128 185
        /// <param name="bConnect"></param>
......
133 190
            try
134 191
            {
135 192

  
193
                strcmd.Clear();
194
                strcmd.Append("INSERT INTO BillingPaymentSummary");
195

  
196
                strcmd.Append(" (");
197

  
198
                bool bColFirst = true;
199
                foreach (var gender in Enum.GetValues(typeof(NameColumn)))
200
                {
201
                    if (!bColFirst) strcmd.Append(", ");
202
                    strcmd.Append(gender.ToString());
203
                    bColFirst = false;
204
                }
205
                strcmd.Append(") VALUES");
206

  
207
                bool bDataFirst = true;
208

  
136 209
                foreach (BillingPaymentSummary work in data)
137 210
                {
138
                    strcmd.Clear(); 
139
                    strcmd.Append("INSERT INTO BillingPaymentSummary");
211
                    if (bDataFirst) strcmd.Append(" (");
212
                    else strcmd.Append(", (");
140 213

  
141
                    strcmd.Append(" VALUES (");
142

  
143 214
                    strcmd.AppendFormat("  {0}", work.CompanyCode.ToString());
144 215
                    strcmd.AppendFormat(", {0}", work.TargetDate.ToString());
145 216
                    strcmd.AppendFormat(", {0}", work.ChargePaymentKind.ToString());
......
158 229
                    strcmd.Append(", NOW()");
159 230
                    strcmd.Append(")");
160 231

  
161
                    if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
232
                    bDataFirst = false;
162 233
                }
234

  
235
                if (!ExecuteNonQuery(strcmd.ToString(), bConnect)) return false;
236

  
163 237
                return true;
164 238
            }
165 239
            catch (Exception ex)
......
168 242
                return false;
169 243
            }
170 244
        }
245
        #endregion
171 246

  
247
        #region 更新登録
172 248
        /// <summary>
173 249
        /// 更新登録
174 250
        /// </summary>
......
212 288
                return false;
213 289
            }
214 290
        }
291
        #endregion
215 292

  
293
        #region 削除
216 294
        /// <summary>
217 295
        /// 削除
218 296
        /// </summary>
......
237 315
                return false;
238 316
            }
239 317
        }
318
        #endregion
240 319

  
320
        #region 構造体設定
241 321
        /// <summary>
242 322
        /// 構造体設定
243 323
        /// </summary>
......
274 354
            }
275 355
            catch (Exception ex)
276 356
            {
277
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
357
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
278 358
            }
279 359
        }
280 360
        #endregion
281 361

  
282
        #region パブリックメソッド(特殊処理)
283

  
362
        #region 行ロック
284 363
        /// <summary>
285 364
        /// 行ロック
286 365
        /// </summary>
......
312 391

  
313 392

  
314 393
        }
394
        #endregion
315 395

  
316
        public string CreatePrimarykeyString(int CompanyCode, int TargetDate, int ChargePaymentKind)
396
        #region プライマリキー作成
397
        /// <summary>
398
        /// プライマリキー作成
399
        /// </summary>
400
        public string CreatePrimarykeyString(int CompanyCode, int TargetDate, int ChargePaymentKind = -1)
317 401
        {
318 402
            StringBuilder strWork = new StringBuilder();
319 403
            try
320 404
            {
321
                strWork.AppendFormat(" Where CompanyCode = {0} and TargetDate = {1} and ChargePaymentKind = {2}", CompanyCode, TargetDate, ChargePaymentKind);
405
                strWork.AppendFormat(" Where CompanyCode = {0}", CompanyCode);
406
                strWork.AppendFormat(" And TargetDate = {0}", TargetDate);
407
                if (ChargePaymentKind > -1) strWork.AppendFormat(" And ChargePaymentKind = {0}", ChargePaymentKind);
322 408

  
323 409
            }
324 410
            catch (Exception ex)
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOConstructionMaterialInfo.cs
243 243
            }
244 244
            catch (Exception ex)
245 245
            {
246
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
246
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
247 247
            }
248 248
        }
249 249
        #endregion
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IODeadLineMaster.cs
234 234
            }
235 235
            catch (Exception ex)
236 236
            {
237
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
237
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
238 238
            }
239 239
        }
240 240

  
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IODepositApprovalInfo.cs
340 340
            }
341 341
            catch (Exception ex)
342 342
            {
343
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
343
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
344 344
            }
345 345
        }
346 346
        #endregion
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IODepositData.cs
346 346
            }
347 347
            catch (Exception ex)
348 348
            {
349
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
349
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
350 350
            }
351 351
        }
352 352
        #endregion
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IODepositDataDetail.cs
311 311
            }
312 312
            catch (Exception ex)
313 313
            {
314
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
314
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
315 315
            }
316 316
        }
317 317
        #endregion
......
350 350
            }
351 351
            catch (Exception ex)
352 352
            {
353
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
353
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
354 354
            }
355 355
        }
356 356
        #endregion
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOInvoiceData.cs
340 340
            }
341 341
            catch (Exception ex)
342 342
            {
343
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
343
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
344 344
            }
345 345
        }
346 346
        #endregion
......
387 387
            }
388 388
            catch (Exception ex)
389 389
            {
390
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
390
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
391 391
            }
392 392
        }
393 393
        #endregion
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMCategoryName.cs
276 276
            }
277 277
            catch (Exception ex)
278 278
            {
279
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
279
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
280 280
            }
281 281
        }
282 282

  
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMaterialInfo.cs
226 226
            }
227 227
            catch (Exception ex)
228 228
            {
229
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
229
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
230 230
            }
231 231
        }
232 232
        #endregion
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMaterialRecordInfo.cs
248 248
            }
249 249
            catch (Exception ex)
250 250
            {
251
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
251
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
252 252
            }
253 253
        }
254 254
        #endregion
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMaterialTypes.cs
223 223
            }
224 224
            catch (Exception ex)
225 225
            {
226
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
226
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
227 227
            }
228 228
        }
229 229

  
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPaymentApprovalInfo.cs
377 377
            }
378 378
            catch (Exception ex)
379 379
            {
380
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
380
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
381 381
            }
382 382
        }
383 383
        #endregion
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPaymentDataDetail.cs
369 369
            }
370 370
            catch (Exception ex)
371 371
            {
372
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
372
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
373 373
            }
374 374
        }
375 375

  
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IORequestData.cs
344 344
            }
345 345
            catch (Exception ex)
346 346
            {
347
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
347
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
348 348
            }
349 349
        }
350 350
        #endregion
......
387 387
            }
388 388
            catch (Exception ex)
389 389
            {
390
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
390
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
391 391
            }
392 392
        }
393 393
        #endregion
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IORequestDataDetail.cs
293 293
            }
294 294
            catch (Exception ex)
295 295
            {
296
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
296
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
297 297
            }
298 298
        }
299 299
        #endregion
......
325 325
            }
326 326
            catch (Exception ex)
327 327
            {
328
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
328
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
329 329
            }
330 330
        }
331 331
        #endregion
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IORequestHead.cs
348 348
            }
349 349
            catch (Exception ex)
350 350
            {
351
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
351
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
352 352
            }
353 353
        }
354 354
        #endregion
......
394 394
            }
395 395
            catch (Exception ex)
396 396
            {
397
                logger.ErrorFormat("システムエラー::{0}:{1}:{2}", CommonMotions.GetMethodName(), ex.Message);
397
                logger.ErrorFormat("システムエラー::{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
398 398
            }
399 399
        }
400 400
        #endregion
branches/src/ProcessManagement/ProcessManagement/DataModel/ConstructionLedgerDetail.cs
50 50
        }
51 51
        #endregion
52 52

  
53
        #region 工事詳細台帳明細:独立データフラグ
54
        /// <summary>
55
        /// 独立データフラグ
56
        /// </summary>
57
        public enum IndependentFlgDef
58
        {
59
            /// <summary>
60
            /// 従属データ
61
            /// </summary>
62
            LowOrder = 0,
63
            /// <summary>
64
            /// 独立データ
65
            /// </summary>
66
            Independent,
67
        }
68
        #endregion
69

  
53 70
        #region 工事詳細台帳明細:増減工事フラグ
54 71
        /// <summary>
55 72
        /// 工事詳細台帳:増減工事フラグ
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ApprovalScreen/FrmApprovalScreenAuxiliary.cs
1246 1246
        /// </summary>
1247 1247
        private void DispTreeViewComment()
1248 1248
        {
1249
            IOProcessApprovalComment CommentDB = new IOProcessApprovalComment();
1250 1249
            try
1251 1250
            {
1252 1251
                // Clear
1253 1252
                tvDispData.Nodes.Clear();
1254 1253

  
1255 1254
                // Comment Data Get
1256
                StringBuilder strSQL = new StringBuilder();
1257
                strSQL.Append(CommentDB.CreatePrimarykeyString(m_ConstructionCode, m_ApprovalCode, m_OrderNo));
1258 1255
                List<ProcessApprovalComment> CommentList = new List<ProcessApprovalComment>();
1259
                if (!CommentDB.SelectAction(strSQL.ToString(), ref CommentList)) return;
1260 1256

  
1257
                switch (m_ApprovalCode)
1258
                {
1259
                    case (int)ClsExcute.ApprovalListNo.EstimateApproval:
1260
                    case (int)ClsExcute.ApprovalListNo.EstimateBudgetApproval:
1261
                        GetEstimateComment(ref  CommentList);
1262
                        break;
1263
                    default:
1264
                        // 通常取得
1265
                        GetNormalComment(ref  CommentList);
1266
                        break;
1267
                }
1268

  
1261 1269
                // Display Node at Loop
1262 1270
                TreeNode treeNode = null;
1263 1271
                for (int nCommentCnt = 0; nCommentCnt < CommentList.Count; nCommentCnt++)
......
1280 1288
            {
1281 1289
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
1282 1290
            }
1291
        }
1292
        #endregion
1293

  
1294
        #region コメント通常取得処理
1295
        /// <summary>
1296
        /// コメント通常取得処理
1297
        /// </summary>
1298
        /// <param name="CommentList"></param>
1299
        private void GetNormalComment(ref List<ProcessApprovalComment> CommentList)
1300
        {
1301
            IOProcessApprovalComment CommentDB = new IOProcessApprovalComment();
1302
            try
1303
            {
1304
                // Comment Data Get
1305
                StringBuilder strSQL = new StringBuilder();
1306
                strSQL.Append(CommentDB.CreatePrimarykeyString(m_ConstructionCode, m_ApprovalCode, m_OrderNo));
1307
                if (!CommentDB.SelectAction(strSQL.ToString(), ref CommentList)) return;
1308
            }
1283 1309
            finally
1284 1310
            {
1285 1311
                CommentDB.close(); CommentDB = null;
......
1287 1313
        }
1288 1314
        #endregion
1289 1315

  
1316
        #region コメント通常取得処理
1317
        /// <summary>
1318
        /// コメント通常取得処理
1319
        /// </summary>
1320
        /// <param name="CommentList"></param>
1321
        private void GetEstimateComment(ref List<ProcessApprovalComment> CommentList)
1322
        {
1323
            IOProcessApprovalComment CommentDB = new IOProcessApprovalComment();
1324
            try
1325
            {
1326
                // Comment Data Get
1327
                StringBuilder strSQL = new StringBuilder();
1328
                strSQL.Append("Select * From processapprovalcomment As ComData");
1329
                strSQL.AppendFormat(" Where ComData.ConstructionCode = {0}", m_ConstructionCode);
1330
                strSQL.AppendFormat(" And ComData.ConstructionCode = {0}", m_ConstructionCode);
1331
                strSQL.AppendFormat(" And ApprovalCode In ({0}, {1})", (int)ClsExcute.ApprovalListNo.EstimateApproval
1332
                                                                        , (int)ClsExcute.ApprovalListNo.EstimateBudgetApproval);
1333
                strSQL.AppendFormat(" And OrderNo = {0}", m_OrderNo);
1334
                strSQL.Append(" Group by");
1335
                strSQL.Append(" ComData.ConstructionCode");
1336
                strSQL.Append(", ComData.OrderNo");
1337
                strSQL.Append(", ComData.CommentNo");
1338
                ArrayList arList = new ArrayList();
1339
                if (!CommentDB.ExecuteReader(strSQL.ToString(), ref arList)) return;
1340

  
1341
                foreach (object[] objRec in arList)
1342
                {
1343
                    ProcessApprovalComment ComRec = new ProcessApprovalComment();
1344
                    CommentDB.Reader2Struct(objRec, ref ComRec);
1345
                    CommentList.Add(ComRec);
1346
                }
1347
            }
1348
            finally
1349
            {
1350
                CommentDB.close(); CommentDB = null;
1351
            }
1352
        }
1353
        #endregion
1354

  
1290 1355
        #region 文字列の指定位置に改行コードを入れる
1291 1356
        /// <summary>
1292 1357
        /// 文字列の指定位置に改行コードを入れる
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.cs
451 451
        /// <summary>
452 452
        /// ?s?I??F
453 453
        /// </summary>
454
        private static Color s_RowSelectColor = Color.GreenYellow;
454
        //private static Color s_RowSelectColor = Color.GreenYellow;
455
        private static Color s_RowBackSelectColor = SystemColors.Highlight;
456
        private static Color s_RowForeSelectColor = SystemColors.HighlightText;
455 457
        #endregion
456 458

  
457 459
        #region ?x???????v?E????
......
603 605
        /// </summary>
604 606
        private ToolTip m_HeaderToolTip = null;
605 607

  
608
        /// <summary>
609
        /// ?I?????t???O
610
        /// </summary>
611
        private DialogResult m_EndButton = DialogResult.None;
612

  
613
        /// <summary>
614
        /// ?I???{?^??????
615
        /// </summary>
616
        public DialogResult EndButton
617
        {
618
            get { return m_EndButton; }
619
        }
620

  
606 621
        // *-----* ?????????? *-----*
607 622
        /// <summary>
608 623
        /// ?T?u?t?H?[???t???O
......
639 654
        /// </summary>
640 655
        private bool m_RollBackJoinLedger = false;
641 656

  
642
        // *-----* ?????????A?g *-----*
657
        // *-----* ????????????A?g *-----*
643 658
        /// <summary>
644
        /// ?????????A?g?t???O
645
        /// </summary>
646
        private bool m_BillingProc = false;
647

  
648
        /// <summary>
649 659
        /// ?????????A?g?p?e?n???h??
650 660
        /// </summary>
651 661
        private FrmRequestSummaryList m_FrmRequestSummaryList = null;
......
654 664
        /// ?????????A?g???z
655 665
        /// </summary>
656 666
        private int m_AddingRequestPrice = 0;
657
        // *-----* ?????????A?g *-----*
667
        /// <summary>
668
        /// ????????I???g?p???t???O
669
        /// </summary>
670
        private bool m_ReqSumFlag = false;
671

  
672
        /// <summary>
673
        /// ???????????
674
        /// </summary>
675
        private int m_ReqSumTargetMonth = 0;
676

  
677
        /// <summary>
678
        /// ????????????R?[?h
679
        /// </summary>
680
        private int m_ReqSumCompany = 0;
681
        // *-----* ????????????A?g *-----*
682
        
658 683
        #endregion
659 684

  
660 685
        #region ?v???p?e?B
......
792 817
            set { m_RollBackJoinLedger = value; }
793 818
        }
794 819

  
795
        // *-----* ?????????A?g *-----*
820
        // *-----* ????????????A?g *-----*
796 821
        /// <summary>
797
        /// ?????????A?g?t???O
798
        /// </summary>
799
        public bool BillingProc
800
        {
801
            get { return m_BillingProc; }
802
            set { m_BillingProc = value; }
803
        }
804

  
805
        /// <summary>
806 822
        /// ?????????A?g?p?e?n???h??
807 823
        /// </summary>
808 824
        public FrmRequestSummaryList FrmRequestSummaryList
......
818 834
            get { return m_AddingRequestPrice; }
819 835
            set { m_AddingRequestPrice = value; }
820 836
        }
821
        // *-----* ?????????A?g *-----*
822 837

  
838
        /// <summary>
839
        /// ????????I???g?p???t???O
840
        /// </summary>
841
        public bool ReqestSummaryFlag
842
        {
843
            get { return m_ReqSumFlag; }
844
            set { m_ReqSumFlag = value; }
845
        }
846
        /// <summary>
847
        /// ???????????
848
        /// </summary>
849
        public int ReqSumTargetMonth
850
        {
851
            get { return m_ReqSumTargetMonth; }
852
            set { m_ReqSumTargetMonth = value; }
853
        }
854
        /// <summary>
855
        /// ????????????R?[?h
856
        /// </summary>
857
        public int ReqSumCompany
858
        {
859
            get { return m_ReqSumCompany; }
860
            set { m_ReqSumCompany = value; }
861
        }
862

  
863
        // *-----* ?????????? *-----*
864

  
823 865
        #endregion
824 866

  
825 867
        #region ?R???X?g???N?^
......
896 938
                m_FrmRequestSummaryList.EndLinkProc();
897 939
            }
898 940

  
941
            m_EndButton = DialogResult.Cancel;
942

  
899 943
            this.Close();
900 944
        }
901 945
        #endregion
......
970 1014
                //    m_EditLock = true;
971 1015
                //}
972 1016

  
1017
                // ??X?t???OOFF
1018
                m_bChengeAns = false;
1019

  
1020
                // ??????????????o??
1021
                if (m_ReqSumFlag)
1022
                {
1023
                    InitReqSum();
1024
                }
1025

  
973 1026
                // ?Q????[?h
974 1027
                if (m_EditLock)
975 1028
                {
......
980 1033
                // ?V?X?e??????????????
981 1034
                if (CommonMotions.LoginUserData.PersonCode == CommonDefine.AdminCode) btnDataDelete.Visible = true;
982 1035

  
983
                // ??X?t???OOFF
984
                m_bChengeAns = false;
1036
                // 1?s???I??
1037
                dgvAllDisplay.Rows[0].Selected = true;
1038
                m_BeforeGridRow = dgvAllDisplay.CurrentRow.Index;
1039
                // ?s?I??F????
1040
                SelectRowChangeColor(m_BeforeGridRow);
985 1041
            }
986 1042
            catch (System.Exception ex)
987 1043
            {
......
1189 1245
            if (CommonMotions.cnvInt(dgv.CurrentRow.Cells[(int)GridColumn.TitleFlg].Value) == 1) return;
1190 1246

  
1191 1247
            // ?????????A?g
1192
            if (m_BillingProc) BillingLinkOutPut();
1248
            if (m_ReqSumFlag)
1249
            {
1250
                BillingLinkOutPut();
1251
                return;
1252
            }
1193 1253

  
1194 1254
            switch (e.ColumnIndex)
1195 1255
            {
......
1350 1410
                m_FrmRequestSummaryList.EndLinkProc();
1351 1411
            }
1352 1412

  
1413
            m_EndButton = DialogResult.OK;
1414

  
1353 1415
            // ?I??
1354 1416
            this.Close();
1355 1417
        }
......
1413 1475
        }
1414 1476
        #endregion
1415 1477

  
1416
        #region ???S?????X?{?^??????
1417
        /// <summary>
1418
        /// ???S?????X?{?^??????
1419
        /// </summary>
1420
        /// <param name="sender"></param>
1421
        /// <param name="e"></param>
1422
        private void btnAssistantChange_Click(object sender, EventArgs e)
1423
        {
1424
            ChangeAssistantOrInstractor((int)CommonDefine.PersonSelectFlg.Assistant);
1425
        }
1426
        #endregion
1427

  
1428
        #region ?w??????X?{?^??????
1429
        /// <summary>
1430
        /// ?w??????X?{?^??????
1431
        /// </summary>
1432
        /// <param name="sender"></param>
1433
        /// <param name="e"></param>
1434
        private void btnInstractorChange_Click(object sender, EventArgs e)
1435
        {
1436
            // ???S????^?w??????X????
1437
            //ChangeAssistantOrInstractor((int)CommonDefine.PersonSelectFlg.Instructor);
1438
        }
1439
        #endregion
1440

  
1441
        #region ????z??X?{?^??????
1442
        /// <summary>
1443
        /// ????z??X?{?^??????
1444
        /// </summary>
1445
        /// <param name="sender"></param>
1446
        /// <param name="e"></param>
1447
        private void btnChangePrice_Click(object sender, EventArgs e)
1448
        {
1449
            // ????z??X????
1450
            OpenOrderPriceChangeWindow();
1451
        }
1452
        #endregion
1453

  
1454 1478
        // ----------- ?f?[?^?R???o?[?g
1455 1479
        #region ?f?[?^?R???o?[?g
1456 1480
        /// <summary>
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.designer.cs
30 30
        /// </summary>
31 31
        private void InitializeComponent()
32 32
        {
33
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
34
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
35
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
36
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
37
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
38
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
39
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
33
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
34
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
35
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
36
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
37
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
38
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
39
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
40 40
            this.label1 = new System.Windows.Forms.Label();
41 41
            this.btnDataDelete = new System.Windows.Forms.Button();
42 42
            this.btnDataEntry = new System.Windows.Forms.Button();
......
89 89
            this.panel2 = new System.Windows.Forms.Panel();
90 90
            this.lblCellTotal = new System.Windows.Forms.Label();
91 91
            this.dgvAllDisplay = new ProcessManagement.Forms.CustomControls.DataGridViewEX();
92
            this.btnDispDown = new System.Windows.Forms.Button();
93
            this.btnDispUp = new System.Windows.Forms.Button();
94
            this.btnOtherProc = new System.Windows.Forms.Button();
95
            this.btnAssistantChange = new System.Windows.Forms.Button();
96
            this.btnInstractorChange = new System.Windows.Forms.Button();
97
            this.btnChangePrice = new System.Windows.Forms.Button();
98
            this.button1 = new System.Windows.Forms.Button();
99
            this.button2 = new System.Windows.Forms.Button();
100 92
            this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
101 93
            this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
102 94
            this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
......
125 117
            this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
126 118
            this.Column26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
127 119
            this.Column28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
120
            this.btnDispDown = new System.Windows.Forms.Button();
121
            this.btnDispUp = new System.Windows.Forms.Button();
122
            this.btnOtherProc = new System.Windows.Forms.Button();
123
            this.button1 = new System.Windows.Forms.Button();
124
            this.button2 = new System.Windows.Forms.Button();
125
            this.btnSelect = new System.Windows.Forms.Button();
126
            this.btnCreate = new System.Windows.Forms.Button();
127
            this.grpExample1 = new ProcessManagement.Forms.CustomControls.GroupBoxEx();
128
            this.lblReqSumType01 = new System.Windows.Forms.Label();
129
            this.lblReqSumType02 = new System.Windows.Forms.Label();
130
            this.lblReqSumType03 = new System.Windows.Forms.Label();
128 131
            this.panel1.SuspendLayout();
129 132
            this.pnlGroup2.SuspendLayout();
130 133
            this.pnlGroup1.SuspendLayout();
131 134
            this.panel2.SuspendLayout();
132 135
            ((System.ComponentModel.ISupportInitialize)(this.dgvAllDisplay)).BeginInit();
136
            this.grpExample1.SuspendLayout();
133 137
            this.SuspendLayout();
134 138
            // 
135 139
            // label1
......
798 802
            | System.Windows.Forms.AnchorStyles.Right)));
799 803
            this.dgvAllDisplay.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
800 804
            this.dgvAllDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
801
            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
802
            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
803
            dataGridViewCellStyle1.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
804
            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
805
            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
806
            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
807
            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
808
            this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
805
            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
806
            dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control;
807
            dataGridViewCellStyle8.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
808
            dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
809
            dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
810
            dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
811
            dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
812
            this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
809 813
            this.dgvAllDisplay.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
810 814
            this.dgvAllDisplay.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
811 815
            this.Column1,
......
854 858
            this.dgvAllDisplay.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dgvAllDisplay_KeyDown);
855 859
            this.dgvAllDisplay.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvAllDisplay_MouseUp);
856 860
            // 
857
            // btnDispDown
858
            // 
859
            this.btnDispDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
860
            this.btnDispDown.Font = new System.Drawing.Font("MS 明朝", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
861
            this.btnDispDown.Location = new System.Drawing.Point(1300, 418);
862
            this.btnDispDown.Name = "btnDispDown";
863
            this.btnDispDown.Size = new System.Drawing.Size(40, 40);
864
            this.btnDispDown.TabIndex = 42;
865
            this.btnDispDown.TabStop = false;
866
            this.btnDispDown.Text = "▼";
867
            this.btnDispDown.UseVisualStyleBackColor = true;
868
            this.btnDispDown.Visible = false;
869
            this.btnDispDown.Click += new System.EventHandler(this.btnDispDown_Click);
870
            // 
871
            // btnDispUp
872
            // 
873
            this.btnDispUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
874
            this.btnDispUp.Font = new System.Drawing.Font("MS 明朝", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
875
            this.btnDispUp.Location = new System.Drawing.Point(1300, 354);
876
            this.btnDispUp.Name = "btnDispUp";
877
            this.btnDispUp.Size = new System.Drawing.Size(40, 40);
878
            this.btnDispUp.TabIndex = 41;
879
            this.btnDispUp.TabStop = false;
880
            this.btnDispUp.Text = "▲";
881
            this.btnDispUp.UseVisualStyleBackColor = true;
882
            this.btnDispUp.Visible = false;
883
            this.btnDispUp.Click += new System.EventHandler(this.btnDispUp_Click);
884
            // 
885
            // btnOtherProc
886
            // 
887
            this.btnOtherProc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
888
            this.btnOtherProc.BackColor = System.Drawing.Color.SpringGreen;
889
            this.btnOtherProc.Location = new System.Drawing.Point(7, 656);
890
            this.btnOtherProc.Name = "btnOtherProc";
891
            this.btnOtherProc.Size = new System.Drawing.Size(160, 30);
892
            this.btnOtherProc.TabIndex = 95;
893
            this.btnOtherProc.TabStop = false;
894
            this.btnOtherProc.Text = "他の画面へ";
895
            this.btnOtherProc.UseVisualStyleBackColor = false;
896
            this.btnOtherProc.Click += new System.EventHandler(this.btnOtherProc_Click);
897
            // 
898
            // btnAssistantChange
899
            // 
900
            this.btnAssistantChange.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
901
            this.btnAssistantChange.BackColor = System.Drawing.Color.Beige;
902
            this.btnAssistantChange.Font = new System.Drawing.Font("MS 明朝", 9.75F, System.Drawing.FontStyle.Bold);
903
            this.btnAssistantChange.Location = new System.Drawing.Point(381, 656);
904
            this.btnAssistantChange.Name = "btnAssistantChange";
905
            this.btnAssistantChange.Size = new System.Drawing.Size(130, 30);
906
            this.btnAssistantChange.TabIndex = 96;
907
            this.btnAssistantChange.Text = "副担当者変更";
908
            this.btnAssistantChange.UseVisualStyleBackColor = false;
909
            this.btnAssistantChange.Visible = false;
910
            this.btnAssistantChange.Click += new System.EventHandler(this.btnAssistantChange_Click);
911
            // 
912
            // btnInstractorChange
913
            // 
914
            this.btnInstractorChange.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
915
            this.btnInstractorChange.BackColor = System.Drawing.Color.MistyRose;
916
            this.btnInstractorChange.Font = new System.Drawing.Font("MS 明朝", 9.75F, System.Drawing.FontStyle.Bold);
917
            this.btnInstractorChange.Location = new System.Drawing.Point(519, 656);
918
            this.btnInstractorChange.Name = "btnInstractorChange";
919
            this.btnInstractorChange.Size = new System.Drawing.Size(130, 30);
920
            this.btnInstractorChange.TabIndex = 97;
921
            this.btnInstractorChange.Text = "指導員変更";
922
            this.btnInstractorChange.UseVisualStyleBackColor = false;
923
            this.btnInstractorChange.Visible = false;
924
            this.btnInstractorChange.Click += new System.EventHandler(this.btnInstractorChange_Click);
925
            // 
926
            // btnChangePrice
927
            // 
928
            this.btnChangePrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
929
            this.btnChangePrice.BackColor = System.Drawing.Color.Gold;
930
            this.btnChangePrice.Font = new System.Drawing.Font("MS 明朝", 9.75F, System.Drawing.FontStyle.Bold);
931
            this.btnChangePrice.Location = new System.Drawing.Point(243, 656);
932
            this.btnChangePrice.Name = "btnChangePrice";
933
            this.btnChangePrice.Size = new System.Drawing.Size(130, 30);
934
            this.btnChangePrice.TabIndex = 99;
935
            this.btnChangePrice.Text = "受注金額変更";
936
            this.btnChangePrice.UseVisualStyleBackColor = false;
937
            this.btnChangePrice.Visible = false;
938
            this.btnChangePrice.Click += new System.EventHandler(this.btnChangePrice_Click);
939
            // 
940
            // button1
941
            // 
942
            this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
943
            this.button1.Location = new System.Drawing.Point(1300, 540);
944
            this.button1.Name = "button1";
945
            this.button1.Size = new System.Drawing.Size(37, 35);
946
            this.button1.TabIndex = 100;
947
            this.button1.Text = "○";
948
            this.button1.UseVisualStyleBackColor = true;
949
            this.button1.Visible = false;
950
            this.button1.Click += new System.EventHandler(this.button1_Click);
951
            // 
952
            // button2
953
            // 
954
            this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
955
            this.button2.Location = new System.Drawing.Point(1300, 581);
956
            this.button2.Name = "button2";
957
            this.button2.Size = new System.Drawing.Size(37, 35);
958
            this.button2.TabIndex = 101;
959
            this.button2.Text = "1";
960
            this.button2.UseVisualStyleBackColor = true;
961
            this.button2.Visible = false;
962
            this.button2.Click += new System.EventHandler(this.button2_Click);
963
            // 
964 861
            // Column1
965 862
            // 
966
            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
967
            this.Column1.DefaultCellStyle = dataGridViewCellStyle2;
863
            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
864
            this.Column1.DefaultCellStyle = dataGridViewCellStyle9;
968 865
            this.Column1.Frozen = true;
969 866
            this.Column1.HeaderText = "№";
970 867
            this.Column1.Name = "Column1";
......
1023 920
            // 
1024 921
            // Column5
1025 922
            // 
1026
            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
1027
            this.Column5.DefaultCellStyle = dataGridViewCellStyle3;
923
            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
924
            this.Column5.DefaultCellStyle = dataGridViewCellStyle10;
1028 925
            this.Column5.Frozen = true;
1029 926
            this.Column5.HeaderText = "項   目";
1030 927
            this.Column5.Name = "Column5";
......
1035 932
            // 
1036 933
            // Column6
1037 934
            // 
1038
            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
1039
            this.Column6.DefaultCellStyle = dataGridViewCellStyle4;
935
            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
936
            this.Column6.DefaultCellStyle = dataGridViewCellStyle11;
1040 937
            this.Column6.Frozen = true;
1041 938
            this.Column6.HeaderText = "業   種";
1042 939
            this.Column6.Name = "Column6";
......
1074 971
            // 
1075 972
            // Column7
1076 973
            // 
1077
            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
1078
            dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
1079
            dataGridViewCellStyle5.Format = "N0";
1080
            dataGridViewCellStyle5.NullValue = null;
1081
            this.Column7.DefaultCellStyle = dataGridViewCellStyle5;
974
            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
975
            dataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
976
            dataGridViewCellStyle12.Format = "N0";
977
            dataGridViewCellStyle12.NullValue = null;
978
            this.Column7.DefaultCellStyle = dataGridViewCellStyle12;
1082 979
            this.Column7.Frozen = true;
1083 980
            this.Column7.HeaderText = "予定(見積)金額";
1084 981
            this.Column7.Name = "Column7";
......
1089 986
            // 
1090 987
            // Column12
1091 988
            // 
1092
            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
1093
            dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
1094
            this.Column12.DefaultCellStyle = dataGridViewCellStyle6;
989
            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
990
            dataGridViewCellStyle13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
991
            this.Column12.DefaultCellStyle = dataGridViewCellStyle13;
1095 992
            this.Column12.Frozen = true;
1096 993
            this.Column12.HeaderText = "実 行 金 額";
1097 994
            this.Column12.Name = "Column12";
......
1102 999
            // 
1103 1000
            // Column9
1104 1001
            // 
1105
            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
1106
            this.Column9.DefaultCellStyle = dataGridViewCellStyle7;
1002
            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
1003
            this.Column9.DefaultCellStyle = dataGridViewCellStyle14;
1107 1004
            this.Column9.Frozen = true;
1108 1005
            this.Column9.HeaderText = "比率(%)";
1109 1006
            this.Column9.Name = "Column9";
......
1245 1142
            this.Column28.Name = "Column28";
1246 1143
            this.Column28.Visible = false;
1247 1144
            // 
1145
            // btnDispDown
1146
            // 
1147
            this.btnDispDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
1148
            this.btnDispDown.Font = new System.Drawing.Font("MS 明朝", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
1149
            this.btnDispDown.Location = new System.Drawing.Point(1300, 418);
1150
            this.btnDispDown.Name = "btnDispDown";
1151
            this.btnDispDown.Size = new System.Drawing.Size(40, 40);
1152
            this.btnDispDown.TabIndex = 42;
1153
            this.btnDispDown.TabStop = false;
1154
            this.btnDispDown.Text = "▼";
1155
            this.btnDispDown.UseVisualStyleBackColor = true;
1156
            this.btnDispDown.Visible = false;
1157
            this.btnDispDown.Click += new System.EventHandler(this.btnDispDown_Click);
1158
            // 
1159
            // btnDispUp
1160
            // 
1161
            this.btnDispUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
1162
            this.btnDispUp.Font = new System.Drawing.Font("MS 明朝", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
1163
            this.btnDispUp.Location = new System.Drawing.Point(1300, 354);
1164
            this.btnDispUp.Name = "btnDispUp";
1165
            this.btnDispUp.Size = new System.Drawing.Size(40, 40);
1166
            this.btnDispUp.TabIndex = 41;
1167
            this.btnDispUp.TabStop = false;
1168
            this.btnDispUp.Text = "▲";
1169
            this.btnDispUp.UseVisualStyleBackColor = true;
1170
            this.btnDispUp.Visible = false;
1171
            this.btnDispUp.Click += new System.EventHandler(this.btnDispUp_Click);
1172
            // 
1173
            // btnOtherProc
1174
            // 
1175
            this.btnOtherProc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1176
            this.btnOtherProc.BackColor = System.Drawing.Color.SpringGreen;
1177
            this.btnOtherProc.Location = new System.Drawing.Point(7, 656);
1178
            this.btnOtherProc.Name = "btnOtherProc";
1179
            this.btnOtherProc.Size = new System.Drawing.Size(160, 30);
1180
            this.btnOtherProc.TabIndex = 95;
1181
            this.btnOtherProc.TabStop = false;
1182
            this.btnOtherProc.Text = "他の画面へ";
1183
            this.btnOtherProc.UseVisualStyleBackColor = false;
1184
            this.btnOtherProc.Click += new System.EventHandler(this.btnOtherProc_Click);
1185
            // 
1186
            // button1
1187
            // 
1188
            this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
1189
            this.button1.Location = new System.Drawing.Point(1300, 540);
... 差分の行数が表示可能な上限を超えました。超過分は表示しません。

他の形式にエクスポート: Unified diff