リビジョン 161
資材管理・請求管理データ選択一覧追加
| branches/src/ProcessManagement/ProcessManagement/Common/Process/ClsExcute.cs | ||
|---|---|---|
| 82 | 82 | SubConstrRegistList = 35, // 35:協力会社登録申請一覧 | 
| 83 | 83 | SubConstrRegist = 36, // 36:協力会社登録申請 | 
| 84 | 84 | PriceOfBudget = 37, // 37:台帳状況確認画面 | 
| 85 | MaterialEntrylList = 38, // 38:資材選択一覧 | |
| 86 | BillingEntrylList = 39, // 39:請求選択一覧 | |
| 85 | 87 | } | 
| 86 | 88 | #endregion | 
| 87 | 89 |  | 
| ... | ... | |
| 123 | 125 | } | 
| 124 | 126 | #endregion | 
| 125 | 127 |  | 
| 126 |         #region 起動プロセス処理番号(特殊処理)
 | |
| 128 |         #region 起動プロセス処理番号(サブフォーム)
 | |
| 127 | 129 | /// <summary> | 
| 128 |         /// 起動プロセス処理番号(特殊処理)
 | |
| 130 |         /// 起動プロセス処理番号(サブフォーム)
 | |
| 129 | 131 | /// </summary> | 
| 130 | 132 | public enum SubFormExecuteNo | 
| 131 | 133 |         {
 | 
| ... | ... | |
| 177 | 179 |                                                                                 { (int)ProcessExecuteNo.MaterialSelect,         "資材選択-入力"},
 | 
| 178 | 180 |                                                                                 { (int)ProcessExecuteNo.RequestSummaryList,     "請求まとめ-入力"},
 | 
| 179 | 181 |                                                                                 { (int)ProcessExecuteNo.PaymentConfirmation,    "入金確認-入力"},
 | 
| 180 |                                                                                 { (int)ProcessExecuteNo.RequestInput,           "請求入力-入力"},
 | |
| 182 |                                                                                 { (int)ProcessExecuteNo.RequestInput,           "請求データ作成-入力"},
 | |
| 181 | 183 |                                                                                 { (int)ProcessExecuteNo.RequestPrint,           "請求書-印刷"},
 | 
| 182 | 184 |                                                                                 { (int)ProcessExecuteNo.CostomerRegistList,     "発注者登録申請一覧-表示"},
 | 
| 183 | 185 |                                                                                 { (int)ProcessExecuteNo.CostomerRegist,         "発注者登録申請-入力"},
 | 
| 184 | 186 |                                                                                 { (int)ProcessExecuteNo.SubConstrRegistList,    "協力会社登録申請一覧-表示"},
 | 
| 185 | 187 |                                                                                 { (int)ProcessExecuteNo.SubConstrRegist,        "協力会社登録申請-入力"},
 | 
| 186 | 188 |                                                                                 { (int)ProcessExecuteNo.PriceOfBudget,          "工事台帳状態確認-表示"},
 | 
| 189 |                                                                                 { (int)ProcessExecuteNo.MaterialEntrylList,     "資材データ一覧-表示"},
 | |
| 190 |                                                                                 { (int)ProcessExecuteNo.BillingEntrylList,      "請求データ一覧-表示"},
 | |
| 191 |  | |
| 187 | 192 | }; | 
| 188 | 193 |  | 
| 189 | 194 | #endregion | 
| ... | ... | |
| 575 | 580 | ProcessExecuteNo_PaymentConfirmation(m_ProcControlPara[NowPoint]); | 
| 576 | 581 | break; | 
| 577 | 582 |  | 
| 578 |                         case (int)ProcessExecuteNo.RequestInput:                         // 31:請求入力
 | |
