プロジェクト

全般

プロフィール

リビジョン 50

堀内ほぼ8年前に追加

工事情報削除処理修正

差分を表示:

trunk/src/ProcessManagement/ProcessManagement/Common/Office/UsedWord.cs
575 575
                if (!m_SaveSwitch) return;
576 576

  
577 577
                // パス作成
578
                //string strFilename = @strFilePath + s_WordExtension[m_WordVersion];
579
                string strFilename = @strFilePath + s_WordExtension[0];
578
                string strFilename = @strFilePath + s_WordExtension[m_WordVersion];
580 579

  
581 580
                object[] Parameters = new object[16];
582 581
                Parameters[0] = strFilename;                    // FileName
trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsChangeBaseInfoData.cs
120 120

  
121 121
                List<int> RemoveList = new List<int>();
122 122
                List<int> UpdateLinkList = new List<int>();
123
                int ParentCode = 0;
124
                int LinkCount = 0;
123 125
                RemoveList.Add(RemoveCode);
124 126
                // 増減工事親確認
125 127
                if (BaseRec.TyingFlg == (int)CommonDefine.BaseInfoTyingFlg.Parent)
126 128
                {
127 129
                    GetLinkageCode(RemoveCode, DB03, ref RemoveList, false);
128 130
                }
131
                else if (BaseRec.TyingFlg == (int)CommonDefine.BaseInfoTyingFlg.Tying)
132
                {
133
                    LinkCount = GetLinkageCode2(RemoveCode, DB03, ref ParentCode);
134
                }
129 135
                // 結合工事親確認
130 136
                if (BaseRec.JoinFlg == (int)CommonDefine.BaseInfoJoinFlg.JoinParent)
