リビジョン 272
入力処理承認処理完了メッセージ追加
注文書台帳リンク処理バグ修正
出勤日報作成途中
注文書発注条件追加
branches/src/ProcessManagement/ProcessManagement/Common/CommonDefine.cs | ||
---|---|---|
781 | 781 |
} |
782 | 782 |
#endregion |
783 | 783 |
|
784 |
#region 注文書入力:発注条件固定文字 |
|
785 |
/// <summary> |
|
786 |
/// 発注条件固定文字 |
|
787 |
/// </summary> |
|
788 |
public static string[] Group4GridStaticString = new string[]{"貴社の責による工期の増減は認められません。", |
|
789 |
"駐車場は貴社にて確保願います。", |
|
790 |
"乗り合うなどの車両台数も極力減らすこと。", |
|
791 |
"安全衛生書類を工事着手までに提出すること。", |
|
792 |
"公共工事標準仕様書(最新版)に則り施工のこと。"}; |
|
793 |
#endregion |
|
794 |
|
|
795 | 784 |
#region 注文書入力:印刷対象金額 |
796 | 785 |
/// <summary> |
797 | 786 |
/// 印刷対象金額 |
branches/src/ProcessManagement/ProcessManagement/Common/CommonVersion.cs | ||
---|---|---|
14 | 14 |
/// <summary> |
15 | 15 |
/// 本体バージョン |
16 | 16 |
/// </summary> |
17 |
public static int s_SystemVersion = 81;
|
|
17 |
public static int s_SystemVersion = 82;
|
|
18 | 18 |
|
19 | 19 |
/// <summary> |
20 | 20 |
/// コピー・環境バージョン |
branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOPurchaseOrderDetail.cs | ||
---|---|---|
426 | 426 |
case (int)TableColumn.SourceCode: // 予算作成時工事番号 |
427 | 427 |
strcmd.AppendFormat(" SourceCode = {0}", ((int)value).ToString()); |
428 | 428 |
break; |
429 |
case (int)TableColumn.SourceLineCnt: // 注文書作成時台帳行番号
|
|
429 |
case (int)TableColumn.SourceLineCnt: // 注文書作成時台帳行番号 |
|
430 | 430 |
strcmd.AppendFormat(" SourceLineCnt = {0}", ((int)value).ToString()); |
431 | 431 |
break; |
432 | 432 |
} |
branches/src/ProcessManagement/ProcessManagement/DataModel/AttendanceDailyData.cs | ||
---|---|---|
10 | 10 |
/// </summary> |
11 | 11 |
public class AttendanceDailyData |
12 | 12 |
{ |
13 |
#region 定数 |
|
14 |
/// <summary> |
|
15 |
/// 夜間作業フラグ定義 |
|
16 |
/// </summary> |
|
17 |
public enum OverTimeDef |
|
18 |
{ |
|
19 |
/// <summary> |
|
20 |
/// 通常勤務 |
|
21 |
/// </summary> |
|
22 |
Normal = 0, |
|
23 |
/// <summary> |
|
24 |
/// 残業時間 |
|
25 |
/// </summary> |
|
26 |
OverTime, |
|
27 |
} |
|
28 |
#endregion |
|
29 |
|
|
13 | 30 |
#region メンバ変数 |
14 | 31 |
/// <summary> |
15 | 32 |
/// 作成者コード |
... | ... | |
30 | 47 |
/// <summary> |
31 | 48 |
/// 開始時間 |
32 | 49 |
/// </summary> |
33 |
private DateTime m_StartTime = DateTime.Now;
|
|
50 |
private DateTime m_StartTime = DateTime.MinValue;
|
|
34 | 51 |
/// <summary> |
35 | 52 |
/// 終了時間 |
36 | 53 |
/// </summary> |
37 |
private DateTime m_CompTime = DateTime.Now;
|
|
54 |
private DateTime m_CompTime = DateTime.MinValue;
|
|
38 | 55 |
/// <summary> |
39 | 56 |
/// 日稼働合計時間 |
40 | 57 |
/// </summary> |
branches/src/ProcessManagement/ProcessManagement/DataModel/PurchaseOrderDetail.cs | ||
---|---|---|
10 | 10 |
/// <summary> |
11 | 11 |
/// 注文書明細データ |
12 | 12 |
/// </summary> |
13 |
|
|
14 |
#region 定数 |
|
15 |
/// <summary> |
|
16 |
/// グループ番号定義 |
|
17 |
/// </summary> |
|
18 |
public enum GroupCountDef |
|
19 |
{ |
|
20 |
/// <summary> |
|
21 |
/// 0:発注明細 |
|
22 |
/// </summary> |
|
23 |
Detail = 0, |
|
24 |
/// <summary> |
|
25 |
/// 1:発注条件 |
|
26 |
/// </summary> |
|
27 |
OrderingCondition, |
|
28 |
/// <summary> |
|
29 |
/// 2:施工条件 |
|
30 |
/// </summary> |
|
31 |
InstructionCondition, |
|
32 |
/// <summary> |
|
33 |
/// 法定福利費 |
|
34 |
/// </summary> |
|
35 |
StatutoryWelfare = 9, |
|
36 |
} |
|
37 |
#endregion |
|
38 |
|
|
13 | 39 |
#region メンバ変数 |
14 | 40 |
|
15 | 41 |
private int m_ConstructionCode = 0; // 工事コード |
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionListAuxiliary.cs | ||
---|---|---|
646 | 646 |
wrkFormat.Append(", PURCHASEORDER A1"); |
647 | 647 |
for (int i = 0; i < s_SQLPart4.Length; i++) wrkFormat.Append(s_SQLPart4[i]); |
648 | 648 |
|
649 |
strSQL.Append(" UNION "); |
|
649 |
strSQL.Append(" UNION (");
|
|
650 | 650 |
strSQL.AppendFormat(wrkFormat.ToString(), numUDConstPro.Value, (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName); |
651 | 651 |
strSQL.Append(" AND EXISTS (SELECT * FROM PURCHASEORDER B1 WHERE B1.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE)"); |
652 | 652 |
strSQL.Append(" AND A.CONSTRUCTIONPERSONCODE != 0"); |
653 |
strSQL.Append(" AND (A1.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE AND A1.SEQNO = 1)"); |
|
653 |
strSQL.Append(" AND A1.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE"); |
|
654 |
strSQL.Append(" Group by A.CONSTRUCTIONCODE)"); |
|
654 | 655 |
|
655 | 656 |
// ???????I??????????? |
656 | 657 |
strSQL.Append(GetDepartmentString()); |
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/DataChange.cs | ||
---|---|---|
45 | 45 |
{ |
46 | 46 |
int iCode1 = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("?? ?? ??")).Key; |
47 | 47 |
|
48 |
string strSQL = "SELECT SUM(ORDERSDECISIONPRICE) FROM CONSTRUCTIONBASEINFO"; |
|
49 |
strSQL += string.Format(" WHERE (TRUNCATE(CONSTRUCTIONCODE / 100,0) = {0})", (int)(m_ConstructionCode / 100)); |
|
50 |
strSQL += string.Format(" AND CONSTRUCTIONSTATUSFLG != {0}", iCode1); |
|
51 |
strSQL += " GROUP BY TRUNCATE(CONSTRUCTIONCODE / 100,0)"; |
|
48 |
StringBuilder strSQL = new StringBuilder(); |
|
49 |
strSQL.Append("SELECT SUM(ORDERSDECISIONPRICE) FROM CONSTRUCTIONBASEINFO"); |
|
50 |
strSQL.AppendFormat(" WHERE (TRUNCATE(CONSTRUCTIONCODE / 100,0) = {0})", (int)(m_ConstructionCode / 100)); |
|
51 |
strSQL.AppendFormat(" AND CONSTRUCTIONSTATUSFLG != {0}", iCode1); |
|
52 |
strSQL.Append(" GROUP BY TRUNCATE(CONSTRUCTIONCODE / 100,0)"); |
|
52 | 53 |
|
53 | 54 |
ArrayList Arlist = new ArrayList(); |
54 |
if (!cbiDB.ExecuteReader(strSQL, ref Arlist, false)) return 0; |
|
55 |
if (!cbiDB.ExecuteReader(strSQL.ToString(), ref Arlist, false)) return 0;
|
|
55 | 56 |
if (Arlist.Count == 0) return 0; |
56 | 57 |
|
57 | 58 |
object[] objCur = (object[])Arlist[0]; |
... | ... | |
83 | 84 |
// ????C?H???E????C?H???EHit'sV?H???????????s?? |
84 | 85 |
if (!CommonMotions.CheckCreateLedgerData(ConstStatus, ConstType)) return true; |
85 | 86 |
|
86 |
string strSQL = LedgerDB.CreatePrimarykeyString(m_ConstructionCode); |
|
87 |
StringBuilder strSQL = new StringBuilder(); |
|
88 |
strSQL.Append(LedgerDB.CreatePrimarykeyString(m_ConstructionCode)); |
|
87 | 89 |
ConstructionLedger LedgerRec = new ConstructionLedger(); |
88 | 90 |
// ?H???????f?[?^?????????????????? |
89 |
if (LedgerDB.SelectAction(strSQL, ref LedgerRec)) return true; |
|
91 |
if (LedgerDB.SelectAction(strSQL.ToString(), ref LedgerRec)) return true;
|
|
90 | 92 |
|
91 | 93 |
// ?H???????f?[?^?? |
92 | 94 |
if (!ClsChangeLedgerData.MakingLedgerData(m_ConstructionCode)) |
... | ... | |
96 | 98 |
} |
97 | 99 |
|
98 | 100 |
// ?f?[?^???????? |
99 |
LedgerDB.SelectAction(strSQL, ref LedgerRec); |
|
101 |
LedgerDB.SelectAction(strSQL.ToString(), ref LedgerRec);
|
|
100 | 102 |
|
101 | 103 |
// ????z??Z?t???OON |
102 | 104 |
LedgerRec.IntegrationFlg = (int)CommonDefine.LedgerIntegration.Integration; |
103 | 105 |
|
104 | 106 |
// ?f?[?^?X?V |
105 |
if (!LedgerDB.UpdateAction(strSQL, LedgerRec)) |
|
107 |
if (!LedgerDB.UpdateAction(strSQL.ToString(), LedgerRec))
|
|
106 | 108 |
{ |
107 | 109 |
MessageBox.Show("?H???????F?f?[?^?X?V????s????????B", "?X?V?G???[", MessageBoxButtons.OK, MessageBoxIcon.Error); |
108 | 110 |
return false; |
... | ... | |
245 | 247 |
try |
246 | 248 |
{ |
247 | 249 |
// ???z???????????????? |
248 |
string strSQL = string.Format("SELECT COUNT(*) FROM CONSTRUCTIONBASEINFO A WHERE A.CONSTRUCTIONSTATUSFLG != {0}", |
|
250 |
StringBuilder strSQL = new StringBuilder(); |
|
251 |
strSQL.AppendFormat("SELECT COUNT(*) FROM CONSTRUCTIONBASEINFO A WHERE A.CONSTRUCTIONSTATUSFLG != {0}", |
|
249 | 252 |
CommonDefine.ProjectsStatus.First(x => x.Value.Equals("?? ?? ??")).Key); |
250 |
strSQL += " AND A.CONSTRUCTIONCODE IN (SELECT B.FLUCTUATIONCODE FROM CONSTRUCTIONLINK B";
|
|
251 |
strSQL += string.Format(" WHERE B.CONSTRUCTIONCODE = {0})", OrgCode);
|
|
253 |
strSQL.Append(" AND A.CONSTRUCTIONCODE IN (SELECT B.FLUCTUATIONCODE FROM CONSTRUCTIONLINK B");
|
|
254 |
strSQL.AppendFormat(" WHERE B.CONSTRUCTIONCODE = {0})", OrgCode);
|
|
252 | 255 |
|
253 | 256 |
ArrayList arList = new ArrayList(); |
254 |
if (!DB1.ExecuteReader(strSQL, ref arList, false)) return false; |
|
257 |
if (!DB1.ExecuteReader(strSQL.ToString(), ref arList, false)) return false;
|
|
255 | 258 |
object[] wrkCount = (object[])arList[0]; |
256 | 259 |
int DataCount = CommonMotions.cnvInt(wrkCount[0]) + 1; |
257 | 260 |
|
258 | 261 |
// ???f?[?^??R?t???e?t???O???? |
259 |
strSQL = DB1.CreatePrimarykeyString(OrgCode); |
|
260 | 262 |
if (!DB1.UpdateFeild(OrgCode, |
261 | 263 |
(int)IOConstructionBaseInfo.TableColumn.TyingFlg, |
262 | 264 |
(int)ConstructionBaseInfo.TyingFlgDef.Parent, false)) return false; |
... | ... | |
265 | 267 |
if (!InitSetBaseInfo(ToCode, DB1)) return false; |
266 | 268 |
|
267 | 269 |
// ?H????????X???? |
268 |
strSQL = DB2.CreatePrimarykeyString(ToCode, (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName); |
|
270 |
strSQL.Clear(); |
|
271 |
strSQL.Append(DB2.CreatePrimarykeyString(ToCode, (int)ConstructionBaseInfoDetail.DataNoDef.ConstructionName)); |
|
269 | 272 |
ConstructionBaseInfoDetail DetailRec = new ConstructionBaseInfoDetail(); |
270 |
if (!DB2.SelectAction(strSQL, ref DetailRec, false)) return false; |
|
273 |
if (!DB2.SelectAction(strSQL.ToString(), ref DetailRec, false)) return false;
|
|
271 | 274 |
DetailRec.DetailString += string.Format(s_FluctuationFormat, DataCount); |
272 |
if (!DB2.UpdateAction(strSQL, DetailRec, false)) return false; |
|
275 |
if (!DB2.UpdateAction(strSQL.ToString(), DetailRec, false)) return false;
|
|
273 | 276 |
|
274 | 277 |
return true; |
275 | 278 |
} |
... | ... | |
291 | 294 |
try |
292 | 295 |
{ |
293 | 296 |
// ?H????{?????? |
294 |
string strSQL = cbDB.CreatePrimarykeyString(ToCode); |
|
297 |
StringBuilder strSQL = new StringBuilder(); |
|
298 |
strSQL.Append(cbDB.CreatePrimarykeyString(ToCode)); |
|
295 | 299 |
ConstructionBaseInfo cbRec = new ConstructionBaseInfo(); |
296 |
if (!cbDB.SelectAction(strSQL, ref cbRec, false)) return false; |
|
300 |
if (!cbDB.SelectAction(strSQL.ToString(), ref cbRec, false)) return false;
|
|
297 | 301 |
|
298 | 302 |
cbRec.TyingFlg = (int)ConstructionBaseInfo.TyingFlgDef.Tying; // ?R?t???t???O |
299 | 303 |
cbRec.ConstructionStatusFlg = CommonDefine.ProjectsStatus.First(x => x.Value.Equals("??????")).Key; // ?H???i????? |
... | ... | |
328 | 332 |
cbRec.BillingSendDate = DateTime.MinValue; // ???????X??/??n???? |
329 | 333 |
|
330 | 334 |
// ?X?V???? |
331 |
if (!cbDB.UpdateAction(strSQL, cbRec, false)) return false; |
|
335 |
if (!cbDB.UpdateAction(strSQL.ToString(), cbRec, false)) return false;
|
|
332 | 336 |
|
333 | 337 |
return true; |
334 | 338 |
} |
... | ... | |
375 | 379 |
/// ??r?p??e?f?[?^????????SQL???????? |
376 | 380 |
/// </summary> |
377 | 381 |
/// <param name="strSQL"></param> |
378 |
private void CreateParentSQL(int ConstrCode, ref string strSQL)
|
|
382 |
private void CreateParentSQL(int ConstrCode, ref StringBuilder strSQL)
|
|
379 | 383 |
{ |
380 | 384 |
try |
381 | 385 |
{ |
382 | 386 |
int ConstrPeriod = CommonMotions.cnvInt(m_DspCtrl[(int)DspCnt.ConstructionPeriod].Text); |
383 | 387 |
|
384 |
strSQL = "SELECT A.CONSTRUCTIONCODE,";
|
|
385 |
strSQL += " CASE DATE(A.ConstructionPeriodStart2) WHEN DATE('0001/01/01') THEN A.ConstructionPeriodStart ELSE A.ConstructionPeriodStart2 END StDate,";
|
|
386 |
strSQL += " CASE DATE(A.ConstructionPeriodEnd2) WHEN DATE('0001/01/01') THEN A.ConstructionPeriodEnd ELSE A.ConstructionPeriodEnd2 END EdDate,";
|
|
387 |
strSQL += " B.PERSONCODE B1, B.SEALPRINTNAME B2, B.MONTHLYSALARY B3,";
|
|
388 |
strSQL += " C.PERSONCODE C1, C.SEALPRINTNAME C2, C.MONTHLYSALARY C3,";
|
|
389 |
strSQL += " D.PERSONCODE D1, D.SEALPRINTNAME D2, D.MONTHLYSALARY D3,";
|
|
390 |
strSQL += " E1.NAMESTRING E1, E.EXPENSESRAITO E2, E.NAMECODE E3,";
|
|
391 |
strSQL += " F1.NAMESTRING F1, F.EXPENSESRAITO F2, F.NAMECODE F3,";
|
|
392 |
strSQL += " G1.NAMESTRING G1, G.EXPENSESRAITO G2, G.NAMECODE G3,";
|
|
393 |
strSQL += " A.CONSTRUCTIONPERIOD";
|
|
394 |
strSQL += " FROM CONSTRUCTIONBASEINFO A";
|
|
395 |
strSQL += " LEFT JOIN PERSONINCHARGEMASTER C ON C.PERSONCODE = A.CONSTRSUBPERSONCODE";
|
|
396 |
strSQL += " LEFT JOIN PERSONINCHARGEMASTER D ON D.PERSONCODE = A.CONSTRUCTIONINSTRUCTOR";
|
|
397 |
strSQL += " , PERSONINCHARGEMASTER B";
|
|
398 |
strSQL += string.Format(" LEFT JOIN DEPARTMENTEXPENSESMASTER E ON E.DEPARTMENTCODE = B.DEPARTMENTCODE AND E.EXPENSESPERIOD = {0} AND E.NAMECODE = 3", ConstrPeriod);
|
|
399 |
strSQL += string.Format(" LEFT JOIN DIVISIONMASTER E1 ON E1.DIVISIONCODE = {0} AND E1.NAMECODE = E.NAMECODE", (int)DivisionMaster.DivisionMasterCodeDefine.ConstructionExpenses);
|
|
400 |
strSQL += string.Format(" LEFT JOIN DEPARTMENTEXPENSESMASTER F ON F.DEPARTMENTCODE = B.DEPARTMENTCODE AND F.EXPENSESPERIOD = {0} AND F.NAMECODE = 1", ConstrPeriod);
|
|
401 |
strSQL += string.Format(" LEFT JOIN DIVISIONMASTER F1 ON F1.DIVISIONCODE = {0} AND F1.NAMECODE = F.NAMECODE", (int)DivisionMaster.DivisionMasterCodeDefine.ConstructionExpenses);
|
|
402 |
strSQL += string.Format(" LEFT JOIN DEPARTMENTEXPENSESMASTER G ON G.DEPARTMENTCODE = B.DEPARTMENTCODE AND G.EXPENSESPERIOD = {0} AND G.NAMECODE = 2", ConstrPeriod);
|
|
403 |
strSQL += string.Format(" LEFT JOIN DIVISIONMASTER G1 ON G1.DIVISIONCODE = {0} AND G1.NAMECODE = G.NAMECODE", (int)DivisionMaster.DivisionMasterCodeDefine.ConstructionExpenses);
|
|
404 |
strSQL += string.Format(" WHERE A.CONSTRUCTIONCODE = {0}", ConstrCode);
|
|
405 |
strSQL += " AND B.PERSONCODE = A.CONSTRUCTIONPERSONCODE";
|
|
388 |
strSQL.Append("SELECT A.CONSTRUCTIONCODE,");
|
|
389 |
strSQL.Append(" CASE DATE(A.ConstructionPeriodStart2) WHEN DATE('0001/01/01') THEN A.ConstructionPeriodStart ELSE A.ConstructionPeriodStart2 END StDate,");
|
|
390 |
strSQL.Append(" CASE DATE(A.ConstructionPeriodEnd2) WHEN DATE('0001/01/01') THEN A.ConstructionPeriodEnd ELSE A.ConstructionPeriodEnd2 END EdDate,");
|
|
391 |
strSQL.Append(" B.PERSONCODE B1, B.SEALPRINTNAME B2, B.MONTHLYSALARY B3,");
|
|
392 |
strSQL.Append(" C.PERSONCODE C1, C.SEALPRINTNAME C2, C.MONTHLYSALARY C3,");
|
|
393 |
strSQL.Append(" D.PERSONCODE D1, D.SEALPRINTNAME D2, D.MONTHLYSALARY D3,");
|
|
394 |
strSQL.Append(" E1.NAMESTRING E1, E.EXPENSESRAITO E2, E.NAMECODE E3,");
|
|
395 |
strSQL.Append(" F1.NAMESTRING F1, F.EXPENSESRAITO F2, F.NAMECODE F3,");
|
|
396 |
strSQL.Append(" G1.NAMESTRING G1, G.EXPENSESRAITO G2, G.NAMECODE G3,");
|
|
397 |
strSQL.Append(" A.CONSTRUCTIONPERIOD");
|
|
398 |
strSQL.Append(" FROM CONSTRUCTIONBASEINFO A");
|
|
399 |
strSQL.Append(" LEFT JOIN PERSONINCHARGEMASTER C ON C.PERSONCODE = A.CONSTRSUBPERSONCODE");
|
|
400 |
strSQL.Append(" LEFT JOIN PERSONINCHARGEMASTER D ON D.PERSONCODE = A.CONSTRUCTIONINSTRUCTOR");
|
|
401 |
strSQL.Append(" , PERSONINCHARGEMASTER B");
|
|
402 |
strSQL.AppendFormat(" LEFT JOIN DEPARTMENTEXPENSESMASTER E ON E.DEPARTMENTCODE = B.DEPARTMENTCODE AND E.EXPENSESPERIOD = {0} AND E.NAMECODE = 3", ConstrPeriod);
|
|
403 |
strSQL.AppendFormat(" LEFT JOIN DIVISIONMASTER E1 ON E1.DIVISIONCODE = {0} AND E1.NAMECODE = E.NAMECODE", (int)DivisionMaster.DivisionMasterCodeDefine.ConstructionExpenses);
|
|
404 |
strSQL.AppendFormat(" LEFT JOIN DEPARTMENTEXPENSESMASTER F ON F.DEPARTMENTCODE = B.DEPARTMENTCODE AND F.EXPENSESPERIOD = {0} AND F.NAMECODE = 1", ConstrPeriod);
|
|
405 |
strSQL.AppendFormat(" LEFT JOIN DIVISIONMASTER F1 ON F1.DIVISIONCODE = {0} AND F1.NAMECODE = F.NAMECODE", (int)DivisionMaster.DivisionMasterCodeDefine.ConstructionExpenses);
|
|
406 |
strSQL.AppendFormat(" LEFT JOIN DEPARTMENTEXPENSESMASTER G ON G.DEPARTMENTCODE = B.DEPARTMENTCODE AND G.EXPENSESPERIOD = {0} AND G.NAMECODE = 2", ConstrPeriod);
|
|
407 |
strSQL.AppendFormat(" LEFT JOIN DIVISIONMASTER G1 ON G1.DIVISIONCODE = {0} AND G1.NAMECODE = G.NAMECODE", (int)DivisionMaster.DivisionMasterCodeDefine.ConstructionExpenses);
|
|
408 |
strSQL.AppendFormat(" WHERE A.CONSTRUCTIONCODE = {0}", ConstrCode);
|
|
409 |
strSQL.Append(" AND B.PERSONCODE = A.CONSTRUCTIONPERSONCODE");
|
|
406 | 410 |
} |
407 | 411 |
catch (Exception ex) |
408 | 412 |
{ |
... | ... | |
424 | 428 |
// ----- ?H???????f?[?^?? |
425 | 429 |
if (TyingDataFlag) |
426 | 430 |
{ // ?R?t???f?[?^?i?????H???f?[?^?j |
427 |
string strLink = cbLinkDB.CreatePrimarykeyString(m_ConstructionCode); |
|
431 |
StringBuilder strLink = new StringBuilder(); |
|
432 |
strLink.Append(cbLinkDB.CreatePrimarykeyString(m_ConstructionCode)); |
|
428 | 433 |
ConstructionLink LinkRec = new ConstructionLink(); |
429 |
if (cbLinkDB.SelectAction(strLink, ref LinkRec, false)) |
|
434 |
if (cbLinkDB.SelectAction(strLink.ToString(), ref LinkRec, false))
|
|
430 | 435 |
{ // ????H???????????N?f?[?^?????????e?f?[?^ |
431 | 436 |
ProcConstrCode = m_ConstructionCode; |
432 | 437 |
} |
433 | 438 |
else |
434 | 439 |
{ // ????H???????????N?f?[?^???????????????q?H???f?[?^?????????N????????? |
435 |
strLink = string.Format(" WHERE FLUCTUATIONCODE = {0}", m_ConstructionCode); |
|
436 |
if (!cbLinkDB.SelectAction(strLink, ref LinkRec, false)) return false; |
|
440 |
strLink.Clear(); |
|
441 |
strLink.AppendFormat(" WHERE FLUCTUATIONCODE = {0}", m_ConstructionCode); |
|
442 |
if (!cbLinkDB.SelectAction(strLink.ToString(), ref LinkRec, false)) return false; |
|
437 | 443 |
// ???o??????e??H????????????? |
438 | 444 |
ProcConstrCode = LinkRec.ConstructionCode; |
439 | 445 |
} |
... | ... | |
444 | 450 |
} |
445 | 451 |
|
446 | 452 |
// ?e????f?[?^????K?v??f?[?^???????? |
447 |
string strParentSQL = string.Empty;
|
|
453 |
StringBuilder strParentSQL = new StringBuilder();
|
|
448 | 454 |
CreateParentSQL(ProcConstrCode, ref strParentSQL); |
449 |
if (!cbiDB.ExecuteReader(strParentSQL, ref ParentData, false)) return false; |
|
455 |
if (!cbiDB.ExecuteReader(strParentSQL.ToString(), ref ParentData, false)) return false;
|
|
450 | 456 |
|
451 | 457 |
return true; |
452 | 458 |
} |
... | ... | |
476 | 482 |
try |
477 | 483 |
{ |
478 | 484 |
// ???F?f?[?^?? |
479 |
string strSQL = ApprovalDB.CreatePrimarykeyString(m_ConstructionCode, |
|
485 |
StringBuilder strSQL = new StringBuilder(); |
|
486 |
strSQL.Append(ApprovalDB.CreatePrimarykeyString(m_ConstructionCode, |
|
480 | 487 |
(int)ClsExcute.ApprovalListNo.ConstructionBudgetApproval, |
481 | 488 |
CommonDefine.s_Default_OrderNo, |
482 |
1); |
|
489 |
1));
|
|
483 | 490 |
ProcessApproval ProRec = new ProcessApproval(); |
484 |
if (ApprovalDB.SelectAction(strSQL, ref ProRec, false)) |
|
491 |
if (ApprovalDB.SelectAction(strSQL.ToString(), ref ProRec, false))
|
|
485 | 492 |
{ |
486 | 493 |
// ???F????X??????????I?? |
487 | 494 |
if (ProRec.ApprovalStatus == (int)CommonDefine.ApprovalStatus.Approval) return true; |
488 | 495 |
} |
489 | 496 |
|
490 | 497 |
// ----- ?H???\?Z???f?[?^?? |
491 |
string strBudget = BudgetDB.CreatePrimarykeyString(m_ConstructionCode); |
|
498 |
StringBuilder strBudget = new StringBuilder(); |
|
499 |
strBudget.Append(BudgetDB.CreatePrimarykeyString(m_ConstructionCode)); |
|
492 | 500 |
ConstructionBudget BudgetRec = new ConstructionBudget(); |
493 | 501 |
// ?f?[?^?????????????????? |
494 |
if (!BudgetDB.SelectAction(strBudget, ref BudgetRec, false)) return true; |
|
502 |
if (!BudgetDB.SelectAction(strBudget.ToString(), ref BudgetRec, false)) return true;
|
|
495 | 503 |
|
496 | 504 |
// ??W?f?[?^?? |
497 | 505 |
int TargetParson1 = CommonMotions.cnvInt(((ComboBox)m_DspCtrl[(int)DspCnt.ConstructionPersonCode]).SelectedValue); |
... | ... | |
607 | 615 |
try |
608 | 616 |
{ |
609 | 617 |
// ?????o???}?X?^?? |
610 |
string strSQL = "SELECT A.NAMESTRING, IFNULL(B.EXPENSESRAITO, 0), B.NAMECODE"; |
|
611 |
strSQL += " FROM DIVISIONMASTER A"; |
|
612 |
strSQL += " LEFT OUTER JOIN"; |
|
613 |
strSQL += string.Format(" (SELECT NAMECODE, DEPARTMENTCODE, EXPENSESRAITO FROM DEPARTMENTEXPENSESMASTER WHERE DEPARTMENTCODE = {0}) B", DepartmentCode); |
|
614 |
strSQL += " ON A.NAMECODE = B.NAMECODE"; |
|
615 |
strSQL += string.Format(" WHERE A.DIVISIONCODE = {0}", (int)DivisionMaster.DivisionMasterCodeDefine.ConstructionExpenses); |
|
616 |
strSQL += " ORDER BY A.DISPLAYORDER"; |
|
617 |
if (!expDB.ExecuteReader(strSQL, ref ExpensesList)) return false; |
|
618 |
StringBuilder strSQL = new StringBuilder(); |
|
619 |
strSQL.Append("SELECT A.NAMESTRING, IFNULL(B.EXPENSESRAITO, 0), B.NAMECODE"); |
|
620 |
strSQL.Append(" FROM DIVISIONMASTER A"); |
|
621 |
strSQL.Append(" LEFT OUTER JOIN"); |
|
622 |
strSQL.AppendFormat(" (SELECT NAMECODE, DEPARTMENTCODE, EXPENSESRAITO FROM DEPARTMENTEXPENSESMASTER WHERE DEPARTMENTCODE = {0}) B", DepartmentCode); |
|
623 |
strSQL.Append(" ON A.NAMECODE = B.NAMECODE"); |
|
624 |
strSQL.AppendFormat(" WHERE A.DIVISIONCODE = {0}", (int)DivisionMaster.DivisionMasterCodeDefine.ConstructionExpenses); |
|
625 |
strSQL.Append(" ORDER BY A.DISPLAYORDER"); |
|
626 |
if (!expDB.ExecuteReader(strSQL.ToString(), ref ExpensesList)) return false; |
|
618 | 627 |
if (ExpensesList.Count == 0) return false; |
619 | 628 |
|
620 | 629 |
return true; |
... | ... | |
757 | 766 |
} |
758 | 767 |
} |
759 | 768 |
|
760 |
string strSQL = BudgetDB.CreatePrimarykeyString(BudgetRec.ConstructionCode); |
|
761 |
if (!BudgetDB.UpdateAction(strSQL, BudgetRec, false)) return false; |
|
769 |
StringBuilder strSQL = new StringBuilder(); |
|
770 |
strSQL.Append(BudgetDB.CreatePrimarykeyString(BudgetRec.ConstructionCode)); |
|
771 |
if (!BudgetDB.UpdateAction(strSQL.ToString(), BudgetRec, false)) return false; |
|
762 | 772 |
|
763 | 773 |
|
764 | 774 |
return true; |
... | ... | |
803 | 813 |
try |
804 | 814 |
{ |
805 | 815 |
// ????? |
806 |
string strDelete = BudgetDDB.CreatePrimarykeyString(m_ConstructionCode, (int)FrmConstructionBudget.DataGroup.Expenses); |
|
807 |
BudgetDDB.DeleteAction(strDelete, false); |
|
816 |
StringBuilder strDelete = new StringBuilder(); |
|
817 |
strDelete.Append(BudgetDDB.CreatePrimarykeyString(m_ConstructionCode, (int)FrmConstructionBudget.DataGroup.Expenses)); |
|
818 |
BudgetDDB.DeleteAction(strDelete.ToString(), false); |
|
808 | 819 |
|
809 | 820 |
int icnt = 1; |
810 | 821 |
foreach (object[] wrkExpense in ExpensesList) |
... | ... | |
857 | 868 |
{ |
858 | 869 |
try |
859 | 870 |
{ |
860 |
string strSQL = BudgetDDB.CreatePrimarykeyString(m_ConstructionCode, GroupCode); |
|
871 |
StringBuilder strSQL = new StringBuilder(); |
|
872 |
strSQL.Append(BudgetDDB.CreatePrimarykeyString(m_ConstructionCode, GroupCode)); |
|
861 | 873 |
ConstructionBudgetDetail DetailRec = new ConstructionBudgetDetail(); |
862 | 874 |
// ?H???\?Z??????f?[?^?????????????O?????????s |
863 |
bool ExistsFlg = BudgetDDB.SelectAction(strSQL, ref DetailRec, false); |
|
875 |
bool ExistsFlg = BudgetDDB.SelectAction(strSQL.ToString(), ref DetailRec, false);
|
|
864 | 876 |
|
865 | 877 |
// ?^?C?g???????????? |
866 | 878 |
frm.GetTitileParametar = GroupCode; |
... | ... | |
876 | 888 |
DetailRec.OrderDesiredAmount = 0; |
877 | 889 |
DetailRec.ExecutionAmount = 0; |
878 | 890 |
DetailRec.AmountConfigRate = 0; |
879 |
if (!BudgetDDB.UpdateAction(strSQL, DetailRec, false)) return false; |
|
891 |
if (!BudgetDDB.UpdateAction(strSQL.ToString(), DetailRec, false)) return false;
|
|
880 | 892 |
} |
881 | 893 |
return true; |
882 | 894 |
} |
... | ... | |
939 | 951 |
MonthryCost.ToString("#,0")); |
940 | 952 |
if (ExistsFlg) |
941 | 953 |
{ |
942 |
if (!BudgetDDB.UpdateAction(strSQL, DetailRec, false)) return false; |
|
954 |
if (!BudgetDDB.UpdateAction(strSQL.ToString(), DetailRec, false)) return false;
|
|
943 | 955 |
} |
944 | 956 |
else |
945 | 957 |
{ |
... | ... | |
996 | 1008 |
try |
997 | 1009 |
{ |
998 | 1010 |
// ?e?R?[?h??????????????? |
999 |
string strLedger = LedgerDB.CreatePrimarykeyString(ProcConstrCode); |
|
1011 |
StringBuilder strLedger = new StringBuilder(); |
|
1012 |
strLedger.Append(LedgerDB.CreatePrimarykeyString(ProcConstrCode)); |
|
1000 | 1013 |
ConstructionLedger LedgerRec = new ConstructionLedger(); |
1001 | 1014 |
// ?f?[?^?????????????????? |
1002 |
if (!LedgerDB.SelectAction(strLedger, ref LedgerRec, false)) return true; |
|
1015 |
if (!LedgerDB.SelectAction(strLedger.ToString(), ref LedgerRec, false)) return true;
|
|
1003 | 1016 |
|
1004 | 1017 |
// ????????????????????????? |
1005 | 1018 |
if (LedgerRec.ComplateFlg == (int)ConstructionLedger.CompFlagDef.Complated) return true; |
... | ... | |
1111 | 1124 |
if (EndDate == DateTime.MinValue) |
1112 | 1125 |
EndDate = CommonMotions.cnvUndecidedStringToDate(m_DspCtrl[(int)DspCnt.ConstructionPeriodEnd].Text); |
1113 | 1126 |
|
1127 |
StringBuilder strSQL = new StringBuilder(); |
|
1114 | 1128 |
// ?H??????????f?[?^?? |
1115 |
string strSQL = LedgerDDB.CreatePrimarykeyString(ProcConstrCode, GroupCode);
|
|
1116 |
strSQL += string.Format(" AND OperatingFlg = {0}", (int)ConstructionLedgerDetail.SalOpeKindDef.Oparateing);
|
|
1129 |
strSQL.Append(LedgerDDB.CreatePrimarykeyString(ProcConstrCode, GroupCode));
|
|
1130 |
strSQL.AppendFormat(" AND OperatingFlg = {0}", (int)ConstructionLedgerDetail.SalOpeKindDef.Oparateing);
|
|
1117 | 1131 |
ConstructionLedgerDetail DetailRec = new ConstructionLedgerDetail(); |
1118 | 1132 |
// ?H??????????f?[?^?????????????O?????????s |
1119 |
bool bExists = LedgerDDB.SelectAction(strSQL, ref DetailRec, false); |
|
1133 |
bool bExists = LedgerDDB.SelectAction(strSQL.ToString(), ref DetailRec, false);
|
|
1120 | 1134 |
|
1121 | 1135 |
int ConstructorCode = 0; |
1122 | 1136 |
double MonthryCost = 0; |
... | ... | |
1162 | 1176 |
// ?S??????????????????f?[?^???????????? |
1163 | 1177 |
if (DetailRec.CompanyCode == 0) |
1164 | 1178 |
{ |
1165 |
strSQL = LedgerDDB.CreatePrimarykeyString(ProcConstrCode, GroupCode); |
|
1166 |
strSQL += " AND CompanyCode = 0"; |
|
1167 |
LedgerDDB.DeleteAction(strSQL, false); |
|
1179 |
strSQL.Clear(); |
|
1180 |
strSQL.Append(LedgerDDB.CreatePrimarykeyString(ProcConstrCode, GroupCode)); |
|
1181 |
strSQL.Append(" AND CompanyCode = 0"); |
|
1182 |
LedgerDDB.DeleteAction(strSQL.ToString(), false); |
|
1168 | 1183 |
} |
1169 | 1184 |
|
1170 | 1185 |
// ?V?S?????????o?^????? |
... | ... | |
1204 | 1219 |
DetailRec.CompanyType = (int)CommonDefine.CodeDataType.Person; // ??????R?[?h?^?C?v |
1205 | 1220 |
DetailRec.CompanyCode = ConstructorCode; // ??????R?[?h |
1206 | 1221 |
//DetailRec.ExecutionAmount = ExecutionAmount; // ???s???z |
1207 |
//DetailRec.AmountConfigRate = AmountConfigRate; // ???z?\???? |
|
1222 |
//DetailRec.AmountConfigRate = AmountConfigRate; // ???z?\????
|
|
1208 | 1223 |
DetailRec.ExecutionAmount = 0; // ???s???z |
1209 | 1224 |
DetailRec.AmountConfigRate = 0; // ???z?\???? |
1210 | 1225 |
|
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/FrmConstructionBudget.cs | ||
---|---|---|
1373 | 1373 |
return; |
1374 | 1374 |
} |
1375 | 1375 |
|
1376 |
// ???????b?Z?[?W |
|
1377 |
CommonMotions.EntryEndMessage("???F", ""); |
|
1378 |
|
|
1376 | 1379 |
// ?e?t?H?[???I?? |
1377 | 1380 |
m_ParentEnd = true; |
1378 | 1381 |
|
... | ... | |
1422 | 1425 |
return; |
1423 | 1426 |
} |
1424 | 1427 |
|
1428 |
// ???????b?Z?[?W |
|
1429 |
CommonMotions.EntryEndMessage("???", ""); |
|
1430 |
|
|
1425 | 1431 |
// ?e?t?H?[???I?? |
1426 | 1432 |
m_ParentEnd = true; |
1427 | 1433 |
|
... | ... | |
1471 | 1477 |
return; |
1472 | 1478 |
} |
1473 | 1479 |
|
1480 |
// ???????b?Z?[?W |
|
1481 |
CommonMotions.EntryEndMessage("?s???F", ""); |
|
1482 |
|
|
1474 | 1483 |
// ?e?t?H?[???I?? |
1475 | 1484 |
m_ParentEnd = true; |
1476 | 1485 |
|
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.cs | ||
---|---|---|
128 | 128 |
/// </summary> |
129 | 129 |
FixFlg, |
130 | 130 |
/// <summary> |
131 |
/// ?????s??? |
|
132 |
/// </summary> |
|
133 |
DataLineCount, |
|
134 |
/// <summary> |
|
131 | 135 |
/// ?O???[?v??? |
132 | 136 |
/// </summary> |
133 | 137 |
GroupCount, |
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.designer.cs | ||
---|---|---|
88 | 88 |
this.btnLineAdd = new System.Windows.Forms.Button(); |
89 | 89 |
this.panel2 = new System.Windows.Forms.Panel(); |
90 | 90 |
this.lblCellTotal = new System.Windows.Forms.Label(); |
91 |
this.dgvAllDisplay = new ProcessManagement.Forms.CustomControls.DataGridViewEX(); |
|
91 | 92 |
this.btnDispDown = new System.Windows.Forms.Button(); |
92 | 93 |
this.btnDispUp = new System.Windows.Forms.Button(); |
93 | 94 |
this.btnOtherProc = new System.Windows.Forms.Button(); |
... | ... | |
96 | 97 |
this.btnChangePrice = new System.Windows.Forms.Button(); |
97 | 98 |
this.button1 = new System.Windows.Forms.Button(); |
98 | 99 |
this.button2 = new System.Windows.Forms.Button(); |
99 |
this.dgvAllDisplay = new ProcessManagement.Forms.CustomControls.DataGridViewEX(); |
|
100 | 100 |
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
101 | 101 |
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
102 |
this.Column27 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
102 | 103 |
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
103 | 104 |
this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
104 | 105 |
this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
... | ... | |
785 | 786 |
this.lblCellTotal.Size = new System.Drawing.Size(0, 13); |
786 | 787 |
this.lblCellTotal.TabIndex = 36; |
787 | 788 |
// |
789 |
// dgvAllDisplay |
|
790 |
// |
|
791 |
this.dgvAllDisplay.AllowUserToAddRows = false; |
|
792 |
this.dgvAllDisplay.AllowUserToDeleteRows = false; |
|
793 |
this.dgvAllDisplay.AllowUserToResizeColumns = false; |
|
794 |
this.dgvAllDisplay.AllowUserToResizeRows = false; |
|
795 |
this.dgvAllDisplay.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
796 |
| System.Windows.Forms.AnchorStyles.Left) |
|
797 |
| System.Windows.Forms.AnchorStyles.Right))); |
|
798 |
this.dgvAllDisplay.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); |
|
799 |
this.dgvAllDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; |
|
800 |
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
801 |
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; |
|
802 |
dataGridViewCellStyle1.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128))); |
|
803 |
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; |
|
804 |
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
805 |
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
806 |
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
807 |
this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; |
|
808 |
this.dgvAllDisplay.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; |
|
809 |
this.dgvAllDisplay.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
810 |
this.Column1, |
|
811 |
this.Column3, |
|
812 |
this.Column27, |
|
813 |
this.Column2, |
|
814 |
this.Column14, |
|
815 |
this.Column15, |
|
816 |
this.Column5, |
|
817 |
this.Column6, |
|
818 |
this.Column18, |
|
819 |
this.Column4, |
|
820 |
this.Column10, |
|
821 |
this.Column7, |
|
822 |
this.Column12, |
|
823 |
this.Column9, |
|
824 |
this.Column13, |
|
825 |
this.Column16, |
|
826 |
this.Column17, |
|
827 |
this.Column8, |
|
828 |
this.Column11, |
|
829 |
this.Column19, |
|
830 |
this.Column20, |
|
831 |
this.Column21, |
|
832 |
this.Column22, |
|
833 |
this.Column23, |
|
834 |
this.Column24, |
|
835 |
this.Column25, |
|
836 |
this.Column26}); |
|
837 |
this.dgvAllDisplay.Location = new System.Drawing.Point(6, 4); |
|
838 |
this.dgvAllDisplay.Name = "dgvAllDisplay"; |
|
839 |
this.dgvAllDisplay.RowHeadersVisible = false; |
|
840 |
this.dgvAllDisplay.RowHeadersWidth = 20; |
|
841 |
this.dgvAllDisplay.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; |
|
842 |
this.dgvAllDisplay.RowTemplate.Height = 21; |
|
843 |
this.dgvAllDisplay.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; |
|
844 |
this.dgvAllDisplay.Size = new System.Drawing.Size(1278, 418); |
|
845 |
this.dgvAllDisplay.TabIndex = 35; |
|
846 |
this.dgvAllDisplay.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellDoubleClick); |
|
847 |
this.dgvAllDisplay.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellEnter); |
|
848 |
this.dgvAllDisplay.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.dgvAllDisplay_CellPainting); |
|
849 |
this.dgvAllDisplay.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValidated); |
|
850 |
this.dgvAllDisplay.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValueChanged); |
|
851 |
this.dgvAllDisplay.SelectionChanged += new System.EventHandler(this.dgvAllDisplay_SelectionChanged); |
|
852 |
this.dgvAllDisplay.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dgvAllDisplay_KeyDown); |
|
853 |
this.dgvAllDisplay.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvAllDisplay_MouseUp); |
|
854 |
// |
|
788 | 855 |
// btnDispDown |
789 | 856 |
// |
790 | 857 |
this.btnDispDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
... | ... | |
892 | 959 |
this.button2.Visible = false; |
893 | 960 |
this.button2.Click += new System.EventHandler(this.button2_Click); |
894 | 961 |
// |
895 |
// dgvAllDisplay |
|
896 |
// |
|
897 |
this.dgvAllDisplay.AllowUserToAddRows = false; |
|
898 |
this.dgvAllDisplay.AllowUserToDeleteRows = false; |
|
899 |
this.dgvAllDisplay.AllowUserToResizeColumns = false; |
|
900 |
this.dgvAllDisplay.AllowUserToResizeRows = false; |
|
901 |
this.dgvAllDisplay.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
902 |
| System.Windows.Forms.AnchorStyles.Left) |
|
903 |
| System.Windows.Forms.AnchorStyles.Right))); |
|
904 |
this.dgvAllDisplay.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); |
|
905 |
this.dgvAllDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; |
|
906 |
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
907 |
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; |
|
908 |
dataGridViewCellStyle1.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128))); |
|
909 |
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; |
|
910 |
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
911 |
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
912 |
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
913 |
this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; |
|
914 |
this.dgvAllDisplay.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; |
|
915 |
this.dgvAllDisplay.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
916 |
this.Column1, |
|
917 |
this.Column3, |
|
918 |
this.Column2, |
|
919 |
this.Column14, |
|
920 |
this.Column15, |
|
921 |
this.Column5, |
|
922 |
this.Column6, |
|
923 |
this.Column18, |
|
924 |
this.Column4, |
|
925 |
this.Column10, |
|
926 |
this.Column7, |
|
927 |
this.Column12, |
|
928 |
this.Column9, |
|
929 |
this.Column13, |
|
930 |
this.Column16, |
|
931 |
this.Column17, |
|
932 |
this.Column8, |
|
933 |
this.Column11, |
|
934 |
this.Column19, |
|
935 |
this.Column20, |
|
936 |
this.Column21, |
|
937 |
this.Column22, |
|
938 |
this.Column23, |
|
939 |
this.Column24, |
|
940 |
this.Column25, |
|
941 |
this.Column26}); |
|
942 |
this.dgvAllDisplay.Location = new System.Drawing.Point(6, 4); |
|
943 |
this.dgvAllDisplay.Name = "dgvAllDisplay"; |
|
944 |
this.dgvAllDisplay.RowHeadersVisible = false; |
|
945 |
this.dgvAllDisplay.RowHeadersWidth = 20; |
|
946 |
this.dgvAllDisplay.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; |
|
947 |
this.dgvAllDisplay.RowTemplate.Height = 21; |
|
948 |
this.dgvAllDisplay.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; |
|
949 |
this.dgvAllDisplay.Size = new System.Drawing.Size(1278, 418); |
|
950 |
this.dgvAllDisplay.TabIndex = 35; |
|
951 |
this.dgvAllDisplay.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellDoubleClick); |
|
952 |
this.dgvAllDisplay.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellEnter); |
|
953 |
this.dgvAllDisplay.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.dgvAllDisplay_CellPainting); |
|
954 |
this.dgvAllDisplay.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValidated); |
|
955 |
this.dgvAllDisplay.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValueChanged); |
|
956 |
this.dgvAllDisplay.SelectionChanged += new System.EventHandler(this.dgvAllDisplay_SelectionChanged); |
|
957 |
this.dgvAllDisplay.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dgvAllDisplay_KeyDown); |
|
958 |
this.dgvAllDisplay.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvAllDisplay_MouseUp); |
|
959 |
// |
|
960 | 962 |
// Column1 |
961 | 963 |
// |
962 | 964 |
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
... | ... | |
979 | 981 |
this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
980 | 982 |
this.Column3.Visible = false; |
981 | 983 |
// |
984 |
// Column27 |
|
985 |
// |
|
986 |
this.Column27.Frozen = true; |
|
987 |
this.Column27.HeaderText = "詳細台帳行番号"; |
|
988 |
this.Column27.Name = "Column27"; |
|
989 |
this.Column27.ReadOnly = true; |
|
990 |
this.Column27.Visible = false; |
|
991 |
// |
|
982 | 992 |
// Column2 |
983 | 993 |
// |
984 | 994 |
this.Column2.Frozen = true; |
... | ... | |
1337 | 1347 |
private System.Windows.Forms.Button btnRestore; |
1338 | 1348 |
private System.Windows.Forms.DataGridViewTextBoxColumn Column1; |
1339 | 1349 |
private System.Windows.Forms.DataGridViewTextBoxColumn Column3; |
1350 |
private System.Windows.Forms.DataGridViewTextBoxColumn Column27; |
|
1340 | 1351 |
private System.Windows.Forms.DataGridViewTextBoxColumn Column2; |
1341 | 1352 |
private System.Windows.Forms.DataGridViewTextBoxColumn Column14; |
1342 | 1353 |
private System.Windows.Forms.DataGridViewTextBoxColumn Column15; |
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedger.resx | ||
---|---|---|
123 | 123 |
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
124 | 124 |
<value>True</value> |
125 | 125 |
</metadata> |
126 |
<metadata name="Column27.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|
127 |
<value>True</value> |
|
128 |
</metadata> |
|
126 | 129 |
<metadata name="Column14.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
127 | 130 |
<value>True</value> |
128 | 131 |
</metadata> |
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/FrmConstructionLedgerAuxiliary.cs | ||
---|---|---|
2839 | 2839 |
// 経費・施工費・購入品は番号を振る |
2840 | 2840 |
SetDisplayNo(DetailRec, GroupNo, ref Block, ref icnt, ref RowData, ref strParentNo, ref childNo); |
2841 | 2841 |
|
2842 |
RowData[(int)GridColumn.DataLineCount] = DetailRec.LineCount; |
|
2842 | 2843 |
RowData[(int)GridColumn.GroupCount] = DetailRec.GroupCount; |
2843 | 2844 |
RowData[(int)GridColumn.ComponentCode] = DetailRec.ComponentCode; |
2844 | 2845 |
RowData[(int)GridColumn.ItemName] = DetailRec.FirstString; |
... | ... | |
3974 | 3975 |
IOConstructionLedger LedgerDB = new IOConstructionLedger(); |
3975 | 3976 |
IOConstructionLedgerDetail DetailDB = new IOConstructionLedgerDetail(); |
3976 | 3977 |
IOConstructionLedgerExcute ExcuteDB = new IOConstructionLedgerExcute(); |
3978 |
IOPurchaseOrderDetail PDetailDB = new IOPurchaseOrderDetail(); |
|
3977 | 3979 |
try |
3978 | 3980 |
{ |
3979 | 3981 |
//データチェック |
... | ... | |
3989 | 3991 |
LedgerDB.connect(); LedgerDB.beginTran(); |
3990 | 3992 |
DetailDB.connect(); DetailDB.beginTran(); |
3991 | 3993 |
ExcuteDB.connect(); ExcuteDB.beginTran(); |
3994 |
PDetailDB.connect(); PDetailDB.beginTran(); |
|
3992 | 3995 |
|
3993 | 3996 |
// 詳細台帳データ |
3994 | 3997 |
if (!ConstructionLedgerDataEntry(LedgerDB)) |
... | ... | |
3998 | 4001 |
} |
3999 | 4002 |
|
4000 | 4003 |
// 詳細台帳明細データ |
4001 |
if (!ConstructionLedgerDetailEntry(DetailDB)) |
|
4004 |
if (!ConstructionLedgerDetailEntry(DetailDB, PDetailDB))
|
|
4002 | 4005 |
{ |
4003 | 4006 |
LedgerDB.rollback(); |
4004 | 4007 |
DetailDB.rollback(); |
4008 |
PDetailDB.rollback(); |
|
4005 | 4009 |
return false; |
4006 | 4010 |
} |
4007 | 4011 |
|
... | ... | |
4011 | 4015 |
LedgerDB.rollback(); |
4012 | 4016 |
DetailDB.rollback(); |
4013 | 4017 |
ExcuteDB.rollback(); |
4018 |
PDetailDB.rollback(); |
|
4014 | 4019 |
return false; |
4015 | 4020 |
} |
4016 | 4021 |
|
... | ... | |
4018 | 4023 |
LedgerDB.commit(); |
4019 | 4024 |
DetailDB.commit(); |
4020 | 4025 |
ExcuteDB.commit(); |
4026 |
PDetailDB.commit(); |
|
4021 | 4027 |
|
4022 | 4028 |
// データ変更フラグOff |
4023 | 4029 |
m_bChengeAns = false; |
... | ... | |
4263 | 4269 |
/// <summary> |
4264 | 4270 |
/// 工事詳細台帳データ明細登録 |
4265 | 4271 |
/// </summary> |
4266 |
private bool ConstructionLedgerDetailEntry(IOConstructionLedgerDetail DetailDB) |
|
4272 |
private bool ConstructionLedgerDetailEntry(IOConstructionLedgerDetail DetailDB, IOPurchaseOrderDetail PDetailDB)
|
|
4267 | 4273 |
{ |
4268 | 4274 |
try |
4269 | 4275 |
{ |
... | ... | |
4274 | 4280 |
DataGridView dgv = dgvAllDisplay; |
4275 | 4281 |
int PaymentBurdenCol = dgv.ColumnCount + (int)ColPayTotal.PaymentBurdens; |
4276 | 4282 |
int RowLineCnt = 0; |
4283 |
int nOldLineCnt = 0; |
|
4277 | 4284 |
List<ConstructionLedgerDetail> NewList = new List<ConstructionLedgerDetail>(); |
4285 |
List<KeyValuePair<int, int>> PDetailList = new List<KeyValuePair<int, int>>(); |
|
4278 | 4286 |
|
4279 | 4287 |
foreach (DataGridViewRow wrkRow in dgv.Rows) |
4280 | 4288 |
{ |
... | ... | |
4320 | 4328 |
|
4321 | 4329 |
// 行データ作成 |
4322 | 4330 |
CreateInsertRowData(wrkRow, RowLineCnt, ref NewList); |
4331 |
|
|
4332 |
// 明細行の位置が変わっているかの判定 |
|
4333 |
if (CommonMotions.chkObjectIsNull(wrkRow.Cells[(int)GridColumn.DataLineCount].Value)) continue; |
|
4334 |
nOldLineCnt = CommonMotions.cnvInt(wrkRow.Cells[(int)GridColumn.DataLineCount].Value); |
|
4335 |
if (nOldLineCnt == 0) continue; |
|
4336 |
if (nOldLineCnt == RowLineCnt) continue; |
|
4337 |
|
|
4338 |
// 明細行の位置が変わっていた時はリストに追加する |
|
4339 |
PDetailList.Add(new KeyValuePair<int, int>(nOldLineCnt, RowLineCnt)); |
|
4340 |
|
|
4323 | 4341 |
} // iRows |
4324 | 4342 |
|
4325 |
if (NewList.Count < 1) return true; |
|
4343 |
if (NewList.Count > 0) |
|
4344 |
{ |
|
4345 |
if (!DetailDB.InsertAction(NewList, false)) |
|
4346 |
{ |
|
4347 |
MessageBox.Show("工事詳細台帳明細データ:追加登録に失敗しました。", "登録エラー", MessageBoxButtons.OK, MessageBoxIcon.Error); |
|
4348 |
return false; |
|
4349 |
} |
|
4350 |
} |
|
4326 | 4351 |
|
4327 |
if (!DetailDB.InsertAction(NewList, false))
|
|
4352 |
if (PDetailList.Count > 0)
|
|
4328 | 4353 |
{ |
4329 |
MessageBox.Show("工事詳細台帳明細データ:追加登録に失敗しました。", "登録エラー", MessageBoxButtons.OK, MessageBoxIcon.Error); |
|
4330 |
return false; |
|
4354 |
if (!SetPurchaseOrderDetailLineCount(PDetailDB, PDetailList)) |
|
4355 |
{ |
|
4356 |
MessageBox.Show("注文書明細データ:更新登録に失敗しました。", "登録エラー", MessageBoxButtons.OK, MessageBoxIcon.Error); |
|
4357 |
return false; |
|
4358 |
} |
|
4331 | 4359 |
} |
4332 | 4360 |
|
4333 | 4361 |
return true; |
... | ... | |
4538 | 4566 |
} |
4539 | 4567 |
} |
4540 | 4568 |
#endregion |
4569 |
|
|
4570 |
#region 注文書明細台帳行番号更新 |
|
4571 |
/// <summary> |
|
4572 |
/// 注文書明細台帳行番号更新 |
|
4573 |
/// </summary> |
|
4574 |
private bool SetPurchaseOrderDetailLineCount(IOPurchaseOrderDetail PDetailDB, List<KeyValuePair<int, int>> PDetailList) |
|
4575 |
{ |
|
4576 |
try |
|
4577 |
{ |
|
4578 |
StringBuilder strSQL = new StringBuilder(); |
|
4579 |
List<PurchaseOrderDetail> DataList = new List<PurchaseOrderDetail>(); |
|
4580 |
foreach (KeyValuePair<int, int> CurCount in PDetailList) |
|
4581 |
{ |
|
4582 |
// 行番号変化リストより更新を行う |
|
4583 |
strSQL.Clear(); |
|
4584 |
strSQL.AppendFormat(" Where SourceCode = {0}", m_ConstructionCode); |
|
4585 |
strSQL.AppendFormat(" And SourceLineCnt = {0}", CurCount.Key); |
|
4586 |
DataList.Clear(); |
|
4587 |
if (!PDetailDB.SelectAction(strSQL.ToString(), ref DataList, false)) return false; |
|
4588 |
// 注文書が無い場合は処理しない |
|
4589 |
if (DataList.Count == 0) continue; |
|
4590 |
|
|
4591 |
// 注文書があれば行番号を更新する |
|
4592 |
strSQL.Clear(); |
|
4593 |
strSQL.Append("UPDATE PurchaseOrderDetail"); |
|
4594 |
strSQL.Append(" SET"); |
|
4595 |
strSQL.AppendFormat(" SourceLineCnt = {0}", CurCount.Value); |
|
4596 |
strSQL.Append(PDetailDB.CreatePrimarykeyString(DataList[0].ConstructionCode, |
|
4597 |
DataList[0].SeqNo, |
|
4598 |
DataList[0].GroupCount, |
|
4599 |
DataList[0].LineCount)); |
|
4600 |
if (!PDetailDB.ExecuteNonQuery(strSQL.ToString(), false)) return false; |
|
4601 |
} |
|
4602 |
return true; |
|
4603 |
} |
|
4604 |
catch (System.Exception ex) |
|
4605 |
{ |
|
4606 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
4607 |
return false; |
|
4608 |
} |
|
4609 |
} |
|
4610 |
#endregion |
|
4541 | 4611 |
// ---------- データ登録↑↑ |
4542 | 4612 |
|
4543 | 4613 |
#region 画面項目のチェック |
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/CostomerRegist/FrmCostomerRegistAuxiliary.cs | ||
---|---|---|
964 | 964 |
return; |
965 | 965 |
} |
966 | 966 |
|
967 |
// 完了メッセージ |
|
968 |
CommonMotions.EntryEndMessage("承認", ""); |
|
969 |
|
|
967 | 970 |
// 親フォーム終了 |
968 | 971 |
m_ParentEnd = true; |
969 | 972 |
|
... | ... | |
1021 | 1024 |
return; |
1022 | 1025 |
} |
1023 | 1026 |
|
1027 |
// 完了メッセージ |
|
1028 |
CommonMotions.EntryEndMessage("保留", ""); |
|
1029 |
|
|
1024 | 1030 |
// 親フォーム終了 |
1025 | 1031 |
m_ParentEnd = true; |
1026 | 1032 |
|
... | ... | |
1078 | 1084 |
return; |
1079 | 1085 |
} |
1080 | 1086 |
|
1087 |
// 完了メッセージ |
|
1088 |
CommonMotions.EntryEndMessage("不承認", ""); |
|
1089 |
|
|
1081 | 1090 |
// 親フォーム終了 |
1082 | 1091 |
m_ParentEnd = true; |
1083 | 1092 |
|
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/FrmDRConstruction.cs | ||
---|---|---|
1191 | 1191 |
return; |
1192 | 1192 |
} |
1193 | 1193 |
|
1194 |
// ???????b?Z?[?W |
|
1195 |
CommonMotions.EntryEndMessage("???F", ""); |
|
1196 |
|
|
1194 | 1197 |
// ?e?t?H?[???I?? |
1195 | 1198 |
m_ParentEnd = true; |
1196 | 1199 |
|
... | ... | |
1240 | 1243 |
return; |
1241 | 1244 |
} |
1242 | 1245 |
|
1246 |
// ???????b?Z?[?W |
|
1247 |
CommonMotions.EntryEndMessage("???", ""); |
|
1248 |
|
|
1243 | 1249 |
// ?e?t?H?[???I?? |
1244 | 1250 |
m_ParentEnd = true; |
1245 | 1251 |
|
... | ... | |
1289 | 1295 |
return; |
1290 | 1296 |
} |
1291 | 1297 |
|
1298 |
// ???????b?Z?[?W |
|
1299 |
CommonMotions.EntryEndMessage("?s???F", ""); |
|
1300 |
|
|
1292 | 1301 |
// ?e?t?H?[???I?? |
1293 | 1302 |
m_ParentEnd = true; |
1294 | 1303 |
|
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.Designer.cs | ||
---|---|---|
31 | 31 |
private void InitializeComponent() |
32 | 32 |
{ |
33 | 33 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
34 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
35 | 34 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); |
36 | 35 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); |
37 | 36 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); |
... | ... | |
41 | 40 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); |
42 | 41 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); |
43 | 42 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); |
43 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
44 | 44 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
45 | 45 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
46 | 46 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); |
47 | 47 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); |
48 |
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
48 | 49 |
this.label1 = new System.Windows.Forms.Label(); |
49 | 50 |
this.btnLineDel = new System.Windows.Forms.Button(); |
50 | 51 |
this.btnLineAdd = new System.Windows.Forms.Button(); |
... | ... | |
52 | 53 |
this.btnDataEntry = new System.Windows.Forms.Button(); |
53 | 54 |
this.btnEnd = new System.Windows.Forms.Button(); |
54 | 55 |
this.panel3 = new System.Windows.Forms.Panel(); |
55 |
this.cmbDepartment = new ProcessManagement.Forms.CustomControls.ComboBoxEX(); |
|
56 | 56 |
this.label2 = new System.Windows.Forms.Label(); |
57 |
this.cmbConstructionPerson = new ProcessManagement.Forms.CustomControls.ComboBoxEX(); |
|
58 | 57 |
this.label3 = new System.Windows.Forms.Label(); |
59 |
this.comboBox1 = new ProcessManagement.Forms.CustomControls.ComboBoxEX(); |
|
60 | 58 |
this.label6 = new System.Windows.Forms.Label(); |
61 | 59 |
this.pnlApproval = new System.Windows.Forms.Panel(); |
62 | 60 |
this.lblApprovalCount = new System.Windows.Forms.Label(); |
... | ... | |
80 | 78 |
this.label5 = new System.Windows.Forms.Label(); |
81 | 79 |
this.label4 = new System.Windows.Forms.Label(); |
82 | 80 |
this.label15 = new System.Windows.Forms.Label(); |
83 |
this.dgvAllDisplay = new ProcessManagement.Forms.CustomControls.DataGridViewEX(); |
|
84 | 81 |
this.tabPage2 = new System.Windows.Forms.TabPage(); |
85 | 82 |
this.label45 = new System.Windows.Forms.Label(); |
86 | 83 |
this.label31 = new System.Windows.Forms.Label(); |
... | ... | |
168 | 165 |
this.label24 = new System.Windows.Forms.Label(); |
169 | 166 |
this.label25 = new System.Windows.Forms.Label(); |
170 | 167 |
this.label55 = new System.Windows.Forms.Label(); |
168 |
this.panel2 = new System.Windows.Forms.Panel(); |
|
169 |
this.btnWorkingList = new System.Windows.Forms.Button(); |
|
170 |
this.dgvAllDisplay = new ProcessManagement.Forms.CustomControls.DataGridViewEX(); |
|
171 | 171 |
this.dgvTransport02 = new ProcessManagement.Forms.CustomControls.DataGridViewEX(); |
172 | 172 |
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
173 | 173 |
this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
... | ... | |
190 | 190 |
this.Column11 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); |
191 | 191 |
this.Column12 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); |
192 | 192 |
this.dataGridViewCheckBoxColumn7 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); |
193 |
this.panel2 = new System.Windows.Forms.Panel(); |
|
194 |
this.btnWorkingList = new System.Windows.Forms.Button(); |
|
193 |
this.cmbDepartment = new ProcessManagement.Forms.CustomControls.ComboBoxEX(); |
|
194 |
this.cmbConstructionPerson = new ProcessManagement.Forms.CustomControls.ComboBoxEX(); |
|
195 |
this.comboBox1 = new ProcessManagement.Forms.CustomControls.ComboBoxEX(); |
|
195 | 196 |
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
196 | 197 |
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
197 | 198 |
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
198 | 199 |
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
200 |
this.Column15 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); |
|
199 | 201 |
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
200 | 202 |
this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
201 | 203 |
this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
... | ... | |
205 | 207 |
this.pnlApprovalButton.SuspendLayout(); |
206 | 208 |
this.tabControl1.SuspendLayout(); |
207 | 209 |
this.tabPage1.SuspendLayout(); |
210 |
this.tabPage2.SuspendLayout(); |
|
211 |
this.panel2.SuspendLayout(); |
|
208 | 212 |
((System.ComponentModel.ISupportInitialize)(this.dgvAllDisplay)).BeginInit(); |
209 |
this.tabPage2.SuspendLayout(); |
|
210 | 213 |
((System.ComponentModel.ISupportInitialize)(this.dgvTransport02)).BeginInit(); |
211 | 214 |
((System.ComponentModel.ISupportInitialize)(this.dgvTransport01)).BeginInit(); |
212 |
this.panel2.SuspendLayout(); |
|
213 | 215 |
this.SuspendLayout(); |
214 | 216 |
// |
215 | 217 |
// label1 |
... | ... | |
313 | 315 |
this.panel3.Size = new System.Drawing.Size(1330, 44); |
314 | 316 |
this.panel3.TabIndex = 104; |
315 | 317 |
// |
316 |
// cmbDepartment |
|
317 |
// |
|
318 |
this.cmbDepartment.BackColor = System.Drawing.Color.White; |
|
319 |
this.cmbDepartment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |
|
320 |
this.cmbDepartment.FlatStyle = System.Windows.Forms.FlatStyle.Popup; |
|
321 |
this.cmbDepartment.Font = new System.Drawing.Font("MS 明朝", 15.75F, System.Drawing.FontStyle.Bold); |
|
322 |
this.cmbDepartment.FormattingEnabled = true; |
|
323 |
this.cmbDepartment.Location = new System.Drawing.Point(437, 4); |
|
324 |
this.cmbDepartment.Name = "cmbDepartment"; |
|
325 |
this.cmbDepartment.Size = new System.Drawing.Size(260, 29); |
|
326 |
this.cmbDepartment.TabIndex = 123; |
|
327 |
this.cmbDepartment.TextChanged += new System.EventHandler(this.cmbDepartment_TextChanged); |
|
328 |
this.cmbDepartment.Enter += new System.EventHandler(this.cmbDepartment_Enter); |
|
329 |
// |
|
330 | 318 |
// label2 |
331 | 319 |
// |
332 | 320 |
this.label2.BackColor = System.Drawing.Color.SandyBrown; |
... | ... | |
340 | 328 |
this.label2.Text = "担当部署"; |
341 | 329 |
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
342 | 330 |
// |
343 |
// cmbConstructionPerson |
|
344 |
// |
|
345 |
this.cmbConstructionPerson.BackColor = System.Drawing.Color.White; |
|
346 |
this.cmbConstructionPerson.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |
|
347 |
this.cmbConstructionPerson.FlatStyle = System.Windows.Forms.FlatStyle.Popup; |
|
348 |
this.cmbConstructionPerson.Font = new System.Drawing.Font("MS 明朝", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128))); |
|
349 |
this.cmbConstructionPerson.FormattingEnabled = true; |
|
350 |
this.cmbConstructionPerson.Location = new System.Drawing.Point(841, 4); |
|
351 |
this.cmbConstructionPerson.Name = "cmbConstructionPerson"; |
|
352 |
this.cmbConstructionPerson.Size = new System.Drawing.Size(200, 29); |
|
353 |
this.cmbConstructionPerson.TabIndex = 124; |
|
354 |
this.cmbConstructionPerson.TextChanged += new System.EventHandler(this.cmbConstructionPerson_TextChanged); |
|
355 |
this.cmbConstructionPerson.Enter += new System.EventHandler(this.cmbConstructionPerson_Enter); |
|
356 |
// |
|
357 | 331 |
// label3 |
358 | 332 |
// |
359 | 333 |
this.label3.BackColor = System.Drawing.Color.SandyBrown; |
... | ... | |
367 | 341 |
this.label3.Text = "担 当 者"; |
368 | 342 |
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
369 | 343 |
// |
370 |
// comboBox1 |
|
371 |
// |
|
372 |
this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |
|
373 |
this.comboBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup; |
|
374 |
this.comboBox1.Font = new System.Drawing.Font("MS 明朝", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128))); |
|
375 |
this.comboBox1.FormattingEnabled = true; |
|
376 |
this.comboBox1.Location = new System.Drawing.Point(133, 4); |
|
377 |
this.comboBox1.Name = "comboBox1"; |
|
378 |
this.comboBox1.Size = new System.Drawing.Size(160, 29); |
|
379 |
this.comboBox1.TabIndex = 114; |
|
380 |
this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); |
|
381 |
this.comboBox1.Enter += new System.EventHandler(this.comboBox1_Enter); |
|
382 |
// |
|
383 | 344 |
// label6 |
384 | 345 |
// |
385 | 346 |
this.label6.BackColor = System.Drawing.Color.SandyBrown; |
... | ... | |
682 | 643 |
this.label15.Text = "出勤日数"; |
683 | 644 |
this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
684 | 645 |
// |
685 |
// dgvAllDisplay |
|
686 |
// |
|
687 |
this.dgvAllDisplay.AllowUserToAddRows = false; |
|
688 |
this.dgvAllDisplay.AllowUserToDeleteRows = false; |
|
689 |
this.dgvAllDisplay.AllowUserToResizeColumns = false; |
|
690 |
this.dgvAllDisplay.AllowUserToResizeRows = false; |
|
691 |
this.dgvAllDisplay.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
|
692 |
| System.Windows.Forms.AnchorStyles.Right))); |
|
693 |
this.dgvAllDisplay.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); |
|
694 |
this.dgvAllDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; |
|
695 |
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
696 |
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; |
|
697 |
dataGridViewCellStyle1.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128))); |
|
698 |
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; |
|
699 |
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
700 |
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
701 |
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
702 |
this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; |
|
703 |
this.dgvAllDisplay.ColumnHeadersHeight = 24; |
|
704 |
this.dgvAllDisplay.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; |
|
705 |
this.dgvAllDisplay.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
706 |
this.Column1, |
|
707 |
this.Column4, |
|
708 |
this.Column3, |
|
709 |
this.Column2, |
|
710 |
this.Column5, |
|
711 |
this.Column8, |
|
712 |
this.Column7, |
|
713 |
this.Column6}); |
|
714 |
this.dgvAllDisplay.Location = new System.Drawing.Point(8, 39); |
|
715 |
this.dgvAllDisplay.Name = "dgvAllDisplay"; |
|
716 |
this.dgvAllDisplay.RowHeadersVisible = false; |
|
717 |
this.dgvAllDisplay.RowHeadersWidth = 20; |
|
718 |
this.dgvAllDisplay.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; |
|
719 |
this.dgvAllDisplay.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128))); |
|
720 |
this.dgvAllDisplay.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.Black; |
|
721 |
this.dgvAllDisplay.RowTemplate.Height = 24; |
|
722 |
this.dgvAllDisplay.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; |
|
723 |
this.dgvAllDisplay.Size = new System.Drawing.Size(1310, 458); |
|
724 |
this.dgvAllDisplay.TabIndex = 37; |
|
725 |
this.dgvAllDisplay.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellEnter); |
|
726 |
this.dgvAllDisplay.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValidated); |
|
727 |
this.dgvAllDisplay.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValueChanged); |
|
728 |
// |
|
729 | 646 |
// tabPage2 |
730 | 647 |
// |
731 | 648 |
this.tabPage2.BackColor = System.Drawing.Color.Black; |
... | ... | |
1874 | 1791 |
this.label55.Text = "合 計"; |
1875 | 1792 |
this.label55.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
1876 | 1793 |
// |
1794 |
// panel2 |
|
1795 |
// |
|
1796 |
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
1797 |
this.panel2.BackColor = System.Drawing.Color.LemonChiffon; |
|
1798 |
this.panel2.Controls.Add(this.btnWorkingList); |
|
1799 |
this.panel2.Location = new System.Drawing.Point(1102, 3); |
|
1800 |
this.panel2.Name = "panel2"; |
|
1801 |
this.panel2.Size = new System.Drawing.Size(237, 34); |
|
1802 |
this.panel2.TabIndex = 106; |
|
1803 |
// |
|
1804 |
// btnWorkingList |
|
1805 |
// |
|
1806 |
this.btnWorkingList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
1807 |
this.btnWorkingList.BackColor = System.Drawing.Color.DarkOrange; |
|
1808 |
this.btnWorkingList.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128))); |
|
1809 |
this.btnWorkingList.ForeColor = System.Drawing.Color.Black; |
|
1810 |
this.btnWorkingList.Location = new System.Drawing.Point(4, 4); |
|
1811 |
this.btnWorkingList.Name = "btnWorkingList"; |
|
1812 |
this.btnWorkingList.Size = new System.Drawing.Size(230, 26); |
|
1813 |
this.btnWorkingList.TabIndex = 12; |
|
1814 |
this.btnWorkingList.Text = "作成状態を表示する"; |
|
1815 |
this.btnWorkingList.UseVisualStyleBackColor = false; |
|
1816 |
this.btnWorkingList.Click += new System.EventHandler(this.btnWorkingList_Click); |
|
1817 |
// |
|
1818 |
// dgvAllDisplay |
|
1819 |
// |
|
1820 |
this.dgvAllDisplay.AllowUserToAddRows = false; |
|
1821 |
this.dgvAllDisplay.AllowUserToDeleteRows = false; |
|
1822 |
this.dgvAllDisplay.AllowUserToResizeColumns = false; |
|
1823 |
this.dgvAllDisplay.AllowUserToResizeRows = false; |
|
1824 |
this.dgvAllDisplay.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
|
1825 |
| System.Windows.Forms.AnchorStyles.Right))); |
|
1826 |
this.dgvAllDisplay.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); |
|
1827 |
this.dgvAllDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; |
|
1828 |
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
1829 |
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; |
|
1830 |
dataGridViewCellStyle1.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128))); |
|
1831 |
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; |
|
1832 |
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
1833 |
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
1834 |
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
1835 |
this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; |
|
1836 |
this.dgvAllDisplay.ColumnHeadersHeight = 24; |
|
1837 |
this.dgvAllDisplay.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; |
|
1838 |
this.dgvAllDisplay.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
1839 |
this.Column1, |
|
1840 |
this.Column4, |
|
1841 |
this.Column3, |
|
1842 |
this.Column2, |
|
1843 |
this.Column15, |
|
1844 |
this.Column5, |
|
1845 |
this.Column8, |
|
1846 |
this.Column7, |
|
1847 |
this.Column6}); |
|
1848 |
this.dgvAllDisplay.Location = new System.Drawing.Point(8, 39); |
|
1849 |
this.dgvAllDisplay.Name = "dgvAllDisplay"; |
|
1850 |
this.dgvAllDisplay.RowHeadersVisible = false; |
|
1851 |
this.dgvAllDisplay.RowHeadersWidth = 20; |
|
1852 |
this.dgvAllDisplay.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; |
|
1853 |
this.dgvAllDisplay.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128))); |
|
1854 |
this.dgvAllDisplay.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.Black; |
|
1855 |
this.dgvAllDisplay.RowTemplate.Height = 24; |
|
1856 |
this.dgvAllDisplay.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; |
|
1857 |
this.dgvAllDisplay.Size = new System.Drawing.Size(1310, 458); |
|
1858 |
this.dgvAllDisplay.TabIndex = 37; |
|
1859 |
this.dgvAllDisplay.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellEnter); |
|
1860 |
this.dgvAllDisplay.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValidated); |
|
1861 |
this.dgvAllDisplay.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAllDisplay_CellValueChanged); |
|
1862 |
// |
|
1877 | 1863 |
// dgvTransport02 |
1878 | 1864 |
// |
1879 | 1865 |
this.dgvTransport02.AllowUserToAddRows = false; |
... | ... | |
1882 | 1868 |
this.dgvTransport02.AllowUserToResizeRows = false; |
1883 | 1869 |
this.dgvTransport02.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); |
1884 | 1870 |
this.dgvTransport02.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; |
1885 |
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
1886 |
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
|
|
1887 |
dataGridViewCellStyle6.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
1888 |
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
1889 |
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
1890 |
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
1891 |
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
1892 |
this.dgvTransport02.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
|
|
1871 |
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
1872 |
dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
|
|
1873 |
dataGridViewCellStyle7.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
1874 |
dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
1875 |
dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
1876 |
dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
1877 |
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
1878 |
this.dgvTransport02.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
|
|
1893 | 1879 |
this.dgvTransport02.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; |
1894 | 1880 |
this.dgvTransport02.ColumnHeadersVisible = false; |
1895 | 1881 |
this.dgvTransport02.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
... | ... | |
1922 | 1908 |
// |
1923 | 1909 |
// dataGridViewTextBoxColumn1 |
1924 | 1910 |
// |
1925 |
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
1926 |
dataGridViewCellStyle7.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
|
|
1927 |
dataGridViewCellStyle7.ForeColor = System.Drawing.Color.Black;
|
|
1928 |
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle7;
|
|
1911 |
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
1912 |
dataGridViewCellStyle8.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
|
|
1913 |
dataGridViewCellStyle8.ForeColor = System.Drawing.Color.Black;
|
|
1914 |
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle8;
|
|
1929 | 1915 |
this.dataGridViewTextBoxColumn1.Frozen = true; |
1930 | 1916 |
this.dataGridViewTextBoxColumn1.HeaderText = "日"; |
1931 | 1917 |
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; |
... | ... | |
1944 | 1930 |
// |
1945 | 1931 |
// dataGridViewTextBoxColumn2 |
1946 | 1932 |
// |
1947 |
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
1948 |
dataGridViewCellStyle8.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
1949 |
dataGridViewCellStyle8.ForeColor = System.Drawing.Color.Black;
|
|
1950 |
this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle8;
|
|
1933 |
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
1934 |
dataGridViewCellStyle9.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
1935 |
dataGridViewCellStyle9.ForeColor = System.Drawing.Color.Black;
|
|
1936 |
this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle9;
|
|
1951 | 1937 |
this.dataGridViewTextBoxColumn2.Frozen = true; |
1952 | 1938 |
this.dataGridViewTextBoxColumn2.HeaderText = "事務所発"; |
1953 | 1939 |
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; |
... | ... | |
1956 | 1942 |
// |
1957 | 1943 |
// dataGridViewTextBoxColumn3 |
1958 | 1944 |
// |
1959 |
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
1960 |
dataGridViewCellStyle9.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
|
|
1961 |
dataGridViewCellStyle9.ForeColor = System.Drawing.Color.Black;
|
|
1962 |
this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle9;
|
|
1945 |
dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
1946 |
dataGridViewCellStyle10.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
|
|
1947 |
dataGridViewCellStyle10.ForeColor = System.Drawing.Color.Black;
|
|
1948 |
this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle10;
|
|
1963 | 1949 |
this.dataGridViewTextBoxColumn3.Frozen = true; |
1964 | 1950 |
this.dataGridViewTextBoxColumn3.HeaderText = "事務所着"; |
1965 | 1951 |
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; |
... | ... | |
1968 | 1954 |
// |
1969 | 1955 |
// dataGridViewTextBoxColumn4 |
1970 | 1956 |
// |
1971 |
dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
1972 |
dataGridViewCellStyle10.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
|
|
1973 |
dataGridViewCellStyle10.ForeColor = System.Drawing.Color.Black;
|
|
1974 |
this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle10;
|
|
1957 |
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
1958 |
dataGridViewCellStyle11.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
|
|
1959 |
dataGridViewCellStyle11.ForeColor = System.Drawing.Color.Black;
|
|
1960 |
this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle11;
|
|
1975 | 1961 |
this.dataGridViewTextBoxColumn4.Frozen = true; |
1976 | 1962 |
this.dataGridViewTextBoxColumn4.HeaderText = "当日計"; |
1977 | 1963 |
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; |
... | ... | |
2027 | 2013 |
this.dgvTransport01.AllowUserToResizeRows = false; |
2028 | 2014 |
this.dgvTransport01.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); |
2029 | 2015 |
this.dgvTransport01.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; |
2030 |
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
2031 |
dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control;
|
|
2032 |
dataGridViewCellStyle11.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
2033 |
dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
2034 |
dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
2035 |
dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
2036 |
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
2037 |
this.dgvTransport01.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11;
|
|
2016 |
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
2017 |
dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
|
|
2018 |
dataGridViewCellStyle12.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
2019 |
dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
2020 |
dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
2021 |
dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
2022 |
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
2023 |
this.dgvTransport01.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
|
|
2038 | 2024 |
this.dgvTransport01.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; |
2039 | 2025 |
this.dgvTransport01.ColumnHeadersVisible = false; |
2040 | 2026 |
this.dgvTransport01.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
... | ... | |
2067 | 2053 |
// |
2068 | 2054 |
// dataGridViewTextBoxColumn5 |
2069 | 2055 |
// |
2070 |
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
2071 |
dataGridViewCellStyle12.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
|
|
2072 |
dataGridViewCellStyle12.ForeColor = System.Drawing.Color.Black;
|
|
2073 |
this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle12;
|
|
2056 |
dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
2057 |
dataGridViewCellStyle13.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
|
|
2058 |
dataGridViewCellStyle13.ForeColor = System.Drawing.Color.Black;
|
|
2059 |
this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle13;
|
|
2074 | 2060 |
this.dataGridViewTextBoxColumn5.Frozen = true; |
2075 | 2061 |
this.dataGridViewTextBoxColumn5.HeaderText = "日"; |
2076 | 2062 |
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; |
... | ... | |
2089 | 2075 |
// |
2090 | 2076 |
// dataGridViewTextBoxColumn6 |
2091 | 2077 |
// |
2092 |
dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
2093 |
dataGridViewCellStyle13.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
2094 |
dataGridViewCellStyle13.ForeColor = System.Drawing.Color.Black;
|
|
2095 |
this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle13;
|
|
2078 |
dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
2079 |
dataGridViewCellStyle14.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
2080 |
dataGridViewCellStyle14.ForeColor = System.Drawing.Color.Black;
|
|
2081 |
this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle14;
|
|
2096 | 2082 |
this.dataGridViewTextBoxColumn6.Frozen = true; |
2097 | 2083 |
this.dataGridViewTextBoxColumn6.HeaderText = "事務所発"; |
2098 | 2084 |
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; |
... | ... | |
2101 | 2087 |
// |
2102 | 2088 |
// dataGridViewTextBoxColumn7 |
2103 | 2089 |
// |
2104 |
dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
2105 |
dataGridViewCellStyle14.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
|
|
2106 |
dataGridViewCellStyle14.ForeColor = System.Drawing.Color.Black;
|
|
2107 |
this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle14;
|
|
2090 |
dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
2091 |
dataGridViewCellStyle15.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
|
|
2092 |
dataGridViewCellStyle15.ForeColor = System.Drawing.Color.Black;
|
|
2093 |
this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle15;
|
|
2108 | 2094 |
this.dataGridViewTextBoxColumn7.Frozen = true; |
2109 | 2095 |
this.dataGridViewTextBoxColumn7.HeaderText = "事務所着"; |
2110 | 2096 |
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; |
... | ... | |
2113 | 2099 |
// |
2114 | 2100 |
// dataGridViewTextBoxColumn8 |
2115 | 2101 |
// |
2116 |
dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
2117 |
dataGridViewCellStyle15.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
|
|
2118 |
dataGridViewCellStyle15.ForeColor = System.Drawing.Color.Black;
|
|
2119 |
this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle15;
|
|
2102 |
dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
2103 |
dataGridViewCellStyle16.Font = new System.Drawing.Font("Century", 9F, System.Drawing.FontStyle.Bold);
|
|
2104 |
dataGridViewCellStyle16.ForeColor = System.Drawing.Color.Black;
|
|
2105 |
this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle16;
|
|
2120 | 2106 |
this.dataGridViewTextBoxColumn8.Frozen = true; |
2121 | 2107 |
this.dataGridViewTextBoxColumn8.HeaderText = "当日計"; |
2122 | 2108 |
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; |
... | ... | |
2164 | 2150 |
this.dataGridViewCheckBoxColumn7.Resizable = System.Windows.Forms.DataGridViewTriState.False; |
2165 | 2151 |
this.dataGridViewCheckBoxColumn7.Width = 60; |
2166 | 2152 |
// |
2167 |
// panel2
|
|
2153 |
// cmbDepartment
|
|
2168 | 2154 |
// |
2169 |
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
2170 |
this.panel2.BackColor = System.Drawing.Color.LemonChiffon; |
|
2171 |
this.panel2.Controls.Add(this.btnWorkingList); |
|
2172 |
this.panel2.Location = new System.Drawing.Point(1102, 3); |
|
2173 |
this.panel2.Name = "panel2"; |
|
2174 |
this.panel2.Size = new System.Drawing.Size(237, 34); |
|
2175 |
this.panel2.TabIndex = 106; |
|
2155 |
this.cmbDepartment.BackColor = System.Drawing.Color.White; |
|
2156 |
this.cmbDepartment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |
|
2157 |
this.cmbDepartment.FlatStyle = System.Windows.Forms.FlatStyle.Popup; |
|
2158 |
this.cmbDepartment.Font = new System.Drawing.Font("MS 明朝", 15.75F, System.Drawing.FontStyle.Bold); |
|
2159 |
this.cmbDepartment.FormattingEnabled = true; |
|
2160 |
this.cmbDepartment.Location = new System.Drawing.Point(437, 4); |
|
2161 |
this.cmbDepartment.Name = "cmbDepartment"; |
|
2162 |
this.cmbDepartment.Size = new System.Drawing.Size(260, 29); |
|
2163 |
this.cmbDepartment.TabIndex = 123; |
|
2164 |
this.cmbDepartment.TextChanged += new System.EventHandler(this.cmbDepartment_TextChanged); |
|
2165 |
this.cmbDepartment.Enter += new System.EventHandler(this.cmbDepartment_Enter); |
|
2176 | 2166 |
// |
2177 |
// btnWorkingList
|
|
2167 |
// cmbConstructionPerson
|
|
2178 | 2168 |
// |
2179 |
this.btnWorkingList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
2180 |
this.btnWorkingList.BackColor = System.Drawing.Color.DarkOrange;
|
|
2181 |
this.btnWorkingList.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
2182 |
this.btnWorkingList.ForeColor = System.Drawing.Color.Black;
|
|
2183 |
this.btnWorkingList.Location = new System.Drawing.Point(4, 4);
|
|
2184 |
this.btnWorkingList.Name = "btnWorkingList";
|
|
2185 |
this.btnWorkingList.Size = new System.Drawing.Size(230, 26);
|
|
2186 |
this.btnWorkingList.TabIndex = 12;
|
|
2187 |
this.btnWorkingList.Text = "作成状態を表示する";
|
|
2188 |
this.btnWorkingList.UseVisualStyleBackColor = false;
|
|
2189 |
this.btnWorkingList.Click += new System.EventHandler(this.btnWorkingList_Click);
|
|
2169 |
this.cmbConstructionPerson.BackColor = System.Drawing.Color.White;
|
|
2170 |
this.cmbConstructionPerson.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
2171 |
this.cmbConstructionPerson.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
|
2172 |
this.cmbConstructionPerson.Font = new System.Drawing.Font("MS 明朝", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
|
|
2173 |
this.cmbConstructionPerson.FormattingEnabled = true;
|
|
2174 |
this.cmbConstructionPerson.Location = new System.Drawing.Point(841, 4);
|
|
2175 |
this.cmbConstructionPerson.Name = "cmbConstructionPerson";
|
|
2176 |
this.cmbConstructionPerson.Size = new System.Drawing.Size(200, 29);
|
|
2177 |
this.cmbConstructionPerson.TabIndex = 124;
|
|
2178 |
this.cmbConstructionPerson.TextChanged += new System.EventHandler(this.cmbConstructionPerson_TextChanged);
|
|
2179 |
this.cmbConstructionPerson.Enter += new System.EventHandler(this.cmbConstructionPerson_Enter);
|
|
2190 | 2180 |
// |
2181 |
// comboBox1 |
|
2182 |
// |
他の形式にエクスポート: Unified diff