| 583 | case (int)ProcessExecuteNo.RequestInput: // 31:請求入力 | |
| 579 | 584 | ProcessExecuteNo_RequestInput(m_ProcControlPara[NowPoint]); | 
| 580 | 585 | break; | 
| 581 | 586 |  | 
| ... | ... | |
| 599 | 604 | ProcessExecuteNo_SubConstrRegist(m_ProcControlPara[NowPoint]); | 
| 600 | 605 | break; | 
| 601 | 606 |  | 
| 607 | case (int)ProcessExecuteNo.PriceOfBudget: // 37:台帳状況確認画面 | |
| 608 | break; | |
| 609 |  | |
| 610 | case (int)ProcessExecuteNo.MaterialEntrylList: // 38:資材選択一覧 | |
| 611 | ProcessExecuteNo_MaterialEntrylList(m_ProcControlPara[NowPoint]); | |
| 612 | break; | |
| 613 |  | |
| 614 | case (int)ProcessExecuteNo.BillingEntrylList: // 39:請求選択一覧 | |
| 615 | ProcessExecuteNo_BillingEntrylList(m_ProcControlPara[NowPoint]); | |
| 616 | break; | |
| 617 |  | |
| 602 | 618 | #endregion | 
| 603 | 619 |  | 
| 604 | 620 | #region マスタメンテ | 
| ... | ... | |
| 1973 | 1989 | /// <param name="CurrentPara"></param> | 
| 1974 | 1990 | public static void ProcessExecuteNo_MaterialReserveEntry(ProcessParameter CurrentPara) | 
| 1975 | 1991 |         {
 | 
| 1976 | // 工事案件選択画面 | |
| 1977 | FrmConstructionDiag frmCnstDlg = new FrmConstructionDiag(); | |
| 1978 |  | |
| 1979 | // 工事一覧の表示に必要なデータを設定(担当者コード、工事担当者検索) | |
| 1980 | frmCnstDlg.PersonCode = CommonMotions.LoginUserData.PersonCode; | |
| 1981 | frmCnstDlg.PersonCharge = (int)FrmConstructionDiag.PersonChargePoint.Construction; | |
| 1982 | frmCnstDlg.SelectType = (int)FrmConstructionDiag.SelectConstructionType.Ongoing; | |
| 1983 |  | |
| 1984 | // 工事案件選択画面のオープン | |
| 1985 | frmCnstDlg.ShowDialog(); | |
| 1986 |  | |
| 1987 | 1992 | // 資材貸出 | 
| 1988 | 1993 | FrmMaterialReserveEntry frm = new FrmMaterialReserveEntry(); | 
| 1989 | 1994 | try | 
| 1990 | 1995 |             {
 | 
| 1991 | int ProcessNo = (int)ProcessExecuteNo.MaterialReserveEntry; | |
| 1996 | // 自分のハンドルをリストへセットする | |
| 1997 | int ProcessNo = (int)ClsExcute.ProcessExecuteNo.MaterialReserveEntry; | |
| 1998 | ClsExcute.SubFormHandleList[ProcessNo].ProcessNo = ProcessNo; | |
| 1999 | ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle = (Form)frm; | |
| 1992 | 2000 |  | 
| 1993 | 2001 | // 起動・編集フラグ | 
| 1994 | 2002 | int EditFlg = (int)CommonDefine.ProcessDataEdit.Reference; | 
| 1995 |  | |
| 1996 | // 工事案件選択画面で選択された工事番号をセット | |
| 1997 | frm.ConstructionCode = frmCnstDlg.ConstructionCode; | |
| 1998 |  | |
| 1999 | 2003 | if (!ClsSecurityPermission.GetExecutePermission(ProcessNo, ref EditFlg)) | 
| 2000 | 2004 |                 {
 | 
| 2001 | 2005 | BackProcess(); | 
| 2002 | 2006 | return; | 
| 2003 | 2007 | } | 
| 2004 | 2008 |  | 
| 2009 | // パラメータセット | |
| 2010 | frm.ConstructionCode = CurrentPara.IntExecParameter[0]; | |
| 2011 |  | |
| 2005 | 2012 | if (EditFlg == (int)CommonDefine.ProcessDataEdit.Reference) frm.EditLock = true; | 
| 2006 | 2013 |  | 
| 2007 | 2014 | // フォーム表示 | 
| ... | ... | |
| 2026 | 2033 | /// <param name="CurrentPara"></param> | 
| 2027 | 2034 | public static void ProcessExecuteNo_MaterialReturnEntry(ProcessParameter CurrentPara) | 
| 2028 | 2035 |         {
 | 
| 2029 | // 工事案件選択画面 | |
| 2030 | FrmConstructionDiag frmCnstDlg = new FrmConstructionDiag(); | |
| 2031 |  | |
| 2032 | // 工事一覧の表示に必要なデータを設定(担当者コード、工事担当者検索) | |
| 2033 | frmCnstDlg.PersonCode = CommonMotions.LoginUserData.PersonCode; | |
| 2034 | frmCnstDlg.PersonCharge = (int)FrmConstructionDiag.PersonChargePoint.Construction; | |
| 2035 | frmCnstDlg.SelectType = (int)FrmConstructionDiag.SelectConstructionType.Ongoing; | |
| 2036 |  | |
| 2037 | // 工事案件選択画面のオープン | |
| 2038 | frmCnstDlg.ShowDialog(); | |
| 2039 |  | |
| 2040 | 2036 | // 資材返却 | 
| 2041 | 2037 | FrmMaterialReturnEntry frm = new FrmMaterialReturnEntry(); | 
| 2042 | 2038 |  | 
| 2043 | 2039 | try | 
| 2044 | 2040 |             {
 | 
| 2045 | int ProcessNo = (int)ProcessExecuteNo.MaterialReturnEntry; | |
| 2041 | // 自分のハンドルをリストへセットする | |
| 2042 | int ProcessNo = (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry; | |
| 2043 | ClsExcute.SubFormHandleList[ProcessNo].ProcessNo = ProcessNo; | |
| 2044 | ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle = (Form)frm; | |
| 2046 | 2045 |  | 
| 2047 | 2046 | // 起動・編集フラグ | 
| 2048 | 2047 | int EditFlg = (int)CommonDefine.ProcessDataEdit.Reference; | 
| 2049 |  | |
| 2050 | // 工事案件選択画面で選択された工事番号をセット | |
| 2051 | frm.ConstructionCode = frmCnstDlg.ConstructionCode; | |
| 2052 |  | |
| 2053 | 2048 | if (!ClsSecurityPermission.GetExecutePermission(ProcessNo, ref EditFlg)) | 
| 2054 | 2049 |                 {
 | 
| 2055 | 2050 | BackProcess(); | 
| 2056 | 2051 | return; | 
| 2057 | 2052 | } | 
| 2053 | if (EditFlg == (int)CommonDefine.ProcessDataEdit.Reference) frm.EditLock = true; | |
| 2058 | 2054 |  | 
| 2055 | // パラメータセット | |
| 2056 | frm.ConstructionCode = CurrentPara.IntExecParameter[0]; | |
| 2057 |  | |
| 2059 | 2058 | if (EditFlg == (int)CommonDefine.ProcessDataEdit.Reference) frm.EditLock = true; | 
| 2060 | 2059 |  | 
| 2061 | 2060 | // フォーム表示 | 
| ... | ... | |
| 2121 | 2120 | public static void ProcessExecuteNo_RequestInput(ProcessParameter CurrentPara) | 
| 2122 | 2121 |         {
 | 
| 2123 | 2122 |  | 
| 2124 | int nConstructionCode = 0; | |
| 2125 | bool bEdit = true; | |
| 2126 |  | |
| 2127 | if( CurrentPara.BoolExecParameter[0] == false ) | |
| 2128 |             {
 | |
| 2129 |  | |
| 2130 | // 工事案件選択画面 | |
| 2131 | FrmConstructionDiag frmCnstDlg = new FrmConstructionDiag(); | |
| 2132 |  | |
| 2133 | // 工事一覧の表示に必要なデータを設定(担当者コード、工事担当者検索) | |
| 2134 | frmCnstDlg.PersonCode = CommonMotions.LoginUserData.PersonCode; | |
| 2135 | frmCnstDlg.PersonCharge = (int)FrmConstructionDiag.PersonChargePoint.Construction; | |
| 2136 | frmCnstDlg.SelectType = CurrentPara.IntExecParameter[3]; | |
| 2137 |  | |
| 2138 | // 工事案件選択画面のオープン | |
| 2139 | frmCnstDlg.ShowDialog(); | |
| 2140 |  | |
| 2141 | nConstructionCode = frmCnstDlg.ConstructionCode; | |
| 2142 |  | |
| 2143 | frmCnstDlg.Dispose(); | |
| 2144 | frmCnstDlg = null; | |
| 2145 |  | |
| 2146 | } | |
| 2147 |             else{
 | |
| 2148 | nConstructionCode = CurrentPara.IntExecParameter[0]; | |
| 2149 |  | |
| 2150 | bEdit = false; | |
| 2151 | } | |
| 2152 |  | |
| 2153 |  | |
| 2154 | // 工事番号を取得できなかった場合 | |
| 2155 | if (0 == nConstructionCode) | |
| 2156 |             {
 | |
| 2157 | ClsExcute.BackProcess(); | |
| 2158 | return; | |
| 2159 | } | |
| 2160 |  | |
| 2161 | 2123 | // 請求入力画面 | 
| 2162 | 2124 | FrmRequestInput frm = new FrmRequestInput(); | 
| 2163 | 2125 |  | 
| 2164 | 2126 | try | 
| 2165 | 2127 |             {
 | 
| 2128 | // 自分のハンドルをリストへセットする | |
| 2129 | int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput; | |
| 2130 | ClsExcute.SubFormHandleList[ProcessNo].ProcessNo = ProcessNo; | |
| 2131 | ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle = (Form)frm; | |
| 2166 | 2132 |  | 
| 2167 | // 工事案件選択画面で選択された工事番号をセット | |
| 2168 | frm.ConstructionCode = nConstructionCode; | |
| 2169 | frm.ApprovalCode = CurrentPara.IntExecParameter[1]; | |
| 2170 | frm.OrderNo = CurrentPara.IntExecParameter[2]; | |
| 2171 | frm.EditFlg = bEdit; | |
| 2133 | // 起動・編集フラグ | |
| 2134 | int EditFlg = (int)CommonDefine.ProcessDataEdit.Reference; | |
| 2135 | if (!ClsSecurityPermission.GetExecutePermission(ProcessNo, ref EditFlg)) | |
| 2136 |                 {
 | |
| 2137 | BackProcess(); | |
| 2138 | return; | |
| 2139 | } | |
| 2172 | 2140 |  | 
| 2173 | // 請求入力の表示 | |
| 2141 | // パラメータセット | |
| 2142 | frm.ConstructionCode = CurrentPara.IntExecParameter[0]; | |
| 2143 | frm.ApprovalCode = 0; | |
| 2144 | frm.OrderNo = CurrentPara.IntExecParameter[1]; | |
| 2145 | frm.EditFlg = false; | |
| 2146 |  | |
| 2147 | //if (EditFlg == (int)CommonDefine.ProcessDataEdit.Reference) frm.EditLock = true; | |
| 2148 |  | |
| 2149 | // フォーム表示 | |
| 2174 | 2150 | frm.ShowDialog(); | 
| 2175 |  | |
| 2176 | 2151 | } | 
| 2177 | 2152 | catch (Exception ex) | 
| 2178 | 2153 |             {
 | 
| ... | ... | |
| 2413 | 2388 | } | 
| 2414 | 2389 | #endregion | 
| 2415 | 2390 |  | 
| 2391 | #region 資材選択一覧 | |
| 2392 | /// <summary> | |
| 2393 | /// 資材選択一覧 | |
| 2394 | /// </summary> | |
| 2395 | /// <returns></returns> | |
| 2396 | public static void ProcessExecuteNo_MaterialEntrylList(ProcessParameter CurrentPara) | |
| 2397 |         {
 | |
| 2398 | // 資材選択一覧 | |
| 2399 | FrmConstrMATLList frm = new FrmConstrMATLList(); | |
| 2400 | try | |
| 2401 |             {
 | |
| 2402 | // 次起動プロセスが設定されていない場合は終了 | |
| 2403 | if (CurrentPara.IntExecParameter[0] == 0) | |
| 2404 |                 {
 | |
| 2405 | // 前プロセスに戻る | |
| 2406 | BackProcess(); | |
| 2407 | return; | |
| 2408 | } | |
| 2409 |  | |
| 2410 | // 次起動プロセスセット | |
| 2411 | frm.ExecuteFlg = CurrentPara.IntExecParameter[0]; | |
| 2412 |  | |
| 2413 | // フォーム表示 | |
| 2414 | frm.ShowDialog(); | |
| 2415 |  | |
| 2416 | } | |
| 2417 | catch (Exception ex) | |
| 2418 |             {
 | |
| 2419 |                 logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
 | |
| 2420 | BackProcess(); | |
| 2421 | } | |
| 2422 | finally | |
| 2423 |             {
 | |
| 2424 | frm.Dispose(); frm = null; | |
| 2425 | } | |
| 2426 | } | |
| 2416 | 2427 | #endregion | 
| 2417 | 2428 |  | 
| 2429 | #region 請求選択一覧 | |
| 2430 | /// <summary> | |
| 2431 | /// 請求選択一覧 | |
| 2432 | /// </summary> | |
| 2433 | /// <returns></returns> | |
| 2434 | public static void ProcessExecuteNo_BillingEntrylList(ProcessParameter CurrentPara) | |
| 2435 |         {
 | |
| 2436 | // 請求選択一覧 | |
| 2437 | FrmConstrReqList frm = new FrmConstrReqList(); | |
| 2438 | try | |
| 2439 |             {
 | |
| 2440 | // 次起動プロセスが設定されていない場合は終了 | |
| 2441 | if (CurrentPara.IntExecParameter[0] == 0) | |
| 2442 |                 {
 | |
| 2443 | // 前プロセスに戻る | |
| 2444 | BackProcess(); | |
| 2445 | return; | |
| 2446 | } | |
| 2447 |  | |
| 2448 | // 次起動プロセスセット | |
| 2449 | frm.ExecuteFlg = CurrentPara.IntExecParameter[0]; | |
| 2450 | frm.ExecuteSubFlg = CurrentPara.IntExecParameter[1]; | |
| 2451 |  | |
| 2452 | // フォーム表示 | |
| 2453 | frm.ShowDialog(); | |
| 2454 |  | |
| 2455 | } | |
| 2456 | catch (Exception ex) | |
| 2457 |             {
 | |
| 2458 |                 logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
 | |
| 2459 | BackProcess(); | |
| 2460 | } | |
| 2461 | finally | |
| 2462 |             {
 | |
| 2463 | frm.Dispose(); frm = null; | |
| 2464 | } | |
| 2465 | } | |
| 2466 | #endregion | |
| 2467 |  | |
| 2468 | #endregion | |
| 2469 |  | |
| 2418 | 2470 | #region マスタメンテナンス | 
| 2419 | 2471 | // ----------------- メンテナンス起動 | 
| 2420 | 2472 | #region 管理マスタ | 
| branches/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOMSystem.cs | ||
|---|---|---|
| 50 | 50 | OPERATINGEXPENSES, | 
| 51 | 51 | CONSUMPTIONTAX, | 
| 52 | 52 | COOPERATIONRATE, | 
| 53 | STATUTORYWELFARERATE, | |
| 53 | 54 | EXCELSAVEPATH, | 
| 54 | 55 | BUSINESSPERIOD, | 
| 55 | 56 | ConstructionYear, | 
| ... | ... | |
| 103 | 104 | strcmd += ", OperatingExpenses"; | 
| 104 | 105 | strcmd += ", ConsumptionTax"; | 
| 105 | 106 | strcmd += ", CooperationRate"; | 
| 107 | strcmd += ", StatutoryWelfareRate"; | |
| 106 | 108 | strcmd += ", ExcelSavePath"; | 
| 107 | 109 | strcmd += ", BusinessPeriod"; | 
| 108 | 110 | strcmd += ", ConstructionYear"; | 
| ... | ... | |
| 243 | 245 |                     strcmd += string.Format(", {0}", work.OperatingExpenses);
 | 
| 244 | 246 |                     strcmd += string.Format(", {0}", work.ConsumptionTax);
 | 
| 245 | 247 |                     strcmd += string.Format(", {0}", work.CooperationRate);
 | 
| 248 |                     strcmd += string.Format(", {0}", work.StatutoryWelfareRate);
 | |
| 246 | 249 |                     strcmd += string.Format(",'{0}'", work.ExcelSavePath);
 | 
| 247 | 250 |  | 
| 248 | 251 |                     strcmd += string.Format(", {0}", work.BusinessPeriod);
 | 
| ... | ... | |
| 291 | 294 |  | 
| 292 | 295 | strcmd += " SET"; | 
| 293 | 296 |  | 
| 294 | strcmd += " SystemCode = " + data.SystemCode.ToString(); | |
| 295 | strcmd += " ,CompanyName1 = '" + data.CompanyName1 + "'"; | |
| 296 | strcmd += " ,CompanyName2 = '" + data.CompanyName2 + "'"; | |
| 297 | strcmd += " ,CEOName = '" + data.CEOName + "'"; | |
| 298 | strcmd += " ,CEOPositionName = '" + data.CEOPositionName + "'"; | |
| 299 | strcmd += " ,ZipCode = '" + data.ZipCode + "'"; | |
| 300 | strcmd += " ,Address1 = '" + data.Address1 + "'"; | |
| 301 | strcmd += " ,Address2 = '" + data.Address2 + "'"; | |
| 302 | strcmd += " ,Address3 = '" + data.Address3 + "'"; | |
| 303 | strcmd += " ,PhoneNumber = '" + data.PhoneNumber + "'"; | |
| 304 | strcmd += " ,FaxNumber = '" + data.FaxNumber + "'"; | |
| 305 | strcmd += " ,ConstructionExpenses = " + data.ConstructionExpenses.ToString(); | |
| 306 | strcmd += " ,OfficeExpenses = " + data.OfficeExpenses.ToString(); | |
| 307 | strcmd += " ,OperatingExpenses = " + data.OperatingExpenses.ToString(); | |
| 308 | strcmd += " ,ConsumptionTax = " + data.ConsumptionTax.ToString(); | |
| 309 | strcmd += " ,CooperationRate = " + data.CooperationRate.ToString(); | |
| 310 | strcmd += " ,ExcelSavePath = '" + data.ExcelSavePath + "'"; | |
| 311 |  | |
| 312 | strcmd += " ,BusinessPeriod = " + data.BusinessPeriod.ToString(); | |
| 313 | strcmd += " ,ConstructionYear = " + data.ConstructionYear.ToString(); | |
| 314 | strcmd += " ,BusinessBeginningDate = '" + data.BusinessBeginningDate + "'"; | |
| 315 | strcmd += " ,ConstructionBeginningDate = '" + data.ConstructionBeginningDate + "'"; | |
| 316 | strcmd += " ,ConstructionNoBase = " + data.ConstructionNoBase.ToString(); | |
| 297 |                 strcmd += string.Format("  SystemCode = {0}", data.SystemCode);
 | |
| 298 |                 strcmd += string.Format(", CompanyName1 = '{0}'", data.CompanyName1);
 | |
| 299 |                 strcmd += string.Format(", CompanyName2 = '{0}'", data.CompanyName2);
 | |
| 300 |                 strcmd += string.Format(", CEOName = '{0}'", data.CEOName);
 | |
| 301 |                 strcmd += string.Format(", CEOPositionName = '{0}'", data.CEOPositionName);
 | |
| 302 |                 strcmd += string.Format(", ZipCode = '{0}'", data.ZipCode);
 | |
| 303 |                 strcmd += string.Format(", Address1 = '{0}'", data.Address1);
 | |
| 304 |                 strcmd += string.Format(", Address2 = '{0}'", data.Address2);
 | |
| 305 |                 strcmd += string.Format(", Address3 = '{0}'", data.Address3);
 | |
| 306 |                 strcmd += string.Format(", PhoneNumber = '{0}'", data.PhoneNumber);
 | |
| 307 |                 strcmd += string.Format(", FaxNumber = '{0}'", data.FaxNumber);
 | |
| 308 |                 strcmd += string.Format(", ConstructionExpenses = {0}", data.ConstructionExpenses);
 | |
| 309 |                 strcmd += string.Format(", OfficeExpenses = {0}", data.OfficeExpenses);
 | |
| 310 |                 strcmd += string.Format(", OperatingExpenses = {0}", data.OperatingExpenses);
 | |
| 311 |                 strcmd += string.Format(", ConsumptionTax = {0}", data.ConsumptionTax);
 | |
| 312 |                 strcmd += string.Format(", CooperationRate = {0}", data.CooperationRate);
 | |
| 313 |                 strcmd += string.Format(", StatutoryWelfareRate = {0}", data.StatutoryWelfareRate);
 | |
| 314 |                 strcmd += string.Format(", ExcelSavePath = '{0}'", data.ExcelSavePath);
 | |
| 317 | 315 |  | 
| 318 | strcmd += " ,SloganString1 = '" + data.SloganString1 + "'"; | |
| 319 | strcmd += " ,SloganString2 = '" + data.SloganString2 + "'"; | |
| 320 | strcmd += " ,SloganString3 = '" + data.SloganString3 + "'"; | |
| 316 |                 strcmd += string.Format(", BusinessPeriod = {0}", data.BusinessPeriod);
 | |
| 317 |                 strcmd += string.Format(", ConstructionYear = {0}", data.ConstructionYear);
 | |
| 318 |                 strcmd += string.Format(", BusinessBeginningDate = '{0}'", data.BusinessBeginningDate);
 | |
| 319 |                 strcmd += string.Format(", ConstructionBeginningDate = '{0}'", data.ConstructionBeginningDate);
 | |
| 320 |                 strcmd += string.Format(", ConstructionNoBase = {0}", data.ConstructionNoBase);
 | |
| 321 | 321 |  | 
| 322 |                 strcmd += string.Format(", SloganString1 = '{0}'", data.SloganString1);
 | |
| 323 |                 strcmd += string.Format(", SloganString2 = '{0}'", data.SloganString2);
 | |
| 324 |                 strcmd += string.Format(", SloganString3 = '{0}'", data.SloganString3);
 | |
| 325 |  | |
| 322 | 326 | strcmd += ", UpdateDate = NOW()"; | 
| 323 | 327 | strcmd += AddSQLString; | 
| 324 | 328 |  | 
| ... | ... | |
| 387 | 391 | wrk.OperatingExpenses = CommonMotions.cnvDouble(objwrk[(int)SystemColumn.OPERATINGEXPENSES]); | 
| 388 | 392 | wrk.ConsumptionTax = CommonMotions.cnvDouble(objwrk[(int)SystemColumn.CONSUMPTIONTAX]); | 
| 389 | 393 | wrk.CooperationRate = CommonMotions.cnvDouble(objwrk[(int)SystemColumn.COOPERATIONRATE]); | 
| 394 | wrk.StatutoryWelfareRate = CommonMotions.cnvDouble(objwrk[(int)SystemColumn.STATUTORYWELFARERATE]); | |
| 390 | 395 | wrk.ExcelSavePath = objwrk[(int)SystemColumn.EXCELSAVEPATH].ToString(); | 
| 391 | 396 |  | 
| 392 | 397 | wrk.BusinessPeriod = int.Parse(objwrk[(int)SystemColumn.BUSINESSPERIOD].ToString()); | 
| branches/src/ProcessManagement/ProcessManagement/DataModel/SystemMaster.cs | ||
|---|---|---|
| 26 | 26 | private double m_OfficeExpenses = 0; // 事務所経費 | 
| 27 | 27 | private double m_OperatingExpenses = 0; // 営業経費 | 
| 28 | 28 | private double m_ConsumptionTax = 0; // 消費税 | 
| 29 | private double m_CooperationRate = 0.5; // 協力金比率 | |
| 30 | private double m_StatutoryWelfareRate = 8.0; // 法定福利費 | |
| 29 | 31 |  | 
| 30 | 32 | private string m_ExcelSavePath = string.Empty; // Excel保存パス | 
| 31 | 33 |  | 
| ... | ... | |
| 42 | 44 | private DateTime m_EntryDate = DateTime.Now; // 登録日付 | 
| 43 | 45 | private DateTime m_UpdateDate = DateTime.Now; // 更新日付 | 
| 44 | 46 |  | 
| 45 | private double m_CooperationRate = 0.5; // 協力金比率 | |
| 46 |  | |
| 47 | 47 | #endregion | 
| 48 | 48 |  | 
| 49 | 49 | #region コンストラクタ | 
| ... | ... | |
| 171 | 171 |             get { return m_ConsumptionTax; }
 | 
| 172 | 172 | } | 
| 173 | 173 | /// <summary> | 
| 174 | /// 協力金比率 | |
| 175 | /// </summary> | |
| 176 | public double CooperationRate | |
| 177 |         {
 | |
| 178 |             set { m_CooperationRate = value; }
 | |
| 179 |             get { return m_CooperationRate; }
 | |
| 180 | } | |
| 181 | /// <summary> | |
| 182 | /// 法定福利費 | |
| 183 | /// </summary> | |
| 184 | public double StatutoryWelfareRate | |
| 185 |         {
 | |
| 186 |             get { return m_StatutoryWelfareRate; }
 | |
| 187 |             set { m_StatutoryWelfareRate = value; }
 | |
| 188 | } | |
| 189 | /// <summary> | |
| 174 | 190 | /// Excel保存パス | 
| 175 | 191 | /// </summary> | 
| 176 | 192 | public string ExcelSavePath | 
| ... | ... | |
| 260 | 276 |             get { return m_UpdateDate; }
 | 
| 261 | 277 | } | 
| 262 | 278 |  | 
| 263 | /// <summary> | |
| 264 | /// 協力金比率 | |
| 265 | /// </summary> | |
| 266 | public double CooperationRate | |
| 267 |         {
 | |
| 268 |             set { m_CooperationRate = value; }
 | |
| 269 |             get { return m_CooperationRate; }
 | |
| 270 | } | |
| 271 |  | |
| 272 | 279 | #endregion | 
| 273 | 280 | } | 
| 274 | 281 | } | 
| branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstractionList/FrmConstructionListAuxiliary.cs | ||
|---|---|---|
| 112 | 112 | /// <param name="para_ConstructionCode"></param> | 
| 113 | 113 | private void SubProcessExecute(int para_ConstructionCode = 0, int para_OrderNo = 0) | 
| 114 | 114 |         {
 | 
| 115 | IOConstructionBaseInfo cbiDB = new IOConstructionBaseInfo(); | |
| 116 | 115 | try | 
| 117 | 116 |             {
 | 
| 118 | 117 | DataGridView dgv = dgvMaster; | 
| ... | ... | |
| 159 | 158 | } | 
| 160 | 159 | finally | 
| 161 | 160 |             {
 | 
| 162 | cbiDB.close(); cbiDB = null; | |
| 163 | 161 | // ?N???[?Y??????OFF?????B | 
| 164 | 162 | m_CloseingProcessOff = true; | 
| 165 | 163 | // ???N???[?Y | 
| ... | ... | |
| 887 | 885 | int StatusFlg = -1; | 
| 888 | 886 | bool initFlg = true; | 
| 889 | 887 | string FlgString = string.Empty; | 
| 890 |                 string[] strSalesDepName = new string[2];
 | |
| 891 |                 string[] strSalesName = new string[2];
 | |
| 892 |                 string[] strConstDepName = new string[2];
 | |
| 893 |                 string[] strConstName = new string[2];
 | |
| 888 |                 string strSalesDepName = string.Empty;
 | |
| 889 |                 string strSalesName = string.Empty;
 | |
| 890 |                 string strConstDepName = string.Empty;
 | |
| 891 |                 string strConstName = string.Empty;
 | |
| 894 | 892 | string strStatus = string.Empty; | 
| 895 | 893 | string strConstrName = string.Empty; | 
| 896 | 894 | int ConstrCode = 0; | 
| ... | ... | |
| 933 | 931 | initFlg = false; | 
| 934 | 932 | } | 
| 935 | 933 |  | 
| 936 | if (!CommonMotions.cnvString(objwrk[(int)GetData.SALESDEPNAME]).Equals(strSalesDepName[0])) | |
| 937 |                     {
 | |
| 938 | strSalesDepName[0] = CommonMotions.cnvString(objwrk[(int)GetData.SALESDEPNAME]); | |
| 939 | strSalesDepName[1] = CommonMotions.cnvString(objwrk[(int)GetData.SALESDEPNAME]); | |
| 940 | } | |
| 941 | if (!CommonMotions.cnvString(objwrk[(int)GetData.SALESNAME]).Equals(strSalesName[0])) | |
| 942 |                     {
 | |
| 943 | strSalesName[0] = CommonMotions.cnvString(objwrk[(int)GetData.SALESNAME]); | |
| 944 | strSalesName[1] = CommonMotions.cnvString(objwrk[(int)GetData.SALESNAME]); | |
| 945 | } | |
| 946 | if (!CommonMotions.cnvString(objwrk[(int)GetData.CONSTDEPNAME]).Equals(strConstDepName[0])) | |
| 947 |                     {
 | |
| 948 | strConstDepName[0] = CommonMotions.cnvString(objwrk[(int)GetData.CONSTDEPNAME]); | |
| 949 | strConstDepName[1] = CommonMotions.cnvString(objwrk[(int)GetData.CONSTDEPNAME]); | |
| 950 | } | |
| 951 | if (!CommonMotions.cnvString(objwrk[(int)GetData.CONSTNAME]).Equals(strConstName[0])) | |
| 952 |                     {
 | |
| 953 | strConstName[0] = CommonMotions.cnvString(objwrk[(int)GetData.CONSTNAME]); | |
| 954 | strConstName[1] = CommonMotions.cnvString(objwrk[(int)GetData.CONSTNAME]); | |
| 955 | } | |
| 934 | strSalesDepName = CommonMotions.cnvString(objwrk[(int)GetData.SALESDEPNAME]); | |
| 935 | strSalesName = CommonMotions.cnvString(objwrk[(int)GetData.SALESNAME]); | |
| 936 | strConstDepName = CommonMotions.cnvString(objwrk[(int)GetData.CONSTDEPNAME]); | |
| 937 | strConstName = CommonMotions.cnvString(objwrk[(int)GetData.CONSTNAME]); | |
| 956 | 938 |  | 
| 957 | 939 | dgv.Rows.Add((ino++) | 
| 958 |                                         , strSalesDepName[1]
 | |
| 959 |                                         , strSalesName[1]
 | |
| 960 |                                         , strConstDepName[1]
 | |
| 961 |                                         , strConstName[1]
 | |
| 940 | , strSalesDepName | |
| 941 | , strSalesName | |
| 942 | , strConstDepName | |
| 943 | , strConstName | |
| 962 | 944 | , strConstrName | 
| 963 | 945 | , strStatus | 
| 964 | 946 | , FlgString | 
| ... | ... | |
| 1078 | 1060 | } | 
| 1079 | 1061 |  | 
| 1080 | 1062 | // ?f?[?^??????????\?[?g????? | 
| 1081 |                 if (CommonDefine.s_MaxInitLineCount < dgvMaster.RowCount)
 | |
| 1063 |                 if (CommonDefine.s_MaxInitLineCount < arData.Count)
 | |
| 1082 | 1064 |                 {
 | 
| 1083 | 1065 | foreach (DataGridViewColumn wrkCol in dgvMaster.Columns) | 
| 1084 | 1066 | wrkCol.SortMode = DataGridViewColumnSortMode.Automatic; | 
| ... | ... | |
| 1097 | 1079 | finally | 
| 1098 | 1080 |             {
 | 
| 1099 | 1081 | cbiDB.close(); cbiDB = null; | 
| 1100 | if (21 > dgvMaster.RowCount) dgvMaster.RowCount += (21 - dgvMaster.RowCount); | |
| 1082 | if (CommonDefine.s_MaxInitLineCount > dgvMaster.RowCount) | |
| 1083 | dgvMaster.RowCount += (CommonDefine.s_MaxInitLineCount - dgvMaster.RowCount); | |
| 1101 | 1084 | } | 
| 1102 | 1085 | } | 
| 1103 | 1086 | #endregion | 
| branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/ConstrMATLList/FrmConstrMATLList.cs | ||
|---|---|---|
| 1 | using System; | |
| 2 | using System.Collections.Generic; | |
| 3 | using System.ComponentModel; | |
| 4 | using System.Data; | |
| 5 | using System.Drawing; | |
| 6 | using System.Text; | |
| 7 | using System.Windows.Forms; | |
| 8 | using System.Collections; | |
| 9 |  | |
| 10 | using log4net; | |
| 11 | using log4net.Appender; | |
| 12 | using log4net.Repository.Hierarchy; | |
| 13 |  | |
| 14 | using ProcessManagement.Common; | |
| 15 | using ProcessManagement.DB.IOAccess; | |
| 16 | using ProcessManagement.DataModel; | |
| 17 | using ProcessManagement.DB.Core; | |
| 18 | using ProcessManagement.Forms.CustomControls; | |
| 19 | using ProcessManagement.Forms.ControlsAction; | |
| 20 | //*---------------------------- ????H????????? --------------------------* | |
| 21 | // 2017/05/25 Ver1.0.0.0 Create Source | |
| 22 | // | |
| 23 | // | |
| 24 | // | |
| 25 | //*----------------------------------------------------------------------------* | |
| 26 | namespace ProcessManagement.Forms.DataEntry | |
| 27 | {
 | |
| 28 | public partial class FrmConstrMATLList : Form | |
| 29 |     {
 | |
| 30 | #region ?g?p??` | |
| 31 | //log4net???O???g?p???? | |
| 32 | private static readonly log4net.ILog logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | |
| 33 | #endregion | |
| 34 |  | |
| 35 | #region ?? | |
| 36 | /// <summary> | |
| 37 | /// ?\???J???? | |
| 38 | /// </summary> | |
| 39 | private enum DispColumn | |
| 40 |         {
 | |
| 41 | No = 0, | |
| 42 | SalesDepartment, | |
| 43 | SalesPerson, | |
| 44 | ConstructionDepartment, | |
| 45 | ConstructionPerson, | |
| 46 | ConstructionName, | |
| 47 | Status, | |
| 48 | ConstructionPeriod, | |
| 49 | ConstructionCode, | |
| 50 | OrderNo, | |
| 51 | MatarilMark, | |
| 52 | } | |
| 53 |  | |
| 54 | #endregion | |
| 55 |  | |
| 56 | #region ??? | |
| 57 |  | |
| 58 | /// <summary> | |
| 59 | /// ???????t???O | |
| 60 | /// </summary> | |
| 61 | private bool m_initDataLoad = true; | |
| 62 |  | |
| 63 | /// <summary> | |
| 64 | /// ?N???t???O | |
| 65 | /// </summary> | |
| 66 | private int m_ExecuteFlg = 0; | |
| 67 |  | |
| 68 | /// <summary> | |
| 69 |         /// ?f?[?^????{?^???\???t???O
 | |
| 70 | /// </summary> | |
| 71 | private bool m_DataAddtionButton = false; | |
| 72 | /// <summary> | |
| 73 |         /// ?I???{?^???????t???O
 | |
| 74 | /// </summary> | |
| 75 | private bool m_CloseingProcessOff = false; | |
| 76 |  | |
| 77 | /// <summary> | |
| 78 | /// Cell???T?C?Y | |
| 79 | /// </summary> | |
| 80 | private int[] m_CellSize; | |
| 81 |  | |
| 82 | #region ?t?H?[???? | |
| 83 | /// <summary> | |
| 84 | /// ?t?H?[???? | |
| 85 | /// </summary> | |
| 86 | private int m_FormWidthSize = 0; | |
| 87 | #endregion | |
| 88 |  | |
| 89 | #region ?O???b?h???T?C?Y | |
| 90 | /// <summary> | |
| 91 | /// ?O???b?h???T?C?Y | |
| 92 | /// </summary> | |
| 93 | private int m_GridWidthSize = 0; | |
| 94 | #endregion | |
| 95 |  | |
| 96 | /// <summary> | |
| 97 | /// ?????H????? | |
| 98 | /// </summary> | |
| 99 | private int m_ConstructionCode = 0; | |
| 100 | #endregion | |
| 101 |  | |
| 102 | #region ?v???p?e?B | |
| 103 | /// <summary> | |
| 104 | /// ?N???t???O | |
| 105 | /// </summary> | |
| 106 | public int ExecuteFlg | |
| 107 |         {
 | |
| 108 |             get { return m_ExecuteFlg; }
 | |
| 109 |             set { m_ExecuteFlg = value; }
 | |
| 110 | } | |
| 111 | /// <summary> | |
| 112 |         /// ?f?[?^????{?^???\??
 | |
| 113 | /// </summary> | |
| 114 | public bool DataAddtionButton | |
| 115 |         {
 | |
| 116 |             get { return m_DataAddtionButton; }
 | |
| 117 |             set { m_DataAddtionButton = value; }
 | |
| 118 | } | |
| 119 | /// <summary> | |
| 120 | /// ?????H????? | |
| 121 | /// </summary> | |
| 122 | public int ConstructionCode | |
| 123 |         {
 | |
| 124 |             get { return m_ConstructionCode; }
 | |
| 125 | } | |
| 126 | #endregion | |
| 127 |  | |
| 128 | #region ?R???X?g???N?^ | |
| 129 | public FrmConstrMATLList() | |
| 130 |         {
 | |
| 131 | InitializeComponent(); | |
| 132 | } | |
| 133 | #endregion | |
| 134 | #region ?f?X?g???N?^ | |
| 135 | ~FrmConstrMATLList() | |
| 136 |         {
 | |
| 137 | try | |
| 138 |             {
 | |
| 139 | GC.Collect(); | |
| 140 | } | |
| 141 | catch (Exception ex) | |
| 142 |             {
 | |
| 143 |                 logger.ErrorFormat("?V?X?e???G???[?F{0}?F{1}", CommonMotions.GetMethodName(), ex.Message);
 | |
| 144 | } | |
| 145 | } | |
| 146 | #endregion | |
| 147 |  | |
| 148 |         #region ?~?{?^??
 | |
| 149 | /// <summary> | |
| 150 |         /// ?~?{?^??????????
 | |
| 151 | /// </summary> | |
| 152 | /// <param name="sender"></param> | |
| 153 | /// <param name="e"></param> | |
| 154 | private void FrmConstructionList_FormClosing(object sender, FormClosingEventArgs e) | |
| 155 |         {
 | |
| 156 | if (m_CloseingProcessOff) return; | |
| 157 |  | |
| 158 | // ?O?v???Z?X???? | |
| 159 | ClsExcute.BackProcess(); | |
| 160 | } | |
| 161 | #endregion | |
| 162 |  | |
| 163 |         #region ?I???{?^??
 | |
| 164 | /// <summary> | |
| 165 |         /// ?I???{?^???N???b?N
 | |
| 166 | /// </summary> | |
| 167 | /// <param name="sender"></param> | |
| 168 | /// <param name="e"></param> | |
| 169 | private void btnEnd_Click(object sender, EventArgs e) | |
| 170 |         {
 | |
| 171 | // ?O?v???Z?X???? | |
| 172 | ClsExcute.BackProcess(); | |
| 173 |  | |
| 174 | m_CloseingProcessOff = true; | |
| 175 |  | |
| 176 | this.Close(); | |
| 177 | } | |
| 178 | #endregion | |
| 179 |  | |
| 180 |         #region ?X?V?{?^??
 | |
| 181 | /// <summary> | |
| 182 |         /// ?f?[?^?X?V?{?^??????
 | |
| 183 | /// </summary> | |
| 184 | /// <param name="sender"></param> | |
| 185 | /// <param name="e"></param> | |
| 186 | private void btnDataUpDate_Click(object sender, EventArgs e) | |
| 187 |         {
 | |
| 188 | if (m_initDataLoad) return; | |
| 189 | // ?\???f?[?^?X?V | |
| 190 | DataDisplay(); | |
| 191 | } | |
| 192 | #endregion | |
| 193 |  | |
| 194 | #region ?t?H?[?????[?h | |
| 195 | /// <summary> | |
| 196 | /// ?????t?H?[?????[?h | |
| 197 | /// </summary> | |
| 198 | /// <param name="sender"></param> | |
| 199 | /// <param name="e"></param> | |
| 200 | private void FrmConstructionList_Load(object sender, EventArgs e) | |
| 201 |         {
 | |
| 202 | SetInitnumUDConstPro(); | |
| 203 |             // ?R???{?{?b?N?X?Z?b?g
 | |
| 204 | SetcmbDepartment(); | |
| 205 | SetcmbPersons(); | |
| 206 |  | |
| 207 |             // ?R???{?{?b?N?X?????\??
 | |
| 208 | InitCombBox(); | |
| 209 |  | |
| 210 | // ?\???X?^?C?????X | |
| 211 | InitDisplayStyle(); | |
| 212 |  | |
| 213 | // ???O?C?????Z?b?g | |
| 214 | InitDepPersonCode(); | |
| 215 |  | |
| 216 | // ?????\?? | |
| 217 | InitDataLoad(); | |
| 218 |  | |
| 219 | m_initDataLoad = false; | |
| 220 | } | |
| 221 | #endregion | |
| 222 |  | |
| 223 | #region ?Z???_?u???N???b?N | |
| 224 | /// <summary> | |
| 225 | /// ?Z???_?u???N???b?N | |
| 226 | /// </summary> | |
| 227 | /// <param name="sender"></param> | |
| 228 | /// <param name="e"></param> | |
| 229 | private void dgvMaster_CellDoubleClick(object sender, DataGridViewCellEventArgs e) | |
| 230 |         {
 | |
| 231 | if (e.RowIndex < 0) return; | |
| 232 | // ?f?[?^?????????????? | |
| 233 | if (dgvMaster.RowCount == 0) return; | |
| 234 | if (CommonMotions.chkCellBlank(dgvMaster.CurrentRow.Cells[(int)DispColumn.ConstructionName].Value)) return; | |
| 235 |  | |
| 236 | // ?e?????N?? | |
| 237 | int ConstrCode = CommonMotions.cnvIntFromStringCode(dgvMaster.CurrentRow.Cells[(int)DispColumn.ConstructionCode].Value.ToString(), "-"); | |
| 238 | int OrderNo = CommonMotions.cnvInt(dgvMaster.CurrentRow.Cells[(int)DispColumn.OrderNo].Value); | |
| 239 | SubProcessExecute(ConstrCode, OrderNo); | |
| 240 | } | |
| 241 | #endregion | |
| 242 |  | |
| 243 | #region ?t?H?[??KeyDown | |
| 244 | /// <summary> | |
| 245 | /// Entry?L?[????????? | |
| 246 | /// </summary> | |
| 247 | /// <param name="sender"></param> | |
| 248 | /// <param name="e"></param> | |
| 249 | private void FrmConstructionBaseInfoList_KeyDown(object sender, KeyEventArgs e) | |
| 250 |         {
 | |
| 251 | //Enter?L?[?????????????m?F | |
| 252 | //Alt??Ctrl?L?[????????????????????? | |
| 253 | if ((e.KeyCode == Keys.Enter) && !e.Alt && !e.Control) | |
| 254 |             {
 | |
| 255 | //????????Tab?L?[?????????????????? | |
| 256 | //Shift??????????????O??R???g???[????t?H?[?J?X????? | |
| 257 | this.ProcessTabKey(!e.Shift); | |
| 258 |  | |
| 259 | e.Handled = true; | |
| 260 | //.NET Framework 2.0??~ | |
| 261 | e.SuppressKeyPress = true; | |
| 262 | } | |
| 263 | } | |
| 264 | #endregion | |
| 265 |  | |
| 266 |         #region ?c????R???{?{?b?N?X??X
 | |
| 267 | /// <summary> | |
| 268 | /// ?c?????X | |
| 269 | /// </summary> | |
| 270 | /// <param name="sender"></param> | |
| 271 | /// <param name="e"></param> | |
| 272 | private void numUDConstPro_ValueChanged(object sender, EventArgs e) | |
| 273 |         {
 | |
| 274 | if (m_initDataLoad) return; | |
| 275 |  | |
| 276 |             // ?R???{?{?b?N?X?Z?b?g
 | |
| 277 | int DepCode = CommonMotions.cnvInt(cmbDepartment.SelectedValue); | |
| 278 | int PerCode = CommonMotions.cnvInt(cmbConstructionPerson.SelectedValue); | |
| 279 | SetcmbDepartment(); | |
| 280 | SetcmbPersons(); | |
| 281 | cmbDepartment.SelectedValue = DepCode; | |
| 282 | cmbConstructionPerson.SelectedValue = PerCode; | |
| 283 |  | |
| 284 | // ?f?[?^?\?? | |
| 285 | DataDisplay(); | |
| 286 | } | |
| 287 | #endregion | |
| 288 |  | |
| 289 |         #region ?????R???{?{?b?N?X??X
 | |
| 290 | /// <summary> | |
| 291 |         /// ?????R???{?{?b?N?X??X
 | |
| 292 | /// </summary> | |
| 293 | /// <param name="sender"></param> | |
| 294 | /// <param name="e"></param> | |
| 295 | private void cmbDepartment_TextChanged(object sender, EventArgs e) | |
| 296 |         {
 | |
| 297 | if (m_initDataLoad) return; | |
| 298 |  | |
| 299 |             // ?S????R???{?{?b?N?X??X
 | |
| 300 | SetcmbPersons(); | |
| 301 |  | |
| 302 | // ?f?[?^?\?? | |
| 303 | DataDisplay(); | |
| 304 | } | |
| 305 | #endregion | |
| 306 |  | |
| 307 |         #region ?S????R???{?{?b?N?X??X
 | |
| 308 | /// <summary> | |
| 309 | /// ?S?????X | |
| 310 | /// </summary> | |
| 311 | /// <param name="sender"></param> | |
| 312 | /// <param name="e"></param> | |
| 313 | private void cmbConstructionPerson_TextChanged(object sender, EventArgs e) | |
| 314 |         {
 | |
| 315 | if (m_initDataLoad) return; | |
| 316 |  | |
| 317 | // ?S????I?????????I???????? | |
| 318 | SetPerosonToDepartment(); | |
| 319 |  | |
| 320 | // ?f?[?^?\?? | |
| 321 | DataDisplay(); | |
| 322 | } | |
| 323 | #endregion | |
| 324 |  | |
| 325 | #region ?t?H?[???T?C?Y??X | |
| 326 | /// <summary> | |
| 327 | /// ?t?H?[???T?C?Y??X | |
| 328 | /// </summary> | |
| 329 | /// <param name="sender"></param> | |
| 330 | /// <param name="e"></param> | |
| 331 | private void FrmConstructionList_SizeChanged(object sender, EventArgs e) | |
| 332 |         {
 | |
| 333 | if (this.WindowState == FormWindowState.Minimized) | |
| 334 |             {
 | |
| 335 | // ????? | |
| 336 | } | |
| 337 | else if (this.WindowState == FormWindowState.Maximized) | |
| 338 |             {
 | |
| 339 | // ??? | |
| 340 | CellSizeChangesWhenChangingScreenSize(false); | |
| 341 | } | |
| 342 | else if (this.WindowState == FormWindowState.Normal) | |
| 343 |             {
 | |
| 344 | // ?W???? | |
| 345 | CellSizeChangesWhenChangingScreenSize(true); | |
| 346 | } | |
| 347 | } | |
| 348 | #endregion | |
| 349 |  | |
| 350 | #region ?c??E?H???S???????? | |
| 351 | /// <summary> | |
| 352 | /// ?c??E?H???S???????? | |
| 353 | /// </summary> | |
| 354 | /// <param name="sender"></param> | |
| 355 | /// <param name="e"></param> | |
| 356 | private void radioButton_CheckedChanged(object sender, EventArgs e) | |
| 357 |         {
 | |
| 358 | if (m_initDataLoad) return; | |
| 359 |  | |
| 360 | // ?f?[?^?\?? | |
| 361 | DataDisplay(); | |
| 362 | } | |
| 363 | #endregion | |
| 364 | } | |
| 365 | } | |
| branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/ConstrMATLList/FrmConstrMATLList.designer.cs | ||
|---|---|---|
| 1 | namespace ProcessManagement.Forms.DataEntry | |
| 2 | {
 | |
| 3 | partial class FrmConstrMATLList | |
| 4 |     {
 | |
| 5 | /// <summary> | |
| 6 | /// 必要なデザイナ変数です。 | |
| 7 | /// </summary> | |
| 8 | private System.ComponentModel.IContainer components = null; | |
| 9 |  | |
| 10 | /// <summary> | |
| 11 | /// 使用中のリソースをすべてクリーンアップします。 | |
| 12 | /// </summary> | |
| 13 | /// <param name="disposing">マネージ リソースが破棄される場合 true、破棄されない場合は false です。</param> | |
| 14 | protected override void Dispose(bool disposing) | |
| 15 |         {
 | |
| 16 | if (disposing && (components != null)) | |
| 17 |             {
 | |
| 18 | components.Dispose(); | |
| 19 | } | |
| 20 | base.Dispose(disposing); | |
| 21 | } | |
| 22 |  | |
| 23 | #region Windows フォーム デザイナで生成されたコード | |
| 24 |  | |
| 25 | /// <summary> | |
| 26 | /// デザイナ サポートに必要なメソッドです。このメソッドの内容を | |
| 27 | /// コード エディタで変更しないでください。 | |
| 28 | /// </summary> | |
| 29 | private void InitializeComponent() | |
| 30 |         {
 | |
| 31 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); | |
| 32 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); | |
| 33 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); | |
| 34 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); | |
| 35 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); | |
| 36 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); | |
| 37 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); | |
| 38 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); | |
| 39 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); | |
| 40 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); | |
| 41 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); | |
| 42 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); | |
| 43 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); | |
| 44 | this.btnEnd = new System.Windows.Forms.Button(); | |
| 45 | this.label1 = new System.Windows.Forms.Label(); | |
| 46 | this.groupBox1 = new System.Windows.Forms.GroupBox(); | |
| 47 | this.label3 = new System.Windows.Forms.Label(); | |
| 48 | this.radioButton2 = new System.Windows.Forms.RadioButton(); | |
| 49 | this.radioButton1 = new System.Windows.Forms.RadioButton(); | |
| 50 | this.label4 = new System.Windows.Forms.Label(); | |
| 51 | this.numUDConstPro = new System.Windows.Forms.NumericUpDown(); | |
| 52 | this.label5 = new System.Windows.Forms.Label(); | |
| 53 | this.label7 = new System.Windows.Forms.Label(); | |
| 54 | this.cmbConstructionPerson = new System.Windows.Forms.ComboBox(); | |
| 55 | this.cmbDepartment = new System.Windows.Forms.ComboBox(); | |
| 56 | this.label2 = new System.Windows.Forms.Label(); | |
| 57 | this.lblProcessTitil = new System.Windows.Forms.Label(); | |
| 58 | this.btnDataUpDate = new System.Windows.Forms.Button(); | |
| 59 | this.dgvMaster = new ProcessManagement.Forms.CustomControls.DataGridViewEX(); | |
| 60 | this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |
| 61 | this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |
| 62 | this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |
| 63 | this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |
| 64 | this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |
| 65 | this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |
| 66 | this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |
| 67 | this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |
| 68 | this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |
| 69 | this.Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |
| 70 | this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | |
| 71 | this.groupBox1.SuspendLayout(); | |
| 72 | ((System.ComponentModel.ISupportInitialize)(this.numUDConstPro)).BeginInit(); | |
| 73 | ((System.ComponentModel.ISupportInitialize)(this.dgvMaster)).BeginInit(); | |
| 74 | this.SuspendLayout(); | |
| 75 | // | |
| 76 | // btnEnd | |
| 77 | // | |
| 78 | this.btnEnd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); | |
| 79 | this.btnEnd.BackColor = System.Drawing.Color.Blue; | |
| 80 | this.btnEnd.ForeColor = System.Drawing.Color.White; | |
| 81 | this.btnEnd.Location = new System.Drawing.Point(1150, 619); | |
| 82 | this.btnEnd.Name = "btnEnd"; | |
| 83 | this.btnEnd.Size = new System.Drawing.Size(120, 30); | |
| 84 | this.btnEnd.TabIndex = 8; | |
| 85 | this.btnEnd.Text = "終 了"; | |
| 86 | this.btnEnd.UseVisualStyleBackColor = false; | |
| 87 | this.btnEnd.Click += new System.EventHandler(this.btnEnd_Click); | |
| 88 | // | |
| 89 | // label1 | |
| 90 | // | |
| 91 | this.label1.Anchor = System.Windows.Forms.AnchorStyles.Top; | |
| 92 | this.label1.BackColor = System.Drawing.Color.White; | |
| 93 | this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; | |
| 94 |             this.label1.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
 | |