131 137
                {
......
146 152

  
147 153
                bool ProcSuccess = true;
148 154
                string strRemove = string.Empty;
155
                string strRemove2 = string.Empty;
149 156
                for (int i = 0; i < RemoveList.Count; i++)
150 157
                {
151 158
                    strRemove = DB01.CreatePrimarykeyString(RemoveList[i]);
152 159
                    if (!DB01.DeleteAction(strRemove, false)) { ProcSuccess = false; break; }
153 160
                    if (!DB02.DeleteAction(strRemove, false)) { ProcSuccess = false; break; }
154
                    DB03.DeleteAction(strRemove, false);
161

  
155 162
                    DB04.DeleteAction(strRemove, false);
156 163
                    DB05.DeleteAction(strRemove, false);
157 164
                    DB06.DeleteAction(strRemove, false);
......
176 183
                    DB25.DeleteAction(strRemove, false);
177 184
                    DB26.DeleteAction(strRemove, false);
178 185
                    DB27.DeleteAction(strRemove, false);
186

  
187
                    if (BaseRec.JoinFlg == (int)CommonDefine.BaseInfoJoinFlg.JoinParent
188
                        || BaseRec.TyingFlg == (int)CommonDefine.BaseInfoTyingFlg.Parent)
189
                    {
190
                        DB03.DeleteAction(strRemove, false);
191
                    }
192
                    else if (BaseRec.TyingFlg == (int)CommonDefine.BaseInfoTyingFlg.Tying)
193
                    {
194
                        strRemove2 = string.Format(" Where FluctuationCode = {0}", RemoveList[i]);
195
                        strRemove2 += string.Format(" AND LINKTYPE = {0}", (int)CommonDefine.LinkDataType.FluctuationType);
196
                        DB03.DeleteAction(strRemove2, false);
197
                    }
198
                    else if (BaseRec.JoinFlg == (int)CommonDefine.BaseInfoJoinFlg.JoinChildren)
199
                    {
200
                        // 削除処理の未実装
201
                    }
179 202
                }
180 203

  
181 204
                // 結合工事リンク情報更新
182 205
                if (ProcSuccess)
183 206
                {
184
                    // 増減工事親確認
185
                    if (BaseRec.TyingFlg == (int)CommonDefine.BaseInfoTyingFlg.Parent)
207
                    // 増減工事子の場合(最後のリンク情報か、どうかの確認)
208
                    if (BaseRec.TyingFlg == (int)CommonDefine.BaseInfoTyingFlg.Tying)
186 209
                    {
187
                        for (int i = 0; i < RemoveList.Count; i++)
188
                        {
189
                            if (!DB01.UpdateFeild(RemoveList[i]
210
                        if (LinkCount == 1)
211
                        {   // 最後のリンクは親を増減工事より外す
212
                            if (!DB01.UpdateFeild(ParentCode
190 213
                                                , (int)IOConstructionBaseInfo.TableColumn.TyingFlg
191 214
                                                , (int)CommonDefine.BaseInfoTyingFlg.Standard
192 215
                                                , false))
193 216
                            {
194 217
                                ProcSuccess = false;
195
                                break;
196 218
                            }
197 219
                        }
198 220
                    }
......
288 310
        }
289 311
        #endregion
290 312

  
313
        #region 増減工事リンク親コード取得
314
        /// <summary>
315
        /// 増減工事リンク親コード取得
316
        /// </summary>
317
        private static int GetLinkageCode2(int RemoveCode, IOConstructionLink LinkDB, ref int ParentCode)
318
        {
319
            try
320
            {
321
                string strSQL = "SELECT B.CONSTRUCTIONCODE, COUNT(*) FROM CONSTRUCTIONLINK A, CONSTRUCTIONLINK B";
322
                strSQL += string.Format(" WHERE A.FLUCTUATIONCODE = {0}", RemoveCode);
323
                strSQL += string.Format(" AND A.LINKTYPE = {0}", (int)CommonDefine.LinkDataType.FluctuationType);
324
                strSQL += " AND B.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE";
325
                strSQL += " GROUP BY B.CONSTRUCTIONCODE";
326

  
327
                ArrayList arList = new ArrayList();
328
                if (!LinkDB.ExecuteReader(strSQL, ref arList)) return 0;
329

  
330
                object[] CurRec = (object[])arList[0];
331

  
332
                ParentCode = CommonMotions.cnvInt(CurRec[0]);
333
                return CommonMotions.cnvInt(CurRec[1]);
334
            }
335
            catch (Exception ex)
336
            {
337
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
338
                return 0;
339
            }
340
        }
341
        #endregion
342

  
291 343
        #region 結合親工事番号取得処理
292 344
        /// <summary>
293 345
        /// 結合親工事番号取得処理
trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsExcute.cs
399 399
                            break;
400 400

  
401 401
                        case (int)ProcessExecuteNo.DRWork:                              // 18:出勤日報入力
402
                            
402
                            ProcessExecuteNo_DRWork(m_ProcControlPara[NowPoint]);
403 403
                            break;
404 404

  
405 405
                        case (int)ProcessExecuteNo.PurchaseOrderStatus:                 // 19:注文書発給一覧
......
1521 1521
        }
1522 1522
        #endregion
1523 1523

  
1524
        #region 出勤管理入力
1525
        /// <summary>
1526
        /// 出勤管理入力
1527
        /// </summary>
1528
        /// <returns></returns>
1529
        public static void ProcessExecuteNo_DRWork(ProcessParameter CurrentPara)
1530
        {
1531
            // 出勤管理入力
1532
            FrmDRWork frm = new FrmDRWork();
1533
            try
1534
            {
1535
                // 自分のハンドルをリストへセットする
1536
                int ProcessNo = (int)ClsExcute.ProcessExecuteNo.DRWork;
1537
                ClsExcute.SubFormHandleList[ProcessNo].ProcessNo = ProcessNo;
1538
                ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle = (Form)frm;
1539

  
1540
                // 起動・編集フラグ
1541
                //int EditFlg = (int)CommonDefine.ProcessDataEdit.Reference;
1542
                //if (!ClsSecurityPermission.GetExecutePermission(ProcessNo, ref EditFlg))
1543
                //{
1544
                //    BackProcess();
1545
                //    return;
1546
                //}
1547
                //if (EditFlg == (int)CommonDefine.ProcessDataEdit.Reference) frm.EditLock = true;
1548

  
1549
                // パラメータセット
1550
                frm.PersonCode = CurrentPara.IntExecParameter[1];
1551

  
1552
                // フォーム表示
1553
                frm.ShowDialog();
1554
            }
1555
            catch (Exception ex)
1556
            {
1557
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
1558
                BackProcess();
1559
            }
1560
            finally
1561
            {
1562
                frm.Dispose(); frm = null;
1563
            }
1564
        }
1524 1565
        #endregion
1525 1566

  
1567
        #endregion
1568

  
1526 1569
        #region マスタメンテナンス
1527 1570
        // ----------------- メンテナンス起動
1528 1571
        #region 管理マスタ
trunk/src/ProcessManagement/ProcessManagement/DB/IOAccess/IOAttendanceData.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5
using System.Data;
6
using System.Collections;
7

  
8
using log4net;
9
using Oracle.ManagedDataAccess.Client;
10

  
11
using ProcessManagement.DB.Oracle;
12
using ProcessManagement.DB.Core;
13
using ProcessManagement.DataModel;
14
using ProcessManagement.Common;
15

  
16
namespace ProcessManagement.DB.IOAccess
17
{
18
    /// <summary>
19
    /// 出勤日報データDBアクセス
20
    /// </summary>
21
    public class IOAttendanceData : OracleProcess
22
    {
23
        #region 定義部
24
        /// <summary>
25
        /// log4netログを使用する
26
        /// </summary>
27
        private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
28
        #endregion
29

  
30
        #region 定数
31
        /// <summary>
32
        /// データフィールド並び
33
        /// </summary>
34
        public enum DataColumn
35
        {
36
            /// <summary>
37
            /// 作成者コード
38
            /// </summary>
39
            PersonCode,
40
            /// <summary>
41
            /// 日報作成日
42
            /// </summary>
43
            AttendanceDate,
44
            /// <summary>
45
            /// 明細行番号
46
            /// </summary>
47
            SeqNo,
48
            /// <summary>
49
            /// 工事番号
50
            /// </summary>
51
            ConstructionCode,
52
            /// <summary>
53
            /// 残業時間
54
            /// </summary>
55
            OvertimeHours,
56
            /// <summary>
57
            /// コメント
58
            /// </summary>
59
            WorkingComment,
60
            /// <summary>
61
            /// 登録年月日
62
            /// </summary>
63
            EntryDate,
64
            /// <summary>
65
            /// 更新年月日
66
            /// </summary>
67
            UpdateDate,
68
        }
69
        #endregion
70

  
71
        #region コンストラクタ
72
        /// <summary>
73
        /// コンストラクタ
74
        /// </summary>
75
        /// <param name="ConnectionString"></param>
76
        public IOAttendanceData()
77
            : base(DBCommon.Instance.DBConnectString)
78
        {
79
        }
80

  
81
        #endregion
82

  
83
        #region SQL作成
84
        /// <summary>
85
        /// SQL作成
86
        /// </summary>
87
        private string CreateSelectSQL()
88
        {
89
            // SQL作成(oracleのDateTime型が変換できないのでCharに変換しておく)
90
            string strcmd = "SELECT";
91

  
92
            strcmd += "  PersonCode";                                       // 担当者コード
93
            strcmd += " ,TO_CHAR(AttendanceDate, 'YYYY/MM/DD')";            // 日報作成日
94
            strcmd += " ,SeqNo";                                            // 明細行番号
95
            strcmd += " ,ConstructionCode";                                 // 工事番号
96
            strcmd += " ,OvertimeHours";                                    // 残業時間
97
            strcmd += " ,WorkingComment";                                   // コメント
98
            strcmd += ", TO_CHAR(EntryDate, 'YYYY/MM/DD HH24:MI:ss')";      // 登録年月日
99
            strcmd += ", TO_CHAR(UpdateDate, 'YYYY/MM/DD HH24:MI:ss')";     // 更新年月日
100
            strcmd += " FROM AttendanceData";
101

  
102
            return strcmd;
103
        }
104
        #endregion
105

  
106
        #region 複数読込み処理
107
        public bool SelectAction(string AddSQLString, ref List<AttendanceData> data, bool bConnect = true)
108
        {
109
            //Oracle インターフェース
110
            string strcmd = "";
111
            ArrayList arData = new ArrayList();
112

  
113
            try
114
            {
115
                // SQL作成
116
                strcmd = CreateSelectSQL() + AddSQLString;
117

  
118
                // SQL実行
119
                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
120

  
121
                // データセット
122
                foreach (object[] objwrk in arData)
123
                {
124
                    AttendanceData work = new AttendanceData();
125
                    Reader2Struct(objwrk, ref work);
126
                    data.Add(work);
127
                }
128

  
129
                return true;
130
            }
131
            catch (Exception ex)
132
            {
133
                logger.ErrorFormat("システムエラー:{0}:{1}:{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
134
                return false;
135
            }
136
        }
137
        #endregion
138

  
139
        #region 1件読込み処理
140
        public bool SelectAction(string AddSQLString, ref AttendanceData data, bool bConnect = true)
141
        {
142
            //Oracle インターフェース
143
            string strcmd = "";
144
            ArrayList arData = new ArrayList();
145

  
146
            try
147
            {
148
                strcmd = CreateSelectSQL() + AddSQLString;
149

  
150
                // SQL実行
151
                if (!ExecuteReader(strcmd, ref arData, bConnect)) return false;
152
                if (arData.Count == 0) return false;
153

  
154
                // データセット
155
                foreach (object[] objwrk in arData)
156
                {
157
                    Reader2Struct(objwrk, ref data);
158
                    break;
159
                }
160

  
161
                return true;
162
            }
163
            catch (Exception ex)
164
            {
165
                logger.ErrorFormat("システムエラー:{0}:{1}:{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
166
                return false;
167
            }
168
        }
169
        #endregion
170

  
171
        #region 1件追加処理
172
        /// <summary>
173
        /// 担当者毎経費データ追加
174
        /// </summary>
175
        /// <param name="data">担当者毎経費データデータ</param>
176
        /// <returns>true:成功 false:失敗</returns>
177
        public bool InsertAction(AttendanceData work, bool bConnect = true)
178
        {
179
            string strcmd = "";
180
            try
181
            {
182
                strcmd = "INSERT INTO AttendanceData";
183
                strcmd += "  (PersonCode";      // 担当者コード
184
                strcmd += " ,AttendanceDate";   // 日報作成日
185
                strcmd += " ,SeqNo";            // 明細行番号
186
                strcmd += " ,ConstructionCode"; // 工事番号
187
                strcmd += " ,OvertimeHours";    // 残業時間
188
                strcmd += " ,WorkingComment";   // コメント
189
                strcmd += " ,EntryDate";        // 登録年月日
190
                strcmd += " ,UpdateDate)";      // 更新年月日
191

  
192
                strcmd += " VALUES (";
193

  
194
                strcmd += string.Format("  {0}", work.PersonCode);                      // 担当者コード
195
                strcmd += string.Format(", TO_DATE('{0}','YYYY/MM/DD')"
196
                                            , work.AttendanceDate.ToShortDateString()); // 日報作成日
197
                strcmd += string.Format(", {0}", work.SeqNo);                           // 明細行番号
198
                strcmd += string.Format(", {0}", work.ConstructionCode);                // 工事番号
199
                strcmd += string.Format(", {0}", work.OvertimeHours);                   // 残業時間
200
                strcmd += string.Format(",'{0}'", work.WorkingComment);                 // コメント
201

  
202
                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
203
                strcmd += ", TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
204
                strcmd = strcmd + ")";
205

  
206
                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
207

  
208
                return true;
209
            }
210
            catch (Exception ex)
211
            {
212
                logger.ErrorFormat("システムエラー:{0}:{1}:{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
213
                return false;
214
            }
215
        }
216
        #endregion
217

  
218
        #region 複数追加処理
219
        public bool InsertAction(List<AttendanceData> data, bool bConnect = true)
220
        {
221
            string strcmd = "";
222
            try
223
            {
224
                foreach (AttendanceData work in data)
225
                {
226
                    if (!InsertAction(work, bConnect)) return false;
227
                }
228
                return true;
229
            }
230
            catch (Exception ex)
231
            {
232
                logger.ErrorFormat("システムエラー:{0}:{1}:{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
233
                return false;
234
            }
235
        }
236
        #endregion
237

  
238
        #region 更新処理
239
        /// <summary>
240
        /// 担当者毎経費データ更新
241
        /// </summary>
242
        /// <param name="AddSQLString">更新条件SQL文字列</param>
243
        /// <param name="data">担当者毎経費データデータ</param>
244
        /// <returns>true:成功 false:失敗</returns>
245
        public bool UpdateAction(string AddSQLString, AttendanceData data, bool bConnect = true)
246
        {
247
            string strcmd = "";
248
            try
249
            {
250

  
251
                strcmd = "UPDATE AttendanceData";
252

  
253
                strcmd += " SET";
254

  
255
                strcmd += string.Format(" PersonCode = {0}", data.PersonCode);                  // 担当者コード
256
                strcmd += string.Format(",AttendanceDate = TO_DATE('{0}','YYYY/MM/DD')"
257
                                        , data.AttendanceDate.ToShortDateString());             // 日報作成日
258
                strcmd += string.Format(",SeqNo =  {0} ", data.SeqNo);                          // 明細行番号
259
                strcmd += string.Format(",ConstructionCode = {0}", data.ConstructionCode);      // 工事番号
260
                strcmd += string.Format(",OvertimeHours = {0}", data.OvertimeHours);            // 残業時間
261
                strcmd += string.Format(",WorkingComment = '{0}'", data.WorkingComment);        // コメント
262
                
263
                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
264
                strcmd += AddSQLString;
265

  
266
                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
267

  
268
                return true;
269
            }
270
            catch (Exception ex)
271
            {
272
                logger.ErrorFormat("システムエラー:{0}:{1}:{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
273
                return false;
274
            }
275
        }
276
        #endregion
277

  
278
        #region 削除処理
279
        /// <summary>
280
        /// 担当者毎経費データ削除
281
        /// </summary>
282
        /// <param name="AddSQLString">削除条件SQL文字列</param>
283
        /// <param name="data">担当者毎経費データデータ</param>
284
        /// <returns>true:成功 false:失敗</returns>
285
        public bool DeleteAction(string AddSQLString, bool bConnect = true)
286
        {
287
            //Oracle インターフェース
288
            string strcmd = "";
289
            try
290
            {
291
                strcmd = string.Format("{0}{1}", "DELETE FROM AttendanceData", AddSQLString);
292

  
293
                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
294

  
295
                return true;
296
            }
297
            catch (Exception ex)
298
            {
299
                logger.ErrorFormat("システムエラー:{0}:{1}:{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
300
                return false;
301
            }
302
        }
303
        #endregion
304

  
305
        #region 1項目更新処理
306
        /// <summary>
307
        /// 1項目の更新を行う
308
        /// </summary>
309
        /// <param name="ConstructionCode"></param>
310
        /// <param name="FeildNo"></param>
311
        /// <param name="value"></param>
312
        /// <param name="bConnect"></param>
313
        /// <returns></returns>
314
        public bool UpdateFeild(int PersonCode, DateTime AttendanceDate, int SeqNo, int FeildNo, object value, bool bConnect = true)
315
        {
316
            string strcmd = "";
317
            try
318
            {
319
                strcmd = "UPDATE AttendanceData";
320

  
321
                strcmd += " SET";
322
                switch (FeildNo)
323
                {
324
                    case (int)DataColumn.PersonCode:
325
                        strcmd += string.Format(" PersonCode = {0}", (int)value);
326
                        break;
327
                    case (int)DataColumn.AttendanceDate:
328
                        strcmd += string.Format(" AttendanceDate = TO_DATE('{0}','YYYY/MM/DD')", ((DateTime)value).ToShortDateString());
329
                        break;
330
                    case (int)DataColumn.SeqNo:
331
                        strcmd += string.Format(" SeqNo = {0}", (int)value);
332
                        break;
333
                    case (int)DataColumn.ConstructionCode:
334
                        strcmd += string.Format(" ConstructionCode = {0}", (int)value);
335
                        break;
336
                    case (int)DataColumn.OvertimeHours:
337
                        strcmd += string.Format(" OvertimeHours = {0}", (double)value);
338
                        break;
339
                    case (int)DataColumn.WorkingComment:
340
                        strcmd += string.Format(" WorkingComment = '{0}'", CommonMotions.cnvString(value));
341
                        break;
342
                }
343

  
344
                strcmd += ", UpdateDate = TO_DATE(TO_CHAR(sysdate,'YYYY/MM/DD HH24:MI:SS'),'YYYY/MM/DD HH24:MI:SS')";
345
                strcmd += CreatePrimarykeyString(PersonCode, AttendanceDate, SeqNo);
346

  
347
                if (!ExecuteNonQuery(strcmd, bConnect)) return false;
348

  
349
                return true;
350
            }
351
            catch (Exception ex)
352
            {
353
                logger.ErrorFormat("システムエラー:{0}:{1}:{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
354
                return false;
355
            }
356
        }
357
        #endregion
358

  
359
        #region データセット処理
360
        /// <summary>
361
        /// OracleDataReaderより構造体へセットする
362
        /// </summary>
363
        /// <param name="reader">OracleDataReader</param>
364
        /// <param name="wrk">構造体</param>
365
        public void Reader2Struct(object[] objwrk, ref AttendanceData wrk)
366
        {
367
            try
368
            {
369
                // データ取得
370
                wrk.PersonCode = int.Parse(objwrk[(int)DataColumn.PersonCode].ToString());                  // 担当者コード
371
                wrk.AttendanceDate = DateTime.Parse(objwrk[(int)DataColumn.AttendanceDate].ToString());     // 日報作成日
372
                wrk.SeqNo = int.Parse(objwrk[(int)DataColumn.SeqNo].ToString());                            // 明細行番号
373
                wrk.ConstructionCode = int.Parse(objwrk[(int)DataColumn.ConstructionCode].ToString());      // 工事番号
374
                wrk.OvertimeHours = double.Parse(objwrk[(int)DataColumn.OvertimeHours].ToString());         // 残業時間
375
                wrk.WorkingComment = objwrk[(int)DataColumn.WorkingComment].ToString();                     // 当日作業内容
376
                
377
                wrk.EntryDate = DateTime.Parse(objwrk[(int)DataColumn.EntryDate].ToString());
378
                wrk.UpdateDate = DateTime.Parse(objwrk[(int)DataColumn.UpdateDate].ToString());
379
            }
380
            catch (OracleException oraex)
381
            {
382
                logger.ErrorFormat("オラクルエラー:{0}:{1}", CommonMotions.GetMethodName(2), oraex.Message);
383
            }
384
            catch (Exception ex)
385
            {
386
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(2), ex.Message);
387
            }
388
        }
389
        #endregion
390

  
391
        #region 検索文字列作成処理
392
        /// <summary>
393
        /// 主キー検索の文字列を返す
394
        /// </summary>
395
        /// <param name="PersonCode"></param>
396
        /// <param name="ActionDate"></param>
397
        /// <param name="DataType"></param>
398
        /// <param name="DataAddCount"></param>
399
        /// <returns></returns>
400
        public string CreatePrimarykeyString(int PersonCode, DateTime AttendanceDate, int SeqNo = 0)
401
        {
402
            string strWork = "";
403
            try
404
            {
405
                strWork = string.Format(" WHERE PersonCode = {0}", PersonCode);
406
                if (AttendanceDate != DateTime.MinValue)
407
                    strWork += string.Format(" AND AttendanceDate = TO_DATE('{0}','YYYY/MM/DD')", AttendanceDate.ToShortDateString());
408
                if (SeqNo != 0)
409
                    strWork += string.Format(" AND SeqNo = {0}", SeqNo);
410
            }
411
            catch (Exception ex)
412
            {
413
                logger.ErrorFormat("システムエラー:{0}:{1}:{2}", CommonMotions.GetMethodName(2), ex.Message, strWork);
414
            }
415

  
416
            return strWork;
417
        }
418
        #endregion
419

  
420
        #region 追加番号の最大値を取得
421
        /// <summary>
422
        /// 追加番号の最大値を取得する
423
        /// </summary>
424
        /// <param name="AddSQLString"></param>
425
        /// <param name="bConnect"></param>
426
        /// <returns></returns>
427
        public int SelectMaxAddDataCount(string AddSQLString, bool bConnect = true)
428
        {
429
            //Oracle インターフェース
430
            string strcmd = "";
431
            ArrayList arData = new ArrayList();
432
            int iRet = 0;
433
            try
434
            {
435
                // SQL作成
436
                strcmd = "SELECT NVL(MAX(SeqNo), 0) FROM AttendanceData" + AddSQLString;
437

  
438
                // SQL実行
439
                if (!ExecuteReader(strcmd, ref arData, bConnect)) return iRet;
440

  
441
                // データセット
442
                foreach (object[] objwrk in arData)
443
                {
444
                    if (objwrk[0].ToString().Equals("null"))
445
                        iRet = 0;
446
                    else
447
                        iRet = int.Parse(objwrk[0].ToString());
448
                }
449

  
450
            }
451
            catch (Exception ex)
452
            {
453
                logger.ErrorFormat("システムエラー:{0}:{1}:{2}", CommonMotions.GetMethodName(2), ex.Message, strcmd);
454
            }
455
            return iRet;
456
        }
457
        #endregion
458
    }
459
}
trunk/src/ProcessManagement/ProcessManagement/DataModel/AttendanceData.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5

  
6
namespace ProcessManagement.DataModel
7
{
8
    /// <summary>
9
    /// 出勤日報データ定義クラス
10
    /// </summary>
11
    public class AttendanceData
12
    {
13
        #region メンバ変数
14
        /// <summary>
15
        /// 作成者コード
16
        /// </summary>
17
        private int         m_PersonCode = 0;
18
        /// <summary>
19
        /// 日報作成日
20
        /// </summary>
21
        private DateTime    m_AttendanceDate = DateTime.Now;
22
        /// <summary>
23
        /// 明細行番号
24
        /// </summary>
25
        private int         m_SeqNo = 0;
26
        /// <summary>
27
        /// 工事番号
28
        /// </summary>
29
        private int         m_ConstructionCode = 0;
30
        /// <summary>
31
        /// 残業時間
32
        /// </summary>
33
        private double      m_OvertimeHours = 0;
34
        /// <summary>
35
        /// コメント
36
        /// </summary>
37
        private string      m_WorkingComment = string.Empty;
38
        /// <summary>
39
        /// 登録年月日
40
        /// </summary>
41
        private DateTime    m_EntryDate = DateTime.Now;
42
        /// <summary>
43
        /// 更新年月日
44
        /// </summary>
45
        private DateTime    m_UpdateDate = DateTime.Now;
46
        #endregion
47

  
48
        #region プロパティ
49
        /// <summary>
50
        /// 作成者コード
51
        /// </summary>
52
        public int PersonCode
53
        {
54
            get { return m_PersonCode; }
55
            set { m_PersonCode = value; }
56
        }
57
        /// <summary>
58
        /// 日報作成日
59
        /// </summary>
60
        public DateTime AttendanceDate
61
        {
62
            get { return m_AttendanceDate; }
63
            set { m_AttendanceDate = value; }
64
        }
65
        /// <summary>
66
        /// 明細行番号
67
        /// </summary>
68
        public int SeqNo
69
        {
70
            get { return m_SeqNo; }
71
            set { m_SeqNo = value; }
72
        }
73
        /// <summary>
74
        /// 工事番号
75
        /// </summary>
76
        public int ConstructionCode
77
        {
78
            get { return m_ConstructionCode; }
79
            set { m_ConstructionCode = value; }
80
        }
81
        /// <summary>
82
        /// 残業時間
83
        /// </summary>
84
        public double OvertimeHours
85
        {
86
            get { return m_OvertimeHours; }
87
            set { m_OvertimeHours = value; }
88
        }
89
        /// <summary>
90
        /// 作業コメント
91
        /// </summary>
92
        public string WorkingComment
93
        {
94
            get { return m_WorkingComment; }
95
            set { m_WorkingComment = value; }
96
        }
97
        /// <summary>
98
        /// 登録年月日
99
        /// </summary>
100
        public DateTime EntryDate
101
        {
102
            get { return m_EntryDate; }
103
            set { m_EntryDate = value; }
104
        }
105
        /// <summary>
106
        /// 更新年月日
107
        /// </summary>
108
        public DateTime UpdateDate
109
        {
110
            get { return m_UpdateDate; }
111
            set { m_UpdateDate = value; }
112
        }
113
        #endregion
114
    }
115
}
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRWork/FrmDRWork.Designer.cs
28 28
        /// </summary>
29 29
        private void InitializeComponent()
30 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 dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
34
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
31
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
32
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
33
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
34
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
35
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
35 36
            this.label1 = new System.Windows.Forms.Label();
36 37
            this.btnLineDel = new System.Windows.Forms.Button();
37 38
            this.btnLineAdd = new System.Windows.Forms.Button();
......
46 47
            this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
47 48
            this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
48 49
            this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
50
            this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
51
            this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
52
            this.panel3 = new System.Windows.Forms.Panel();
53
            this.label2 = new System.Windows.Forms.Label();
54
            this.cmbDepartment = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
55
            this.label14 = new System.Windows.Forms.Label();
56
            this.cmbConstructionPerson = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
57
            this.label15 = new System.Windows.Forms.Label();
58
            this.label13 = new System.Windows.Forms.Label();
59
            this.label12 = new System.Windows.Forms.Label();
60
            this.label10 = new System.Windows.Forms.Label();
61
            this.label11 = new System.Windows.Forms.Label();
62
            this.label9 = new System.Windows.Forms.Label();
63
            this.label8 = new System.Windows.Forms.Label();
64
            this.label7 = new System.Windows.Forms.Label();
65
            this.label5 = new System.Windows.Forms.Label();
66
            this.comboBox1 = new ProcessManagement.Forms.CustomControls.ComboBoxEX();
49 67
            this.label6 = new System.Windows.Forms.Label();
50
            this.label2 = new System.Windows.Forms.Label();
68
            this.label4 = new System.Windows.Forms.Label();
51 69
            this.label3 = new System.Windows.Forms.Label();
52
            this.label4 = new System.Windows.Forms.Label();
53
            this.groupBox1 = new System.Windows.Forms.GroupBox();
54
            this.textBox1 = new System.Windows.Forms.TextBox();
55
            this.label5 = new System.Windows.Forms.Label();
70
            this.pnlApproval = new System.Windows.Forms.Panel();
71
            this.lblApprovalCount = new System.Windows.Forms.Label();
72
            this.btnPetition = new System.Windows.Forms.Button();
73
            this.btnApproval = new System.Windows.Forms.Button();
74
            this.pnlApprovalButton = new System.Windows.Forms.Panel();
75
            this.btnOnApproval = new System.Windows.Forms.Button();
76
            this.btnNotApproval = new System.Windows.Forms.Button();
77
            this.btnOnHold = new System.Windows.Forms.Button();
56 78
            this.pnlWork.SuspendLayout();
57 79
            ((System.ComponentModel.ISupportInitialize)(this.dgvAllDisplay)).BeginInit();
58
            this.groupBox1.SuspendLayout();
80
            this.panel3.SuspendLayout();
81
            this.pnlApproval.SuspendLayout();
82
            this.pnlApprovalButton.SuspendLayout();
59 83
            this.SuspendLayout();
60 84
            // 
61 85
            // label1
......
65 89
            this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
66 90
            this.label1.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
67 91
            this.label1.ForeColor = System.Drawing.Color.Black;
68
            this.label1.Location = new System.Drawing.Point(390, 9);
92
            this.label1.Location = new System.Drawing.Point(422, 9);
69 93
            this.label1.Name = "label1";
70 94
            this.label1.Size = new System.Drawing.Size(500, 20);
71 95
            this.label1.TabIndex = 7;
72
            this.label1.Text = "作 業 日 報";
96
            this.label1.Text = "出 勤 日 報";
73 97
            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
74 98
            // 
75 99
            // btnLineDel
......
77 101
            this.btnLineDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
78 102
            this.btnLineDel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
79 103
            this.btnLineDel.Font = new System.Drawing.Font("MS 明朝", 9.75F, System.Drawing.FontStyle.Bold);
80
            this.btnLineDel.Location = new System.Drawing.Point(751, 656);
104
            this.btnLineDel.Location = new System.Drawing.Point(815, 635);
81 105
            this.btnLineDel.Name = "btnLineDel";
82 106
            this.btnLineDel.Size = new System.Drawing.Size(130, 30);
83 107
            this.btnLineDel.TabIndex = 100;
......
90 114
            this.btnLineAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
91 115
            this.btnLineAdd.BackColor = System.Drawing.Color.PaleGreen;
92 116
            this.btnLineAdd.Font = new System.Drawing.Font("MS 明朝", 9.75F, System.Drawing.FontStyle.Bold);
93
            this.btnLineAdd.Location = new System.Drawing.Point(613, 656);
117
            this.btnLineAdd.Location = new System.Drawing.Point(677, 635);
94 118
            this.btnLineAdd.Name = "btnLineAdd";
95 119
            this.btnLineAdd.Size = new System.Drawing.Size(130, 30);
96 120
            this.btnLineAdd.TabIndex = 99;
......
104 128
            this.btnDataDelete.BackColor = System.Drawing.Color.Red;
105 129
            this.btnDataDelete.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
106 130
            this.btnDataDelete.ForeColor = System.Drawing.Color.White;
107
            this.btnDataDelete.Location = new System.Drawing.Point(1025, 656);
131
            this.btnDataDelete.Location = new System.Drawing.Point(1089, 635);
108 132
            this.btnDataDelete.Name = "btnDataDelete";
109 133
            this.btnDataDelete.Size = new System.Drawing.Size(120, 30);
110 134
            this.btnDataDelete.TabIndex = 97;
......
117 141
            this.btnDataEntry.BackColor = System.Drawing.Color.Green;
118 142
            this.btnDataEntry.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
119 143
            this.btnDataEntry.ForeColor = System.Drawing.Color.White;
120
            this.btnDataEntry.Location = new System.Drawing.Point(899, 656);
144
            this.btnDataEntry.Location = new System.Drawing.Point(963, 635);
121 145
            this.btnDataEntry.Name = "btnDataEntry";
122 146
            this.btnDataEntry.Size = new System.Drawing.Size(120, 30);
123 147
            this.btnDataEntry.TabIndex = 96;
......
130 154
            this.btnEnd.BackColor = System.Drawing.Color.Blue;
131 155
            this.btnEnd.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
132 156
            this.btnEnd.ForeColor = System.Drawing.Color.White;
133
            this.btnEnd.Location = new System.Drawing.Point(1151, 656);
157
            this.btnEnd.Location = new System.Drawing.Point(1215, 635);
134 158
            this.btnEnd.Name = "btnEnd";
135 159
            this.btnEnd.Size = new System.Drawing.Size(120, 30);
136 160
            this.btnEnd.TabIndex = 98;
......
142 166
            // 
143 167
            this.btnOtherProc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
144 168
            this.btnOtherProc.BackColor = System.Drawing.Color.SpringGreen;
145
            this.btnOtherProc.Location = new System.Drawing.Point(7, 656);
169
            this.btnOtherProc.Location = new System.Drawing.Point(7, 635);
146 170
            this.btnOtherProc.Name = "btnOtherProc";
147 171
            this.btnOtherProc.Size = new System.Drawing.Size(160, 30);
148 172
            this.btnOtherProc.TabIndex = 101;
......
152 176
            // 
153 177
            // pnlWork
154 178
            // 
155
            this.pnlWork.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
156
            | System.Windows.Forms.AnchorStyles.Left) 
179
            this.pnlWork.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
157 180
            | System.Windows.Forms.AnchorStyles.Right)));
158 181
            this.pnlWork.BackColor = System.Drawing.Color.WhiteSmoke;
159 182
            this.pnlWork.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
160 183
            this.pnlWork.Controls.Add(this.dgvAllDisplay);
161
            this.pnlWork.Location = new System.Drawing.Point(5, 100);
184
            this.pnlWork.Location = new System.Drawing.Point(5, 122);
162 185
            this.pnlWork.Name = "pnlWork";
163
            this.pnlWork.Size = new System.Drawing.Size(1270, 540);
186
            this.pnlWork.Size = new System.Drawing.Size(1334, 500);
164 187
            this.pnlWork.TabIndex = 102;
165 188
            // 
166 189
            // dgvAllDisplay
......
173 196
            | System.Windows.Forms.AnchorStyles.Right)));
174 197
            this.dgvAllDisplay.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
175 198
            this.dgvAllDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
176
            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
177
            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
178
            dataGridViewCellStyle1.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
179
            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
180
            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
181
            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
182
            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
183
            this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
199
            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
200
            dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
201
            dataGridViewCellStyle6.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
202
            dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
203
            dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
204
            dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
205
            dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
206
            this.dgvAllDisplay.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
207
            this.dgvAllDisplay.ColumnHeadersHeight = 24;
184 208
            this.dgvAllDisplay.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
185 209
            this.dgvAllDisplay.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
186 210
            this.Column1,
187 211
            this.Column4,
188 212
            this.Column3,
189 213
            this.Column5,
190
            this.Column2});