| 95 | this.label1.ForeColor = System.Drawing.Color.Black; | |
| 96 | this.label1.Location = new System.Drawing.Point(440, 10); | |
| 97 | this.label1.Name = "label1"; | |
| 98 | this.label1.Size = new System.Drawing.Size(400, 20); | |
| 99 | this.label1.TabIndex = 6; | |
| 100 | this.label1.Text = "工 事 情 報 一 覧"; | |
| 101 | this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | |
| 102 | // | |
| 103 | // groupBox1 | |
| 104 | // | |
| 105 | this.groupBox1.Anchor = System.Windows.Forms.AnchorStyles.Top; | |
| 106 | this.groupBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); | |
| 107 | this.groupBox1.Controls.Add(this.label3); | |
| 108 | this.groupBox1.Controls.Add(this.radioButton2); | |
| 109 | this.groupBox1.Controls.Add(this.radioButton1); | |
| 110 | this.groupBox1.Controls.Add(this.label4); | |
| 111 | this.groupBox1.Controls.Add(this.numUDConstPro); | |
| 112 | this.groupBox1.Controls.Add(this.label5); | |
| 113 | this.groupBox1.Controls.Add(this.label7); | |
| 114 | this.groupBox1.Controls.Add(this.cmbConstructionPerson); | |
| 115 | this.groupBox1.Controls.Add(this.cmbDepartment); | |
| 116 | this.groupBox1.Controls.Add(this.label2); | |
| 117 | this.groupBox1.ForeColor = System.Drawing.Color.White; | |
| 118 | this.groupBox1.Location = new System.Drawing.Point(10, 40); | |
| 119 | this.groupBox1.Name = "groupBox1"; | |
| 120 | this.groupBox1.Size = new System.Drawing.Size(1260, 55); | |
| 121 | this.groupBox1.TabIndex = 0; | |
| 122 | this.groupBox1.TabStop = false; | |
| 123 | // | |
| 124 | // label3 | |
| 125 | // | |
| 126 | this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); | |
| 127 | this.label3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; | |
| 128 |             this.label3.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
 | |
| 129 | this.label3.ForeColor = System.Drawing.Color.Black; | |
| 130 | this.label3.Location = new System.Drawing.Point(747, 19); | |
| 131 | this.label3.Name = "label3"; | |
| 132 | this.label3.Size = new System.Drawing.Size(120, 25); | |
| 133 | this.label3.TabIndex = 4; | |
| 134 | this.label3.Text = "担 当 者"; | |
| 135 | this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | |
| 136 | // | |
| 137 | // radioButton2 | |
| 138 | // | |
| 139 | this.radioButton2.AutoSize = true; | |
| 140 | this.radioButton2.BackColor = System.Drawing.Color.Transparent; | |
| 141 |             this.radioButton2.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
 | |
| 142 | this.radioButton2.ForeColor = System.Drawing.Color.Black; | |
| 143 | this.radioButton2.Location = new System.Drawing.Point(662, 32); | |
| 144 | this.radioButton2.Name = "radioButton2"; | |
| 145 | this.radioButton2.Size = new System.Drawing.Size(77, 20); | |
| 146 | this.radioButton2.TabIndex = 44; | |
| 147 | this.radioButton2.Text = "工 事"; | |
| 148 | this.radioButton2.TextAlign = System.Drawing.ContentAlignment.BottomCenter; | |
| 149 | this.radioButton2.UseVisualStyleBackColor = false; | |
| 150 | this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton_CheckedChanged); | |
| 151 | // | |
| 152 | // radioButton1 | |
| 153 | // | |
| 154 | this.radioButton1.AutoSize = true; | |
| 155 | this.radioButton1.BackColor = System.Drawing.Color.Transparent; | |
| 156 | this.radioButton1.Checked = true; | |
| 157 |             this.radioButton1.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
 | |