191
            this.dgvAllDisplay.Location = new System.Drawing.Point(8, 8);
214
            this.Column2,
215
            this.Column7,
216
            this.Column6});
217
            this.dgvAllDisplay.Location = new System.Drawing.Point(5, 8);
192 218
            this.dgvAllDisplay.Name = "dgvAllDisplay";
193 219
            this.dgvAllDisplay.RowHeadersVisible = false;
194 220
            this.dgvAllDisplay.RowHeadersWidth = 20;
195 221
            this.dgvAllDisplay.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
196 222
            this.dgvAllDisplay.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
197 223
            this.dgvAllDisplay.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.Black;
198
            this.dgvAllDisplay.RowTemplate.Height = 20;
224
            this.dgvAllDisplay.RowTemplate.Height = 24;
199 225
            this.dgvAllDisplay.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
200
            this.dgvAllDisplay.Size = new System.Drawing.Size(1250, 505);
226
            this.dgvAllDisplay.Size = new System.Drawing.Size(1320, 482);
201 227
            this.dgvAllDisplay.TabIndex = 36;
202 228
            // 
203 229
            // Column1
204 230
            // 
205
            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
206
            this.Column1.DefaultCellStyle = dataGridViewCellStyle2;
231
            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
232
            this.Column1.DefaultCellStyle = dataGridViewCellStyle7;