| 158 | this.radioButton1.ForeColor = System.Drawing.Color.Black; | |
| 159 | this.radioButton1.Location = new System.Drawing.Point(662, 12); | |
| 160 | this.radioButton1.Name = "radioButton1"; | |
| 161 | this.radioButton1.Size = new System.Drawing.Size(77, 20); | |
| 162 | this.radioButton1.TabIndex = 43; | |
| 163 | this.radioButton1.TabStop = true; | |
| 164 | this.radioButton1.Text = "営 業"; | |
| 165 | this.radioButton1.TextAlign = System.Drawing.ContentAlignment.TopCenter; | |
| 166 | this.radioButton1.UseVisualStyleBackColor = false; | |
| 167 | this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton_CheckedChanged); | |
| 168 | // | |
| 169 | // label4 | |
| 170 | // | |
| 171 | this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); | |
| 172 | this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; | |
| 173 |             this.label4.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
 | |
| 174 | this.label4.ForeColor = System.Drawing.Color.Black; | |
| 175 | this.label4.Location = new System.Drawing.Point(20, 19); | |
| 176 | this.label4.Name = "label4"; | |
| 177 | this.label4.Size = new System.Drawing.Size(120, 25); | |
| 178 | this.label4.TabIndex = 42; | |
| 179 | this.label4.Text = "営業期"; | |
| 180 | this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | |
| 181 | // | |
| 182 | // numUDConstPro | |
| 183 | // | |
| 184 | this.numUDConstPro.BackColor = System.Drawing.Color.White; | |
| 185 |             this.numUDConstPro.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
 | |