207 233
            this.Column1.Frozen = true;
208 234
            this.Column1.HeaderText = "日付";
209 235
            this.Column1.Name = "Column1";
210 236
            this.Column1.ReadOnly = true;
211 237
            this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.False;
212 238
            this.Column1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
239
            this.Column1.Width = 70;
213 240
            // 
214 241
            // Column4
215 242
            // 
......
224 251
            // 
225 252
            // Column3
226 253
            // 
227
            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
228
            this.Column3.DefaultCellStyle = dataGridViewCellStyle3;
254
            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
255
            this.Column3.DefaultCellStyle = dataGridViewCellStyle8;
229 256
            this.Column3.Frozen = true;
230 257
            this.Column3.HeaderText = "曜日";
231 258
            this.Column3.Name = "Column3";
232 259
            this.Column3.ReadOnly = true;
233 260
            this.Column3.Resizable = System.Windows.Forms.DataGridViewTriState.False;
234 261
            this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
262
            this.Column3.Width = 80;
235 263
            // 
236 264
            // Column5
237 265
            // 
......
246 274
            // 
247 275
            // Column2
248 276
            // 
249
            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
250
            this.Column2.DefaultCellStyle = dataGridViewCellStyle4;
277
            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
278
            this.Column2.DefaultCellStyle = dataGridViewCellStyle9;
251 279
            this.Column2.Frozen = true;
252 280
            this.Column2.HeaderText = "現  場  名  称";
253 281
            this.Column2.Name = "Column2";
254 282
            this.Column2.ReadOnly = true;
255 283
            this.Column2.Resizable = System.Windows.Forms.DataGridViewTriState.False;
256 284
            this.Column2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
257
            this.Column2.Width = 1030;
285
            this.Column2.Width = 650;
258 286
            // 
287
            // Column7
288
            // 
289
            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
290
            this.Column7.DefaultCellStyle = dataGridViewCellStyle10;
291
            this.Column7.Frozen = true;
292
            this.Column7.HeaderText = "残業時間";
293
            this.Column7.Name = "Column7";
294
            this.Column7.Resizable = System.Windows.Forms.DataGridViewTriState.False;
295
            this.Column7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
296
            // 
297
            // Column6
298
            // 
299
            this.Column6.Frozen = true;
300
            this.Column6.HeaderText = "備 考";
301
            this.Column6.Name = "Column6";
302
            this.Column6.Resizable = System.Windows.Forms.DataGridViewTriState.False;
303
            this.Column6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
304
            this.Column6.Width = 400;
305
            // 
306
            // panel3
307
            // 
308
            this.panel3.Anchor = System.Windows.Forms.AnchorStyles.Top;