| 186 | this.numUDConstPro.ForeColor = System.Drawing.Color.Black; | |
| 187 | this.numUDConstPro.Location = new System.Drawing.Point(173, 20); | |
| 188 | this.numUDConstPro.Name = "numUDConstPro"; | |
| 189 | this.numUDConstPro.ReadOnly = true; | |
| 190 | this.numUDConstPro.Size = new System.Drawing.Size(80, 23); | |
| 191 | this.numUDConstPro.TabIndex = 0; | |
| 192 | this.numUDConstPro.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | |
| 193 | this.numUDConstPro.ValueChanged += new System.EventHandler(this.numUDConstPro_ValueChanged); | |
| 194 | // | |
| 195 | // label5 | |
| 196 | // | |
| 197 |             this.label5.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
 | |
| 198 | this.label5.ForeColor = System.Drawing.Color.Black; | |
| 199 | this.label5.Location = new System.Drawing.Point(253, 23); | |
| 200 | this.label5.Name = "label5"; | |
| 201 | this.label5.Size = new System.Drawing.Size(25, 16); | |
| 202 | this.label5.TabIndex = 39; | |
| 203 | this.label5.Text = "期"; | |
| 204 | this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | |
| 205 | // | |
| 206 | // label7 | |
| 207 | // | |
| 208 |             this.label7.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
 | |