309
            this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
310
            this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
311
            this.panel3.Controls.Add(this.label2);
312
            this.panel3.Controls.Add(this.cmbDepartment);
313
            this.panel3.Controls.Add(this.label14);
314
            this.panel3.Controls.Add(this.cmbConstructionPerson);
315
            this.panel3.Controls.Add(this.label15);
316
            this.panel3.Controls.Add(this.label13);
317
            this.panel3.Controls.Add(this.label12);
318
            this.panel3.Controls.Add(this.label10);
319
            this.panel3.Controls.Add(this.label11);
320
            this.panel3.Controls.Add(this.label9);
321
            this.panel3.Controls.Add(this.label8);
322
            this.panel3.Controls.Add(this.label7);
323
            this.panel3.Controls.Add(this.label5);
324
            this.panel3.Controls.Add(this.comboBox1);
325
            this.panel3.Controls.Add(this.label6);
326
            this.panel3.Controls.Add(this.label4);
327
            this.panel3.Controls.Add(this.label3);
328
            this.panel3.Controls.Add(this.pnlApproval);
329
            this.panel3.Controls.Add(this.pnlApprovalButton);
330
            this.panel3.Location = new System.Drawing.Point(6, 40);
331
            this.panel3.Name = "panel3";
332
            this.panel3.Size = new System.Drawing.Size(1325, 74);
333
            this.panel3.TabIndex = 104;
334
            // 
335
            // label2
336
            // 
337
            this.label2.BackColor = System.Drawing.Color.LemonChiffon;
338
            this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
339
            this.label2.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
340
            this.label2.ForeColor = System.Drawing.Color.Black;
341
            this.label2.Location = new System.Drawing.Point(692, 39);
342
            this.label2.Name = "label2";
343
            this.label2.Size = new System.Drawing.Size(54, 27);
344
            this.label2.TabIndex = 127;
345
            this.label2.Text = "時間";
346
            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
347
            // 
348
            // cmbDepartment
349
            // 
350
            this.cmbDepartment.BackColor = System.Drawing.Color.White;
351
            this.cmbDepartment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
352
            this.cmbDepartment.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
353
            this.cmbDepartment.Font = new System.Drawing.Font("MS 明朝", 15.75F, System.Drawing.FontStyle.Bold);
354
            this.cmbDepartment.FormattingEnabled = true;
355
            this.cmbDepartment.Location = new System.Drawing.Point(437, 4);
356
            this.cmbDepartment.Name = "cmbDepartment";
357
            this.cmbDepartment.Size = new System.Drawing.Size(260, 29);
358
            this.cmbDepartment.TabIndex = 123;
359
            this.cmbDepartment.TextChanged += new System.EventHandler(this.cmbDepartment_TextChanged);
360
            // 
361
            // label14
362
            // 
363
            this.label14.BackColor = System.Drawing.Color.SandyBrown;
364
            this.label14.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
365
            this.label14.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
366
            this.label14.ForeColor = System.Drawing.Color.Black;
367
            this.label14.Location = new System.Drawing.Point(309, 5);
368
            this.label14.Name = "label14";
369
            this.label14.Size = new System.Drawing.Size(120, 27);
370
            this.label14.TabIndex = 126;
371
            this.label14.Text = "担当部署";
372
            this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
373
            // 
374
            // cmbConstructionPerson
375
            // 
376
            this.cmbConstructionPerson.BackColor = System.Drawing.Color.White;
377
            this.cmbConstructionPerson.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
378
            this.cmbConstructionPerson.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