| 209 | this.label7.ForeColor = System.Drawing.Color.Black; | |
| 210 | this.label7.Location = new System.Drawing.Point(148, 23); | |
| 211 | this.label7.Name = "label7"; | |
| 212 | this.label7.Size = new System.Drawing.Size(25, 16); | |
| 213 | this.label7.TabIndex = 40; | |
| 214 | this.label7.Text = "第"; | |
| 215 | this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | |
| 216 | // | |
| 217 | // cmbConstructionPerson | |
| 218 | // | |
| 219 | this.cmbConstructionPerson.BackColor = System.Drawing.Color.White; | |
| 220 | this.cmbConstructionPerson.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | |
| 221 | this.cmbConstructionPerson.FlatStyle = System.Windows.Forms.FlatStyle.Popup; | |
| 222 | this.cmbConstructionPerson.FormattingEnabled = true; | |
| 223 | this.cmbConstructionPerson.Location = new System.Drawing.Point(875, 20); | |
| 224 | this.cmbConstructionPerson.Name = "cmbConstructionPerson"; | |
| 225 | this.cmbConstructionPerson.Size = new System.Drawing.Size(200, 23); | |
| 226 | this.cmbConstructionPerson.TabIndex = 2; | |
| 227 | this.cmbConstructionPerson.TextChanged += new System.EventHandler(this.cmbConstructionPerson_TextChanged); | |
| 228 | // | |
| 229 | // cmbDepartment | |
| 230 | // | |
| 231 | this.cmbDepartment.BackColor = System.Drawing.Color.White; | |
| 232 | this.cmbDepartment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | |
| 233 | this.cmbDepartment.FlatStyle = System.Windows.Forms.FlatStyle.Popup; | |
| 234 | this.cmbDepartment.FormattingEnabled = true; | |
| 235 | this.cmbDepartment.Location = new System.Drawing.Point(422, 20); | |
| 236 | this.cmbDepartment.Name = "cmbDepartment"; | |
| 237 | this.cmbDepartment.Size = new System.Drawing.Size(200, 23); | |
| 238 | this.cmbDepartment.TabIndex = 1; | |
| 239 | this.cmbDepartment.TextChanged += new System.EventHandler(this.cmbDepartment_TextChanged); | |
| 240 | // | |
| 241 | // label2 | |
| 242 | // | |
| 243 | this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); | |
| 244 | this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; | |
| 245 |             this.label2.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
 | |
| 246 | this.label2.ForeColor = System.Drawing.Color.Black; | |
| 247 | this.label2.Location = new System.Drawing.Point(294, 19); | |
| 248 | this.label2.Name = "label2"; | |
| 249 | this.label2.Size = new System.Drawing.Size(120, 25); | |
| 250 | this.label2.TabIndex = 4; | |
| 251 | this.label2.Text = "部 署"; | |
| 252 | this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | |
| 253 | // | |
| 254 | // lblProcessTitil | |
| 255 | // | |
| 256 | this.lblProcessTitil.BackColor = System.Drawing.Color.White; | |
| 257 | this.lblProcessTitil.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; | |
| 258 | this.lblProcessTitil.Location = new System.Drawing.Point(10, 10); | |
| 259 | this.lblProcessTitil.Name = "lblProcessTitil"; | |
| 260 | this.lblProcessTitil.Size = new System.Drawing.Size(200, 20); | |
| 261 | this.lblProcessTitil.TabIndex = 9; | |
| 262 | this.lblProcessTitil.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | |
| 263 | // | |
| 264 | // btnDataUpDate | |
| 265 | // | |
| 266 | this.btnDataUpDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); | |
| 267 | this.btnDataUpDate.BackColor = System.Drawing.Color.Aquamarine; | |
| 268 |             this.btnDataUpDate.Font = new System.Drawing.Font("MS 明朝", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
 | |
| 269 | this.btnDataUpDate.ForeColor = System.Drawing.Color.Black; | |
| 270 | this.btnDataUpDate.Location = new System.Drawing.Point(1150, 4); | |
| 271 | this.btnDataUpDate.Name = "btnDataUpDate"; | |
| 272 | this.btnDataUpDate.Size = new System.Drawing.Size(120, 30); | |
| 273 | this.btnDataUpDate.TabIndex = 7; | |
| 274 | this.btnDataUpDate.Text = "最新状態に更新"; | |
| 275 | this.btnDataUpDate.UseVisualStyleBackColor = false; | |
| 276 | this.btnDataUpDate.Click += new System.EventHandler(this.btnDataUpDate_Click); | |
| 277 | // | |
| 278 | // dgvMaster | |
| 279 | // | |
| 280 | this.dgvMaster.AllowUserToAddRows = false; | |
| 281 | this.dgvMaster.AllowUserToDeleteRows = false; | |
| 282 | this.dgvMaster.AllowUserToResizeColumns = false; | |
| 283 | this.dgvMaster.AllowUserToResizeRows = false; | |
| 284 | dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); | |
| 285 | this.dgvMaster.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; | |
| 286 | this.dgvMaster.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | |
| 287 | | System.Windows.Forms.AnchorStyles.Left) | |
| 288 | | System.Windows.Forms.AnchorStyles.Right))); | |
| 289 | this.dgvMaster.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | |
| 290 | this.dgvMaster.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; | |
| 291 | dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | |
| 292 | dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; | |
| 293 |             dataGridViewCellStyle2.Font = new System.Drawing.Font("MS 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
 | |
| 294 | dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; | |
| 295 | dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; | |
| 296 | dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; | |
| 297 | dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; | |
| 298 | this.dgvMaster.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; | |
| 299 | this.dgvMaster.ColumnHeadersHeight = 24; | |
| 300 | this.dgvMaster.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; | |
| 301 |             this.dgvMaster.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
 | |
| 302 | this.Column1, | |
| 303 | this.Column9, | |
| 304 | this.Column5, | |
| 305 | this.Column10, | |
| 306 | this.Column6, | |
| 307 | this.Column4, | |
| 308 | this.Column7, | |
| 309 | this.Column3, | |
| 310 | this.Column2, | |
| 311 | this.Column11, | |
| 312 | this.Column8}); | |
| 313 | dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; | |
| 314 | dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Window; | |
| 315 |             dataGridViewCellStyle13.Font = new System.Drawing.Font("MS 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
 | |
| 316 | dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.ControlText; | |
| 317 | dataGridViewCellStyle13.SelectionBackColor = System.Drawing.Color.LightSeaGreen; | |
| 318 | dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText; | |
| 319 | dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.False; | |
| 320 | this.dgvMaster.DefaultCellStyle = dataGridViewCellStyle13; | |
| 321 | this.dgvMaster.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; | |
| 322 | this.dgvMaster.Location = new System.Drawing.Point(10, 103); | |
| 323 | this.dgvMaster.MultiSelect = false; | |
| 324 | this.dgvMaster.Name = "dgvMaster"; | |
| 325 | this.dgvMaster.RowHeadersVisible = false; | |
| 326 | this.dgvMaster.RowHeadersWidth = 20; | |
| 327 | this.dgvMaster.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; | |
| 328 | this.dgvMaster.RowTemplate.Height = 24; | |
| 329 | this.dgvMaster.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; | |
| 330 | this.dgvMaster.Size = new System.Drawing.Size(1260, 508); | |
| 331 | this.dgvMaster.TabIndex = 5; | |
| 332 | this.dgvMaster.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvMaster_CellDoubleClick); | |
| 333 | // | |
| 334 | // Column1 | |
| 335 | // | |
| 336 | dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | |
| 337 | this.Column1.DefaultCellStyle = dataGridViewCellStyle3; | |
| 338 | this.Column1.Frozen = true; | |
| 339 | this.Column1.HeaderText = "№"; | |
| 340 | this.Column1.Name = "Column1"; | |
| 341 | this.Column1.ReadOnly = true; | |
| 342 | this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.False; | |
| 343 | this.Column1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; | |
| 344 | this.Column1.Width = 50; | |
| 345 | // | |
| 346 | // Column9 | |
| 347 | // | |
| 348 | dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | |
| 349 | this.Column9.DefaultCellStyle = dataGridViewCellStyle4; | |
| 350 | this.Column9.Frozen = true; | |
| 351 | this.Column9.HeaderText = "営業部署"; | |
| 352 | this.Column9.Name = "Column9"; | |
| 353 | this.Column9.ReadOnly = true; | |
| 354 | this.Column9.Width = 135; | |
| 355 | // | |
| 356 | // Column5 | |
| 357 | // | |
| 358 | dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | |
| 359 | this.Column5.DefaultCellStyle = dataGridViewCellStyle5; | |
| 360 | this.Column5.Frozen = true; | |
| 361 | this.Column5.HeaderText = "営業担当者"; | |
| 362 | this.Column5.Name = "Column5"; | |
| 363 | this.Column5.ReadOnly = true; | |
| 364 | this.Column5.Resizable = System.Windows.Forms.DataGridViewTriState.False; | |
| 365 | this.Column5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; | |
| 366 | this.Column5.Width = 135; | |
| 367 | // | |
| 368 | // Column10 | |
| 369 | // | |
| 370 | dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | |
| 371 | this.Column10.DefaultCellStyle = dataGridViewCellStyle6; | |
| 372 | this.Column10.Frozen = true; | |
| 373 | this.Column10.HeaderText = "工事部署"; | |
| 374 | this.Column10.Name = "Column10"; | |
| 375 | this.Column10.ReadOnly = true; | |
| 376 | this.Column10.Width = 135; | |
| 377 | // | |
| 378 | // Column6 | |
| 379 | // | |
| 380 | dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | |
| 381 | this.Column6.DefaultCellStyle = dataGridViewCellStyle7; | |
| 382 | this.Column6.Frozen = true; | |
| 383 | this.Column6.HeaderText = "工事担当者"; | |
| 384 | this.Column6.Name = "Column6"; | |
| 385 | this.Column6.ReadOnly = true; | |
| 386 | this.Column6.Resizable = System.Windows.Forms.DataGridViewTriState.False; | |
| 387 | this.Column6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; | |
| 388 | this.Column6.Width = 135; | |
| 389 | // | |
| 390 | // Column4 | |
| 391 | // | |
| 392 | dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; | |
| 393 | this.Column4.DefaultCellStyle = dataGridViewCellStyle8; | |
| 394 | this.Column4.Frozen = true; | |
| 395 | this.Column4.HeaderText = "工 事 名 称"; | |
| 396 | this.Column4.Name = "Column4"; | |
| 397 | this.Column4.ReadOnly = true; | |
| 398 | this.Column4.Resizable = System.Windows.Forms.DataGridViewTriState.False; | |
| 399 | this.Column4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; | |
| 400 | this.Column4.Width = 440; | |
| 401 | // | |
| 402 | // Column7 | |
| 403 | // | |
| 404 | dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | |
| 405 | this.Column7.DefaultCellStyle = dataGridViewCellStyle9; | |
| 406 | this.Column7.Frozen = true; | |
| 407 | this.Column7.HeaderText = "施工状態"; | |
| 408 | this.Column7.Name = "Column7"; | |
| 409 | this.Column7.ReadOnly = true; | |
| 410 | this.Column7.Resizable = System.Windows.Forms.DataGridViewTriState.False; | |
| 411 | this.Column7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; | |
| 412 | this.Column7.Width = 150; | |
| 413 | // | |
| 414 | // Column3 | |
| 415 | // | |
| 416 | dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | |
| 417 | this.Column3.DefaultCellStyle = dataGridViewCellStyle10; | |
| 418 | this.Column3.Frozen = true; | |
| 419 | this.Column3.HeaderText = "営業期"; | |
| 420 | this.Column3.Name = "Column3"; | |
| 421 | this.Column3.ReadOnly = true; | |
| 422 | this.Column3.Resizable = System.Windows.Forms.DataGridViewTriState.False; | |
| 423 | this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; | |
| 424 | this.Column3.Visible = false; | |
| 425 | this.Column3.Width = 5; | |
| 426 | // | |
| 427 | // Column2 | |
| 428 | // | |
| 429 | dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | |
| 430 | this.Column2.DefaultCellStyle = dataGridViewCellStyle11; | |
| 431 | this.Column2.Frozen = true; | |
| 432 | this.Column2.HeaderText = "工事コード"; | |
| 433 | this.Column2.Name = "Column2"; | |
| 434 | this.Column2.ReadOnly = true; | |
| 435 | this.Column2.Resizable = System.Windows.Forms.DataGridViewTriState.False; | |
| 436 | this.Column2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; | |
| 437 | this.Column2.Visible = false; | |
| 438 | this.Column2.Width = 5; | |
| 439 | // | |
| 440 | // Column11 | |
| 441 | // | |
| 442 | this.Column11.Frozen = true; | |
| 443 | this.Column11.HeaderText = "申請受付番号"; | |
| 444 | this.Column11.Name = "Column11"; | |
| 445 | this.Column11.ReadOnly = true; | |
| 446 | this.Column11.Resizable = System.Windows.Forms.DataGridViewTriState.False; | |
| 447 | this.Column11.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; | |
| 448 | this.Column11.Visible = false; | |
| 449 | this.Column11.Width = 5; | |
| 450 | // | |
| 451 | // Column8 | |
| 452 | // | |
| 453 | dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | |
| 454 | this.Column8.DefaultCellStyle = dataGridViewCellStyle12; | |
| 455 | this.Column8.Frozen = true; | |
| 456 | this.Column8.HeaderText = "資材"; | |
| 457 | this.Column8.Name = "Column8"; | |
| 458 | this.Column8.ReadOnly = true; | |
| 459 | this.Column8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; | |
| 460 | this.Column8.Width = 60; | |
| 461 | // | |
| 462 | // FrmConstrMATLList | |
| 463 | // | |
| 464 | this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); | |
| 465 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; | |
| 466 | this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; | |
| 467 | this.BackColor = System.Drawing.Color.Black; | |
| 468 | this.ClientSize = new System.Drawing.Size(1280, 657); | |
| 469 | this.Controls.Add(this.lblProcessTitil); | |
| 470 | this.Controls.Add(this.groupBox1); | |
| 471 | this.Controls.Add(this.label1); | |
| 472 | this.Controls.Add(this.btnDataUpDate); | |
| 473 | this.Controls.Add(this.btnEnd); | |
| 474 | this.Controls.Add(this.dgvMaster); | |
| 475 |             this.Font = new System.Drawing.Font("MS 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
 | |
| 476 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; | |
| 477 | this.KeyPreview = true; | |
| 478 | this.MinimizeBox = false; | |
| 479 | this.Name = "FrmConstrMATLList"; | |
| 480 | this.ShowIcon = false; | |
| 481 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | |
| 482 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmConstructionList_FormClosing); | |
| 483 | this.Load += new System.EventHandler(this.FrmConstructionList_Load); | |
| 484 | this.SizeChanged += new System.EventHandler(this.FrmConstructionList_SizeChanged); | |
| 485 | this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FrmConstructionBaseInfoList_KeyDown); | |
| 486 | this.groupBox1.ResumeLayout(false); | |
| 487 | this.groupBox1.PerformLayout(); | |
| 488 | ((System.ComponentModel.ISupportInitialize)(this.numUDConstPro)).EndInit(); | |
| 489 | ((System.ComponentModel.ISupportInitialize)(this.dgvMaster)).EndInit(); | |
| 490 | this.ResumeLayout(false); | |
| 491 |  | |
| 492 | } | |
| 493 |  | |
| 494 | #endregion | |
| 495 |  | |
| 496 | private System.Windows.Forms.Button btnEnd; | |
| 497 | private System.Windows.Forms.Label label1; | |
| 498 | private System.Windows.Forms.GroupBox groupBox1; | |
| 499 | private System.Windows.Forms.Label label2; | |
| 500 | private System.Windows.Forms.ComboBox cmbDepartment; | |
| 501 | private CustomControls.DataGridViewEX dgvMaster; | |
| 502 | private System.Windows.Forms.Label lblProcessTitil; | |
| 503 | private System.Windows.Forms.ComboBox cmbConstructionPerson; | |
| 504 | private System.Windows.Forms.Label label3; | |
| 505 | private System.Windows.Forms.Button btnDataUpDate; | |
| 506 | private System.Windows.Forms.Label label4; | |
| 507 | private System.Windows.Forms.NumericUpDown numUDConstPro; | |
| 508 | private System.Windows.Forms.Label label5; | |
| 509 | private System.Windows.Forms.Label label7; | |
| 510 | private System.Windows.Forms.RadioButton radioButton2; | |
| 511 | private System.Windows.Forms.RadioButton radioButton1; | |
| 512 | private System.Windows.Forms.DataGridViewTextBoxColumn Column1; | |
| 513 | private System.Windows.Forms.DataGridViewTextBoxColumn Column9; | |
| 514 | private System.Windows.Forms.DataGridViewTextBoxColumn Column5; | |
| 515 | private System.Windows.Forms.DataGridViewTextBoxColumn Column10; | |
| 516 | private System.Windows.Forms.DataGridViewTextBoxColumn Column6; | |
| 517 | private System.Windows.Forms.DataGridViewTextBoxColumn Column4; | |
| 518 | private System.Windows.Forms.DataGridViewTextBoxColumn Column7; | |
| 519 | private System.Windows.Forms.DataGridViewTextBoxColumn Column3; | |
| 520 | private System.Windows.Forms.DataGridViewTextBoxColumn Column2; | |
| 521 | private System.Windows.Forms.DataGridViewTextBoxColumn Column11; | |
| 522 | private System.Windows.Forms.DataGridViewTextBoxColumn Column8; | |
| 523 | } | |
| 524 | } | |
| branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Material/ConstrMATLList/FrmConstrMATLList.resx | ||
|---|---|---|
| 1 | <?xml version="1.0" encoding="utf-8"?> | |
| 2 | <root> | |
| 3 | <!-- | |
| 4 | Microsoft ResX Schema | |
| 5 |  | |
| 6 | Version 2.0 | |
| 7 |  | |
| 8 | The primary goals of this format is to allow a simple XML format | |
| 9 | that is mostly human readable. The generation and parsing of the | |
| 10 | various data types are done through the TypeConverter classes | |
| 11 | associated with the data types. | |
| 12 |  | |
| 13 | Example: | |
| 14 |  | |
| 15 | ... ado.net/XML headers & schema ... | |
| 16 | <resheader name="resmimetype">text/microsoft-resx</resheader> | |
他の形式にエクスポート: Unified diff