379
            this.cmbConstructionPerson.Font = new System.Drawing.Font("MS 明朝", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
380
            this.cmbConstructionPerson.FormattingEnabled = true;
381
            this.cmbConstructionPerson.Location = new System.Drawing.Point(841, 4);
382
            this.cmbConstructionPerson.Name = "cmbConstructionPerson";
383
            this.cmbConstructionPerson.Size = new System.Drawing.Size(200, 29);
384
            this.cmbConstructionPerson.TabIndex = 124;
385
            this.cmbConstructionPerson.TextChanged += new System.EventHandler(this.cmbConstructionPerson_TextChanged);
386
            // 
387
            // label15
388
            // 
389
            this.label15.BackColor = System.Drawing.Color.SandyBrown;
390
            this.label15.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
391
            this.label15.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
392
            this.label15.ForeColor = System.Drawing.Color.Black;
393
            this.label15.Location = new System.Drawing.Point(713, 5);
394
            this.label15.Name = "label15";
395
            this.label15.Size = new System.Drawing.Size(120, 27);
396
            this.label15.TabIndex = 125;
397
            this.label15.Text = "担 当 者";
398
            this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
399
            // 
400
            // label13
401
            // 
402
            this.label13.BackColor = System.Drawing.Color.White;
403
            this.label13.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
404
            this.label13.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
405
            this.label13.Location = new System.Drawing.Point(632, 39);
406
            this.label13.Name = "label13";
407
            this.label13.Size = new System.Drawing.Size(60, 27);
408
            this.label13.TabIndex = 122;
409
            this.label13.Text = "999";
410
            this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
411
            // 
412
            // label12
413
            // 
414
            this.label12.BackColor = System.Drawing.Color.LemonChiffon;
415
            this.label12.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
416
            this.label12.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
417
            this.label12.ForeColor = System.Drawing.Color.Black;
418
            this.label12.Location = new System.Drawing.Point(469, 39);
419
            this.label12.Name = "label12";
420
            this.label12.Size = new System.Drawing.Size(27, 27);
421
            this.label12.TabIndex = 121;
422
            this.label12.Text = "日";
423
            this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
424
            // 
425
            // label10
426
            // 
427
            this.label10.BackColor = System.Drawing.Color.LemonChiffon;
428
            this.label10.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
429
            this.label10.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
430
            this.label10.ForeColor = System.Drawing.Color.Black;
431
            this.label10.Location = new System.Drawing.Point(272, 39);
432
            this.label10.Name = "label10";
433
            this.label10.Size = new System.Drawing.Size(27, 27);
434
            this.label10.TabIndex = 120;
435
            this.label10.Text = "日";
436
            this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
437
            // 
438
            // label11
439
            // 
440
            this.label11.BackColor = System.Drawing.Color.Transparent;
441
            this.label11.Font = new System.Drawing.Font("MS 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
442
            this.label11.ForeColor = System.Drawing.Color.Black;
443
            this.label11.Location = new System.Drawing.Point(200, 39);
444
            this.label11.Name = "label11";
445
            this.label11.Size = new System.Drawing.Size(32, 27);
446
            this.label11.TabIndex = 120;
447
            this.label11.Text = "~";
448
            this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
449
            // 
450
            // label9
451
            // 
452
            this.label9.BackColor = System.Drawing.Color.LemonChiffon;
453
            this.label9.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
454
            this.label9.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
455
            this.label9.ForeColor = System.Drawing.Color.Black;
456
            this.label9.Location = new System.Drawing.Point(173, 39);
457
            this.label9.Name = "label9";
458
            this.label9.Size = new System.Drawing.Size(27, 27);
459
            this.label9.TabIndex = 120;
460
            this.label9.Text = "日";
461
            this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
462
            // 
463
            // label8
464
            // 
465
            this.label8.BackColor = System.Drawing.Color.White;
466
            this.label8.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
467
            this.label8.Font = new System.Drawing.Font("Century", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
468
            this.label8.Location = new System.Drawing.Point(232, 39);
469
            this.label8.Name = "label8";
470
            this.label8.Size = new System.Drawing.Size(40, 27);
471
            this.label8.TabIndex = 119;
472
            this.label8.Text = "99";
473
            this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
474
            // 
475
            // label7
476
            // 
477
            this.label7.BackColor = System.Drawing.Color.White;
478
            this.label7.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
479
            this.label7.Font = new System.Drawing.Font("Century", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
480
            this.label7.Location = new System.Drawing.Point(133, 39);
481
            this.label7.Name = "label7";
482
            this.label7.Size = new System.Drawing.Size(40, 27);
483
            this.label7.TabIndex = 119;
484
            this.label7.Text = "99";
485
            this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
486
            // 
487
            // label5
488
            // 
489
            this.label5.BackColor = System.Drawing.Color.LemonChiffon;
490
            this.label5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
491
            this.label5.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
492
            this.label5.ForeColor = System.Drawing.Color.Black;
493
            this.label5.Location = new System.Drawing.Point(512, 39);
494
            this.label5.Name = "label5";
495
            this.label5.Size = new System.Drawing.Size(120, 27);
496
            this.label5.TabIndex = 117;
497
            this.label5.Text = "残業時間";
498
            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
499
            // 
500
            // comboBox1
501
            // 
502
            this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
503
            this.comboBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
504
            this.comboBox1.Font = new System.Drawing.Font("MS 明朝", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
505
            this.comboBox1.FormattingEnabled = true;
506
            this.comboBox1.Location = new System.Drawing.Point(133, 4);
507
            this.comboBox1.Name = "comboBox1";
508
            this.comboBox1.Size = new System.Drawing.Size(160, 29);
509
            this.comboBox1.TabIndex = 114;
510
            // 
259 511
            // label6
260 512
            // 
261
            this.label6.BackColor = System.Drawing.Color.LemonChiffon;
513
            this.label6.BackColor = System.Drawing.Color.SandyBrown;
262 514
            this.label6.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
263 515
            this.label6.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
264 516
            this.label6.ForeColor = System.Drawing.Color.Black;
265
            this.label6.Location = new System.Drawing.Point(6, 16);
517
            this.label6.Location = new System.Drawing.Point(5, 5);
266 518
            this.label6.Name = "label6";
267 519
            this.label6.Size = new System.Drawing.Size(120, 27);
268
            this.label6.TabIndex = 43;
269
            this.label6.Text = "作業年月";
520
            this.label6.TabIndex = 111;
521
            this.label6.Text = "対象年月";
270 522
            this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
271 523
            // 
272
            // label2
524
            // label4
273 525
            // 
274
            this.label2.BackColor = System.Drawing.Color.White;
275
            this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
276
            this.label2.ForeColor = System.Drawing.Color.Black;
277
            this.label2.Location = new System.Drawing.Point(134, 17);
278
            this.label2.Name = "label2";
279
            this.label2.Size = new System.Drawing.Size(160, 25);
280
            this.label2.TabIndex = 44;
281
            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
526
            this.label4.BackColor = System.Drawing.Color.White;
527
            this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
528
            this.label4.Font = new System.Drawing.Font("Century", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
529
            this.label4.Location = new System.Drawing.Point(429, 39);
530
            this.label4.Name = "label4";
531
            this.label4.Size = new System.Drawing.Size(40, 27);
532
            this.label4.TabIndex = 113;
533
            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
282 534
            // 
283 535
            // label3
284 536
            // 
......
286 538
            this.label3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
287 539
            this.label3.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
288 540
            this.label3.ForeColor = System.Drawing.Color.Black;
289
            this.label3.Location = new System.Drawing.Point(318, 16);
541
            this.label3.Location = new System.Drawing.Point(309, 39);
290 542
            this.label3.Name = "label3";
291 543
            this.label3.Size = new System.Drawing.Size(120, 27);
292
            this.label3.TabIndex = 45;
544
            this.label3.TabIndex = 112;
293 545
            this.label3.Text = "出勤日数";
294 546
            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
295 547
            // 
296
            // label4
548
            // pnlApproval
297 549
            // 
298
            this.label4.BackColor = System.Drawing.Color.White;
299
            this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
300
            this.label4.Location = new System.Drawing.Point(446, 17);
301
            this.label4.Name = "label4";
302
            this.label4.Size = new System.Drawing.Size(80, 25);
303
            this.label4.TabIndex = 46;
304
            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
550
            this.pnlApproval.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
551
            this.pnlApproval.BackColor = System.Drawing.Color.White;
552
            this.pnlApproval.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
553
            this.pnlApproval.Controls.Add(this.lblApprovalCount);
554
            this.pnlApproval.Controls.Add(this.btnPetition);
555
            this.pnlApproval.Controls.Add(this.btnApproval);
556
            this.pnlApproval.Location = new System.Drawing.Point(1056, 0);
557
            this.pnlApproval.Name = "pnlApproval";
558
            this.pnlApproval.Size = new System.Drawing.Size(262, 34);
559
            this.pnlApproval.TabIndex = 109;
560
            this.pnlApproval.Visible = false;
305 561
            // 
306
            // groupBox1
562
            // lblApprovalCount
307 563
            // 
308
            this.groupBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
309
            this.groupBox1.Controls.Add(this.textBox1);
310
            this.groupBox1.Controls.Add(this.label5);
311
            this.groupBox1.Controls.Add(this.label6);
312
            this.groupBox1.Controls.Add(this.label4);
313
            this.groupBox1.Controls.Add(this.label2);
314
            this.groupBox1.Controls.Add(this.label3);
315
            this.groupBox1.ForeColor = System.Drawing.Color.White;
316
            this.groupBox1.Location = new System.Drawing.Point(5, 40);
317
            this.groupBox1.Name = "groupBox1";
318
            this.groupBox1.Size = new System.Drawing.Size(1270, 50);
319
            this.groupBox1.TabIndex = 103;
320
            this.groupBox1.TabStop = false;
564
            this.lblApprovalCount.BackColor = System.Drawing.Color.Black;
565
            this.lblApprovalCount.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
566
            this.lblApprovalCount.ForeColor = System.Drawing.Color.White;
567
            this.lblApprovalCount.Location = new System.Drawing.Point(205, 3);
568
            this.lblApprovalCount.Name = "lblApprovalCount";
569
            this.lblApprovalCount.Size = new System.Drawing.Size(50, 24);
570
            this.lblApprovalCount.TabIndex = 1;
571
            this.lblApprovalCount.Text = "4/5";
572
            this.lblApprovalCount.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
321 573
            // 
322
            // textBox1
574
            // btnPetition
323 575
            // 
324
            this.textBox1.Font = new System.Drawing.Font("MS 明朝", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
325
            this.textBox1.Location = new System.Drawing.Point(678, 16);
326
            this.textBox1.Name = "textBox1";
327
            this.textBox1.Size = new System.Drawing.Size(89, 26);
328
            this.textBox1.TabIndex = 48;
576
            this.btnPetition.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
577
            | System.Windows.Forms.AnchorStyles.Right)));
578
            this.btnPetition.BackColor = System.Drawing.Color.White;
579
            this.btnPetition.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
580
            this.btnPetition.ForeColor = System.Drawing.Color.Red;
581
            this.btnPetition.Location = new System.Drawing.Point(3, 3);
582
            this.btnPetition.Name = "btnPetition";
583
            this.btnPetition.Size = new System.Drawing.Size(100, 24);
584
            this.btnPetition.TabIndex = 12;
585
            this.btnPetition.Text = "未申請";
586
            this.btnPetition.UseVisualStyleBackColor = false;
329 587
            // 
330
            // label5
588
            // btnApproval
331 589
            // 
332
            this.label5.BackColor = System.Drawing.Color.Orange;
333
            this.label5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
334
            this.label5.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
335
            this.label5.ForeColor = System.Drawing.Color.Black;
336
            this.label5.Location = new System.Drawing.Point(550, 16);
337
            this.label5.Name = "label5";
338
            this.label5.Size = new System.Drawing.Size(120, 27);
339
            this.label5.TabIndex = 47;
340
            this.label5.Text = "残業時間";
341
            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
590
            this.btnApproval.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
591
            this.btnApproval.BackColor = System.Drawing.Color.White;
592
            this.btnApproval.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
593
            this.btnApproval.ForeColor = System.Drawing.Color.Red;
594
            this.btnApproval.Location = new System.Drawing.Point(104, 3);
595
            this.btnApproval.Name = "btnApproval";
596
            this.btnApproval.Size = new System.Drawing.Size(100, 24);
597
            this.btnApproval.TabIndex = 12;
598
            this.btnApproval.Text = "未承認";
599
            this.btnApproval.UseVisualStyleBackColor = false;
342 600
            // 
601
            // pnlApprovalButton
602
            // 
603
            this.pnlApprovalButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
604
            this.pnlApprovalButton.AutoSize = true;
605
            this.pnlApprovalButton.BackColor = System.Drawing.Color.White;
606
            this.pnlApprovalButton.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
607
            this.pnlApprovalButton.Controls.Add(this.btnOnApproval);
608
            this.pnlApprovalButton.Controls.Add(this.btnNotApproval);
609
            this.pnlApprovalButton.Controls.Add(this.btnOnHold);
610
            this.pnlApprovalButton.Location = new System.Drawing.Point(1056, 0);
611
            this.pnlApprovalButton.Name = "pnlApprovalButton";
612
            this.pnlApprovalButton.Size = new System.Drawing.Size(262, 34);
613
            this.pnlApprovalButton.TabIndex = 110;
614
            this.pnlApprovalButton.Visible = false;
615
            // 
616
            // btnOnApproval
617
            // 
618
            this.btnOnApproval.BackColor = System.Drawing.Color.MediumSpringGreen;
619
            this.btnOnApproval.Location = new System.Drawing.Point(5, 3);
620
            this.btnOnApproval.Name = "btnOnApproval";
621
            this.btnOnApproval.Size = new System.Drawing.Size(83, 24);
622
            this.btnOnApproval.TabIndex = 34;
623
            this.btnOnApproval.TabStop = false;
624
            this.btnOnApproval.Text = "承認";
625
            this.btnOnApproval.UseVisualStyleBackColor = false;
626
            // 
627
            // btnNotApproval
628
            // 
629
            this.btnNotApproval.BackColor = System.Drawing.Color.Red;
630
            this.btnNotApproval.Location = new System.Drawing.Point(171, 3);
631
            this.btnNotApproval.Name = "btnNotApproval";
632
            this.btnNotApproval.Size = new System.Drawing.Size(83, 24);
633
            this.btnNotApproval.TabIndex = 35;
634
            this.btnNotApproval.TabStop = false;
635
            this.btnNotApproval.Text = "不承認";
636
            this.btnNotApproval.UseVisualStyleBackColor = false;
637
            // 
638
            // btnOnHold
639
            // 
640
            this.btnOnHold.BackColor = System.Drawing.Color.Yellow;
641
            this.btnOnHold.Location = new System.Drawing.Point(88, 3);
642
            this.btnOnHold.Name = "btnOnHold";
643
            this.btnOnHold.Size = new System.Drawing.Size(83, 24);
644
            this.btnOnHold.TabIndex = 36;
645
            this.btnOnHold.TabStop = false;
646
            this.btnOnHold.Text = "保留";
647
            this.btnOnHold.UseVisualStyleBackColor = false;
648
            // 
343 649
            // FrmDRWork
344 650
            // 
345 651
            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
346 652
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
347 653
            this.BackColor = System.Drawing.Color.Black;
348
            this.ClientSize = new System.Drawing.Size(1280, 692);
349
            this.Controls.Add(this.groupBox1);
654
            this.ClientSize = new System.Drawing.Size(1344, 677);
655
            this.Controls.Add(this.panel3);
350 656
            this.Controls.Add(this.pnlWork);
351 657
            this.Controls.Add(this.btnOtherProc);
352 658
            this.Controls.Add(this.btnLineDel);
......
361 667
            this.Name = "FrmDRWork";
362 668
            this.ShowIcon = false;
363 669
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
364
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmTAndPCosts_FormClosing);
365
            this.Load += new System.EventHandler(this.FrmTAndPCosts_Load);
670
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmDRWork_FormClosing);
671
            this.Load += new System.EventHandler(this.FrmDRWork_Load);
366 672
            this.pnlWork.ResumeLayout(false);
367 673
            ((System.ComponentModel.ISupportInitialize)(this.dgvAllDisplay)).EndInit();
368
            this.groupBox1.ResumeLayout(false);
369
            this.groupBox1.PerformLayout();
674
            this.panel3.ResumeLayout(false);
675
            this.panel3.PerformLayout();
676
            this.pnlApproval.ResumeLayout(false);
677
            this.pnlApprovalButton.ResumeLayout(false);
370 678
            this.ResumeLayout(false);
371 679

  
372 680
        }
......
382 690
        private System.Windows.Forms.Button btnOtherProc;
383 691
        private System.Windows.Forms.Panel pnlWork;
384 692
        private CustomControls.DataGridViewEX dgvAllDisplay;
693
        private System.Windows.Forms.Panel panel3;
694
        private System.Windows.Forms.Panel pnlApproval;
695
        private System.Windows.Forms.Label lblApprovalCount;
696
        private System.Windows.Forms.Button btnPetition;
697
        private System.Windows.Forms.Button btnApproval;
698
        private System.Windows.Forms.Panel pnlApprovalButton;
699
        private System.Windows.Forms.Button btnOnApproval;
700
        private System.Windows.Forms.Button btnNotApproval;
701
        private System.Windows.Forms.Button btnOnHold;
702
        private System.Windows.Forms.Label label5;
703
        private CustomControls.ComboBoxEX comboBox1;
... 差分の行数が表示可能な上限を超えました。超過分は表示しません。

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