プロジェクト

全般

プロフィール

リビジョン 66

山内7年以上前に追加

MySQL版(branches)請求入力テスト中

差分を表示:

tags/src_20170418/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInput.Designer.cs
1
namespace ProcessManagement.Forms.DataEntry
2
{
3
    partial class FrmRequestInput
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 dataGridViewCellStyle148 = new System.Windows.Forms.DataGridViewCellStyle();
32
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle149 = new System.Windows.Forms.DataGridViewCellStyle();
33
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle150 = new System.Windows.Forms.DataGridViewCellStyle();
34
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle151 = new System.Windows.Forms.DataGridViewCellStyle();
35
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle152 = new System.Windows.Forms.DataGridViewCellStyle();
36
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle153 = new System.Windows.Forms.DataGridViewCellStyle();
37
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle154 = new System.Windows.Forms.DataGridViewCellStyle();
38
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle155 = new System.Windows.Forms.DataGridViewCellStyle();
39
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle156 = new System.Windows.Forms.DataGridViewCellStyle();
40
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle157 = new System.Windows.Forms.DataGridViewCellStyle();
41
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle158 = new System.Windows.Forms.DataGridViewCellStyle();
42
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle159 = new System.Windows.Forms.DataGridViewCellStyle();
43
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle160 = new System.Windows.Forms.DataGridViewCellStyle();
44
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle161 = new System.Windows.Forms.DataGridViewCellStyle();
45
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle162 = new System.Windows.Forms.DataGridViewCellStyle();
46
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle163 = new System.Windows.Forms.DataGridViewCellStyle();
47
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle164 = new System.Windows.Forms.DataGridViewCellStyle();
48
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle165 = new System.Windows.Forms.DataGridViewCellStyle();
49
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle166 = new System.Windows.Forms.DataGridViewCellStyle();
50
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle167 = new System.Windows.Forms.DataGridViewCellStyle();
51
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle168 = new System.Windows.Forms.DataGridViewCellStyle();
52
            this.label3 = new System.Windows.Forms.Label();
53
            this.dgv1 = new System.Windows.Forms.DataGridView();
54
            this.col001 = new System.Windows.Forms.DataGridViewTextBoxColumn();
55
            this.col002 = new System.Windows.Forms.DataGridViewTextBoxColumn();
56
            this.col003 = new System.Windows.Forms.DataGridViewTextBoxColumn();
57
            this.col004 = new System.Windows.Forms.DataGridViewTextBoxColumn();
58
            this.col005 = new System.Windows.Forms.DataGridViewTextBoxColumn();
59
            this.col006 = new System.Windows.Forms.DataGridViewTextBoxColumn();
60
            this.col007 = new System.Windows.Forms.DataGridViewTextBoxColumn();
61
            this.col008 = new System.Windows.Forms.DataGridViewTextBoxColumn();
62
            this.col009 = new System.Windows.Forms.DataGridViewTextBoxColumn();
63
            this.col010 = new System.Windows.Forms.DataGridViewTextBoxColumn();
64
            this.col011 = new System.Windows.Forms.DataGridViewTextBoxColumn();
65
            this.col12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
66
            this.col13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
67
            this.col14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
68
            this.col15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
69
            this.col16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
70
            this.col17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
71
            this.col18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
72
            this.col19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
73
            this.col20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
74
            this.col21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
75
            this.col22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
76
            this.col23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
77
            this.col098 = new System.Windows.Forms.DataGridViewTextBoxColumn();
78
            this.col99 = new System.Windows.Forms.DataGridViewTextBoxColumn();
79
            this.label2 = new System.Windows.Forms.Label();
80
            this.btnEntry = new System.Windows.Forms.Button();
81
            this.btnEnd = new System.Windows.Forms.Button();
82
            this.btnAdd = new System.Windows.Forms.Button();
83
            this.btnOtherProc = new System.Windows.Forms.Button();
84
            this.lblStatus = new System.Windows.Forms.Label();
85
            this.label4 = new System.Windows.Forms.Label();
86
            this.cbReqMonth = new System.Windows.Forms.ComboBox();
87
            this.label5 = new System.Windows.Forms.Label();
88
            this.lblReqOrder = new System.Windows.Forms.Label();
89
            this.btnApproval = new System.Windows.Forms.Button();
90
            this.txtOrderer = new System.Windows.Forms.TextBox();
91
            this.button1 = new System.Windows.Forms.Button();
92
            this.pnlNormal = new System.Windows.Forms.Panel();
93
            this.pnlApproval = new System.Windows.Forms.Panel();
94
            this.btnDeny = new System.Windows.Forms.Button();
95
            this.btnPend = new System.Windows.Forms.Button();
96
            this.btnAgree = new System.Windows.Forms.Button();
97
            ((System.ComponentModel.ISupportInitialize)(this.dgv1)).BeginInit();
98
            this.pnlNormal.SuspendLayout();
99
            this.pnlApproval.SuspendLayout();
100
            this.SuspendLayout();
101
            // 
102
            // label3
103
            // 
104
            this.label3.BackColor = System.Drawing.Color.White;
105
            this.label3.Font = new System.Drawing.Font("MS Pゴシック", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
106
            this.label3.Location = new System.Drawing.Point(510, 14);
107
            this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
108
            this.label3.Name = "label3";
109
            this.label3.Size = new System.Drawing.Size(340, 38);
110
            this.label3.TabIndex = 3;
111
            this.label3.Text = "請  求  入  力";
112
            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
113
            // 
114
            // dgv1
115
            // 
116
            this.dgv1.AllowUserToAddRows = false;
117
            this.dgv1.ColumnHeadersHeight = 34;
118
            this.dgv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
119
            this.dgv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
120
            this.col001,
121
            this.col002,
122
            this.col003,
123
            this.col004,
124
            this.col005,
125
            this.col006,
126
            this.col007,
127
            this.col008,
128
            this.col009,
129
            this.col010,
130
            this.col011,
131
            this.col12,
132
            this.col13,
133
            this.col14,
134
            this.col15,
135
            this.col16,
136
            this.col17,
137
            this.col18,
138
            this.col19,
139
            this.col20,
140
            this.col21,
141
            this.col22,
142
            this.col23,
143
            this.col098,
144
            this.col99});
145
            this.dgv1.Location = new System.Drawing.Point(12, 98);
146
            this.dgv1.Name = "dgv1";
147
            this.dgv1.RowHeadersWidth = 24;
148
            this.dgv1.RowTemplate.Height = 21;
149
            this.dgv1.Size = new System.Drawing.Size(1308, 455);
150
            this.dgv1.TabIndex = 4;
151
            this.dgv1.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dgv1_CellBeginEdit);
152
            this.dgv1.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dgv1_CellFormatting);
153
            this.dgv1.CellValidating += new System.Windows.Forms.DataGridViewCellValidatingEventHandler(this.dgv1_CellValidating);
154
            this.dgv1.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv1_CellValueChanged);
155
            // 
156
            // col001
157
            // 
158
            this.col001.Frozen = true;
159
            this.col001.HeaderText = "";
160
            this.col001.Name = "col001";
161
            this.col001.Visible = false;
162
            this.col001.Width = 60;
163
            // 
164
            // col002
165
            // 
166
            this.col002.Frozen = true;
167
            this.col002.HeaderText = "";
168
            this.col002.Name = "col002";
169
            this.col002.Visible = false;
170
            // 
171
            // col003
172
            // 
173
            this.col003.Frozen = true;
174
            this.col003.HeaderText = "";
175
            this.col003.Name = "col003";
176
            this.col003.Visible = false;
177
            this.col003.Width = 120;
178
            // 
179
            // col004
180
            // 
181
            this.col004.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
182
            dataGridViewCellStyle148.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
183
            dataGridViewCellStyle148.BackColor = System.Drawing.SystemColors.Control;
184
            this.col004.DefaultCellStyle = dataGridViewCellStyle148;
185
            this.col004.Frozen = true;
186
            this.col004.HeaderText = "";
187
            this.col004.Name = "col004";
188
            this.col004.ReadOnly = true;
189
            this.col004.Resizable = System.Windows.Forms.DataGridViewTriState.False;
190
            this.col004.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
191
            this.col004.Width = 80;
192
            // 
193
            // col005
194
            // 
195
            dataGridViewCellStyle149.BackColor = System.Drawing.Color.White;
196
            this.col005.DefaultCellStyle = dataGridViewCellStyle149;
197
            this.col005.Frozen = true;
198
            this.col005.HeaderText = "";
199
            this.col005.Name = "col005";
200
            this.col005.ReadOnly = true;
201
            this.col005.Resizable = System.Windows.Forms.DataGridViewTriState.False;
202
            this.col005.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
203
            this.col005.Width = 340;
204
            // 
205
            // col006
206
            // 
207
            dataGridViewCellStyle150.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
208
            dataGridViewCellStyle150.BackColor = System.Drawing.Color.White;
209
            this.col006.DefaultCellStyle = dataGridViewCellStyle150;
210
            this.col006.Frozen = true;
211
            this.col006.HeaderText = "受注金額";
212
            this.col006.Name = "col006";
213
            this.col006.ReadOnly = true;
214
            this.col006.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
215
            this.col006.Width = 120;
216
            // 
217
            // col007
218
            // 
219
            dataGridViewCellStyle151.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
220
            dataGridViewCellStyle151.BackColor = System.Drawing.SystemColors.Control;
221
            this.col007.DefaultCellStyle = dataGridViewCellStyle151;
222
            this.col007.Frozen = true;
223
            this.col007.HeaderText = "";
224
            this.col007.Name = "col007";
225
            this.col007.ReadOnly = true;
226
            this.col007.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
227
            this.col007.Width = 120;
228
            // 
229
            // col008
230
            // 
231
            dataGridViewCellStyle152.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
232
            this.col008.DefaultCellStyle = dataGridViewCellStyle152;
233
            this.col008.FillWeight = 120F;
234
            this.col008.Frozen = true;
235
            this.col008.HeaderText = "合計";
236
            this.col008.Name = "col008";
237
            this.col008.ReadOnly = true;
238
            this.col008.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
239
            this.col008.Width = 120;
240
            // 
241
            // col009
242
            // 
243
            dataGridViewCellStyle153.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
244
            this.col009.DefaultCellStyle = dataGridViewCellStyle153;
245
            this.col009.HeaderText = "1回目";
246
            this.col009.Name = "col009";
247
            this.col009.ReadOnly = true;
248
            this.col009.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
249
            this.col009.Width = 120;
250
            // 
251
            // col010
252
            // 
253
            dataGridViewCellStyle154.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
254
            this.col010.DefaultCellStyle = dataGridViewCellStyle154;
255
            this.col010.HeaderText = "2回目";
256
            this.col010.Name = "col010";
257
            this.col010.ReadOnly = true;
258
            this.col010.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
259
            this.col010.Width = 120;
260
            // 
261
            // col011
262
            // 
263
            dataGridViewCellStyle155.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
264
            this.col011.DefaultCellStyle = dataGridViewCellStyle155;
265
            this.col011.HeaderText = "3回目";
266
            this.col011.Name = "col011";
267
            this.col011.ReadOnly = true;
268
            this.col011.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
269
            this.col011.Width = 120;
270
            // 
271
            // col12
272
            // 
273
            dataGridViewCellStyle156.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
274
            this.col12.DefaultCellStyle = dataGridViewCellStyle156;
275
            this.col12.HeaderText = "4回目";
276
            this.col12.Name = "col12";
277
            this.col12.ReadOnly = true;
278
            this.col12.Resizable = System.Windows.Forms.DataGridViewTriState.False;
279
            this.col12.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
280
            this.col12.Width = 120;
281
            // 
282
            // col13
283
            // 
284
            dataGridViewCellStyle157.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
285
            this.col13.DefaultCellStyle = dataGridViewCellStyle157;
286
            this.col13.HeaderText = "5回目";
287
            this.col13.Name = "col13";
288
            this.col13.ReadOnly = true;
289
            this.col13.Resizable = System.Windows.Forms.DataGridViewTriState.False;
290
            this.col13.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
291
            this.col13.Width = 120;
292
            // 
293
            // col14
294
            // 
295
            dataGridViewCellStyle158.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
296
            this.col14.DefaultCellStyle = dataGridViewCellStyle158;
297
            this.col14.HeaderText = "6回目";
298
            this.col14.Name = "col14";
299
            this.col14.ReadOnly = true;
300
            this.col14.Resizable = System.Windows.Forms.DataGridViewTriState.False;
301
            this.col14.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
302
            this.col14.Width = 120;
303
            // 
304
            // col15
305
            // 
306
            dataGridViewCellStyle159.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
307
            this.col15.DefaultCellStyle = dataGridViewCellStyle159;
308
            this.col15.HeaderText = "7回目";
309
            this.col15.Name = "col15";
310
            this.col15.ReadOnly = true;
311
            this.col15.Resizable = System.Windows.Forms.DataGridViewTriState.False;
312
            this.col15.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
313
            this.col15.Width = 120;
314
            // 
315
            // col16
316
            // 
317
            dataGridViewCellStyle160.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
318
            this.col16.DefaultCellStyle = dataGridViewCellStyle160;
319
            this.col16.HeaderText = "8回目";
320
            this.col16.Name = "col16";
321
            this.col16.ReadOnly = true;
322
            this.col16.Resizable = System.Windows.Forms.DataGridViewTriState.False;
323
            this.col16.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
324
            this.col16.Width = 120;
325
            // 
326
            // col17
327
            // 
328
            dataGridViewCellStyle161.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
329
            this.col17.DefaultCellStyle = dataGridViewCellStyle161;
330
            this.col17.HeaderText = "9回目";
331
            this.col17.Name = "col17";
332
            this.col17.ReadOnly = true;
333
            this.col17.Resizable = System.Windows.Forms.DataGridViewTriState.False;
334
            this.col17.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
335
            this.col17.Width = 120;
336
            // 
337
            // col18
338
            // 
339
            dataGridViewCellStyle162.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
340
            this.col18.DefaultCellStyle = dataGridViewCellStyle162;
341
            this.col18.HeaderText = "10回目";
342
            this.col18.Name = "col18";
343
            this.col18.ReadOnly = true;
344
            this.col18.Resizable = System.Windows.Forms.DataGridViewTriState.False;
345
            this.col18.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
346
            this.col18.Width = 120;
347
            // 
348
            // col19
349
            // 
350
            dataGridViewCellStyle163.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
351
            this.col19.DefaultCellStyle = dataGridViewCellStyle163;
352
            this.col19.HeaderText = "11回目";
353
            this.col19.Name = "col19";
354
            this.col19.ReadOnly = true;
355
            this.col19.Resizable = System.Windows.Forms.DataGridViewTriState.False;
356
            this.col19.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
357
            this.col19.Width = 120;
358
            // 
359
            // col20
360
            // 
361
            dataGridViewCellStyle164.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
362
            this.col20.DefaultCellStyle = dataGridViewCellStyle164;
363
            this.col20.HeaderText = "12回目";
364
            this.col20.Name = "col20";
365
            this.col20.ReadOnly = true;
366
            this.col20.Resizable = System.Windows.Forms.DataGridViewTriState.False;
367
            this.col20.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
368
            this.col20.Width = 120;
369
            // 
370
            // col21
371
            // 
372
            dataGridViewCellStyle165.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
373
            this.col21.DefaultCellStyle = dataGridViewCellStyle165;
374
            this.col21.HeaderText = "13回目";
375
            this.col21.Name = "col21";
376
            this.col21.ReadOnly = true;
377
            this.col21.Resizable = System.Windows.Forms.DataGridViewTriState.False;
378
            this.col21.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
379
            this.col21.Width = 120;
380
            // 
381
            // col22
382
            // 
383
            dataGridViewCellStyle166.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
384
            this.col22.DefaultCellStyle = dataGridViewCellStyle166;
385
            this.col22.HeaderText = "14回目";
386
            this.col22.Name = "col22";
387
            this.col22.ReadOnly = true;
388
            this.col22.Resizable = System.Windows.Forms.DataGridViewTriState.False;
389
            this.col22.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
390
            this.col22.Width = 120;
391
            // 
392
            // col23
393
            // 
394
            dataGridViewCellStyle167.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
395
            this.col23.DefaultCellStyle = dataGridViewCellStyle167;
396
            this.col23.HeaderText = "15回目";
397
            this.col23.Name = "col23";
398
            this.col23.ReadOnly = true;
399
            this.col23.Resizable = System.Windows.Forms.DataGridViewTriState.False;
400
            this.col23.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
401
            this.col23.Width = 120;
402
            // 
403
            // col098
404
            // 
405
            dataGridViewCellStyle168.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
406
            this.col098.DefaultCellStyle = dataGridViewCellStyle168;
407
            this.col098.HeaderText = "残り";
408
            this.col098.Name = "col098";
409
            this.col098.ReadOnly = true;
410
            this.col098.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
411
            this.col098.Width = 120;
412
            // 
413
            // col99
414
            // 
415
            this.col99.HeaderText = "コメント";
416
            this.col99.MaxInputLength = 120;
417
            this.col99.Name = "col99";
418
            this.col99.ReadOnly = true;
419
            this.col99.Resizable = System.Windows.Forms.DataGridViewTriState.False;
420
            this.col99.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
421
            this.col99.Width = 240;
422
            // 
423
            // label2
424
            // 
425
            this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
426
            this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
427
            this.label2.CausesValidation = false;
428
            this.label2.Font = new System.Drawing.Font("MS 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
429
            this.label2.Location = new System.Drawing.Point(12, 63);
430
            this.label2.Name = "label2";
431
            this.label2.Size = new System.Drawing.Size(100, 25);
432
            this.label2.TabIndex = 7;
433
            this.label2.Text = "請求先";
434
            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
435
            // 
436
            // btnEntry
437
            // 
438
            this.btnEntry.BackColor = System.Drawing.Color.GreenYellow;
439
            this.btnEntry.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
440
            this.btnEntry.ForeColor = System.Drawing.Color.Black;
441
            this.btnEntry.Location = new System.Drawing.Point(1071, 562);
442
            this.btnEntry.Name = "btnEntry";
443
            this.btnEntry.Size = new System.Drawing.Size(120, 28);
444
            this.btnEntry.TabIndex = 16;
445
            this.btnEntry.Text = "登 録";
446
            this.btnEntry.UseVisualStyleBackColor = false;
447
            this.btnEntry.Click += new System.EventHandler(this.btnEntry_Click);
448
            // 
449
            // btnEnd
450
            // 
451
            this.btnEnd.BackColor = System.Drawing.Color.Magenta;
452
            this.btnEnd.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
453
            this.btnEnd.ForeColor = System.Drawing.Color.Black;
454
            this.btnEnd.Location = new System.Drawing.Point(1197, 562);
455
            this.btnEnd.Name = "btnEnd";
456
            this.btnEnd.Size = new System.Drawing.Size(120, 28);
457
            this.btnEnd.TabIndex = 15;
458
            this.btnEnd.Text = "終 了";
459
            this.btnEnd.UseVisualStyleBackColor = false;
460
            this.btnEnd.Click += new System.EventHandler(this.btnEnd_Click);
461
            // 
462
            // btnAdd
463
            // 
464
            this.btnAdd.BackColor = System.Drawing.Color.Orange;
465
            this.btnAdd.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
466
            this.btnAdd.ForeColor = System.Drawing.Color.Black;
467
            this.btnAdd.Location = new System.Drawing.Point(158, 564);
468
            this.btnAdd.Name = "btnAdd";
469
            this.btnAdd.Size = new System.Drawing.Size(120, 28);
470
            this.btnAdd.TabIndex = 17;
471
            this.btnAdd.Text = "回数追加";
472
            this.btnAdd.UseVisualStyleBackColor = false;
473
            this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
474
            // 
475
            // btnOtherProc
476
            // 
477
            this.btnOtherProc.BackColor = System.Drawing.Color.Lime;
478
            this.btnOtherProc.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
479
            this.btnOtherProc.ForeColor = System.Drawing.Color.Black;
480
            this.btnOtherProc.Location = new System.Drawing.Point(12, 564);
481
            this.btnOtherProc.Name = "btnOtherProc";
482
            this.btnOtherProc.Size = new System.Drawing.Size(140, 28);
483
            this.btnOtherProc.TabIndex = 18;
484
            this.btnOtherProc.Text = "他の画面へ";
485
            this.btnOtherProc.UseVisualStyleBackColor = false;
486
            this.btnOtherProc.Click += new System.EventHandler(this.btnOtherProc_Click);
487
            // 
488
            // lblStatus
489
            // 
490
            this.lblStatus.BackColor = System.Drawing.Color.GreenYellow;
491
            this.lblStatus.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
492
            this.lblStatus.Location = new System.Drawing.Point(132, 25);
493
            this.lblStatus.Name = "lblStatus";
494
            this.lblStatus.Size = new System.Drawing.Size(35, 16);
495
            this.lblStatus.TabIndex = 20;
496
            this.lblStatus.Text = "請求準備";
497
            this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
498
            this.lblStatus.Visible = false;
499
            // 
500
            // label4
501
            // 
502
            this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
503
            this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
504
            this.label4.CausesValidation = false;
505
            this.label4.Font = new System.Drawing.Font("MS 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
506
            this.label4.Location = new System.Drawing.Point(594, 64);
507
            this.label4.Name = "label4";
508
            this.label4.Size = new System.Drawing.Size(100, 25);
509
            this.label4.TabIndex = 21;
510
            this.label4.Text = "請求月";
511
            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
512
            // 
513
            // cbReqMonth
514
            // 
515
            this.cbReqMonth.BackColor = System.Drawing.Color.White;
516
            this.cbReqMonth.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
517
            this.cbReqMonth.FormattingEnabled = true;
518
            this.cbReqMonth.Location = new System.Drawing.Point(699, 64);
519
            this.cbReqMonth.Name = "cbReqMonth";
520
            this.cbReqMonth.Size = new System.Drawing.Size(109, 24);
521
            this.cbReqMonth.TabIndex = 22;
522
            // 
523
            // label5
524
            // 
525
            this.label5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
526
            this.label5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
527
            this.label5.CausesValidation = false;
528
            this.label5.Font = new System.Drawing.Font("MS 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
529
            this.label5.Location = new System.Drawing.Point(819, 64);
530
            this.label5.Name = "label5";
531
            this.label5.Size = new System.Drawing.Size(100, 25);
532
            this.label5.TabIndex = 23;
533
            this.label5.Text = "請求回数";
534
            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
535
            // 
536
            // lblReqOrder
537
            // 
538
            this.lblReqOrder.BackColor = System.Drawing.Color.White;
539
            this.lblReqOrder.Location = new System.Drawing.Point(924, 64);
540
            this.lblReqOrder.Name = "lblReqOrder";
541
            this.lblReqOrder.Size = new System.Drawing.Size(85, 24);
542
            this.lblReqOrder.TabIndex = 24;
543
            this.lblReqOrder.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
544
            // 
545
            // btnApproval
546
            // 
547
            this.btnApproval.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
548
            this.btnApproval.Font = new System.Drawing.Font("MS 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
549
            this.btnApproval.Location = new System.Drawing.Point(2, 6);
550
            this.btnApproval.Name = "btnApproval";
551
            this.btnApproval.Size = new System.Drawing.Size(130, 27);
552
            this.btnApproval.TabIndex = 25;
553
            this.btnApproval.Text = "請求書申請";
554
            this.btnApproval.UseVisualStyleBackColor = false;
555
            this.btnApproval.Click += new System.EventHandler(this.btnApproval_Click);
556
            // 
557
            // txtOrderer
558
            // 
559
            this.txtOrderer.BackColor = System.Drawing.Color.White;
560
            this.txtOrderer.Location = new System.Drawing.Point(117, 65);
561
            this.txtOrderer.Name = "txtOrderer";
562
            this.txtOrderer.ReadOnly = true;
563
            this.txtOrderer.Size = new System.Drawing.Size(470, 23);
564
            this.txtOrderer.TabIndex = 26;
565
            this.txtOrderer.TextChanged += new System.EventHandler(this.txtOrderer_TextChanged);
566
            this.txtOrderer.Validating += new System.ComponentModel.CancelEventHandler(this.txtOrderer_Validating);
567
            // 
568
            // button1
569
            // 
570
            this.button1.Font = new System.Drawing.Font("MS 明朝", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
571
            this.button1.Location = new System.Drawing.Point(1271, 25);
572
            this.button1.Name = "button1";
573
            this.button1.Size = new System.Drawing.Size(45, 23);
574
            this.button1.TabIndex = 31;
575
            this.button1.Text = "・・・";
576
            this.button1.UseVisualStyleBackColor = true;
577
            this.button1.Visible = false;
578
            this.button1.Click += new System.EventHandler(this.button1_Click_1);
579
            // 
580
            // pnlNormal
581
            // 
582
            this.pnlNormal.Controls.Add(this.btnApproval);
583
            this.pnlNormal.Location = new System.Drawing.Point(1014, 56);
584
            this.pnlNormal.Name = "pnlNormal";
585
            this.pnlNormal.Size = new System.Drawing.Size(136, 36);
586
            this.pnlNormal.TabIndex = 32;
587
            // 
588
            // pnlApproval
589
            // 
590
            this.pnlApproval.Controls.Add(this.btnDeny);
591
            this.pnlApproval.Controls.Add(this.btnPend);
592
            this.pnlApproval.Controls.Add(this.btnAgree);
593
            this.pnlApproval.Location = new System.Drawing.Point(1014, 56);
594
            this.pnlApproval.Name = "pnlApproval";
595
            this.pnlApproval.Size = new System.Drawing.Size(254, 36);
596
            this.pnlApproval.TabIndex = 33;
597
            this.pnlApproval.Visible = false;
598
            // 
599
            // btnDeny
600
            // 
601
            this.btnDeny.BackColor = System.Drawing.Color.Red;
602
            this.btnDeny.Font = new System.Drawing.Font("MS 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
603
            this.btnDeny.Location = new System.Drawing.Point(169, 5);
604
            this.btnDeny.Name = "btnDeny";
605
            this.btnDeny.Size = new System.Drawing.Size(80, 27);
606
            this.btnDeny.TabIndex = 27;
607
            this.btnDeny.Text = "不承認";
608
            this.btnDeny.UseVisualStyleBackColor = false;
609
            this.btnDeny.Click += new System.EventHandler(this.btnDeny_Click);
610
            // 
611
            // btnPend
612
            // 
613
            this.btnPend.BackColor = System.Drawing.Color.Yellow;
614
            this.btnPend.Font = new System.Drawing.Font("MS 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
615
            this.btnPend.Location = new System.Drawing.Point(86, 5);
616
            this.btnPend.Name = "btnPend";
617
            this.btnPend.Size = new System.Drawing.Size(80, 27);
618
            this.btnPend.TabIndex = 26;
619
            this.btnPend.Text = "保留";
620
            this.btnPend.UseVisualStyleBackColor = false;
621
            this.btnPend.Click += new System.EventHandler(this.btnPend_Click);
622
            // 
623
            // btnAgree
624
            // 
625
            this.btnAgree.BackColor = System.Drawing.Color.Lime;
626
            this.btnAgree.Font = new System.Drawing.Font("MS 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
627
            this.btnAgree.Location = new System.Drawing.Point(3, 5);
628
            this.btnAgree.Name = "btnAgree";
629
            this.btnAgree.Size = new System.Drawing.Size(80, 27);
630
            this.btnAgree.TabIndex = 25;
631
            this.btnAgree.Text = "承認";
632
            this.btnAgree.UseVisualStyleBackColor = false;
633
            this.btnAgree.Click += new System.EventHandler(this.btnAgree_Click);
634
            // 
635
            // FrmRequestInput
636
            // 
637
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
638
            this.BackColor = System.Drawing.Color.Black;
639
            this.ClientSize = new System.Drawing.Size(1328, 603);
640
            this.Controls.Add(this.pnlNormal);
641
            this.Controls.Add(this.button1);
642
            this.Controls.Add(this.txtOrderer);
643
            this.Controls.Add(this.lblReqOrder);
644
            this.Controls.Add(this.label5);
645
            this.Controls.Add(this.cbReqMonth);
646
            this.Controls.Add(this.label4);
647
            this.Controls.Add(this.lblStatus);
648
            this.Controls.Add(this.dgv1);
649
            this.Controls.Add(this.btnOtherProc);
650
            this.Controls.Add(this.btnAdd);
651
            this.Controls.Add(this.btnEntry);
652
            this.Controls.Add(this.btnEnd);
653
            this.Controls.Add(this.label2);
654
            this.Controls.Add(this.label3);
655
            this.Controls.Add(this.pnlApproval);
656
            this.Font = new System.Drawing.Font("MS 明朝", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
657
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
658
            this.Margin = new System.Windows.Forms.Padding(4);
659
            this.MaximizeBox = false;
660
            this.MinimizeBox = false;
661
            this.Name = "FrmRequestInput";
662
            this.Activated += new System.EventHandler(this.FrmRequestInput_Activated);
663
            this.Load += new System.EventHandler(this.FrmRequestInput_Load);
664
            ((System.ComponentModel.ISupportInitialize)(this.dgv1)).EndInit();
665
            this.pnlNormal.ResumeLayout(false);
666
            this.pnlApproval.ResumeLayout(false);
667
            this.ResumeLayout(false);
668
            this.PerformLayout();
669

  
670
        }
671

  
672
        #endregion
673

  
674
        private System.Windows.Forms.Label label3;
675
        private System.Windows.Forms.DataGridView dgv1;
676
        private System.Windows.Forms.Label label2;
677
        private System.Windows.Forms.Button btnEntry;
678
        private System.Windows.Forms.Button btnEnd;
679
        private System.Windows.Forms.Button btnAdd;
680
        private System.Windows.Forms.Button btnOtherProc;
681
        private System.Windows.Forms.Label lblStatus;
682
        private System.Windows.Forms.Label label4;
683
        private System.Windows.Forms.ComboBox cbReqMonth;
684
        private System.Windows.Forms.Label label5;
685
        private System.Windows.Forms.Label lblReqOrder;
686
        private System.Windows.Forms.Button btnApproval;
687
        private System.Windows.Forms.TextBox txtOrderer;
688
        private System.Windows.Forms.Button button1;
689
        private System.Windows.Forms.DataGridViewTextBoxColumn col001;
690
        private System.Windows.Forms.DataGridViewTextBoxColumn col002;
691
        private System.Windows.Forms.DataGridViewTextBoxColumn col003;
692
        private System.Windows.Forms.DataGridViewTextBoxColumn col004;
693
        private System.Windows.Forms.DataGridViewTextBoxColumn col005;
694
        private System.Windows.Forms.DataGridViewTextBoxColumn col006;
695
        private System.Windows.Forms.DataGridViewTextBoxColumn col007;
696
        private System.Windows.Forms.DataGridViewTextBoxColumn col008;
697
        private System.Windows.Forms.DataGridViewTextBoxColumn col009;
698
        private System.Windows.Forms.DataGridViewTextBoxColumn col010;
699
        private System.Windows.Forms.DataGridViewTextBoxColumn col011;
700
        private System.Windows.Forms.DataGridViewTextBoxColumn col12;
701
        private System.Windows.Forms.DataGridViewTextBoxColumn col13;
702
        private System.Windows.Forms.DataGridViewTextBoxColumn col14;
703
        private System.Windows.Forms.DataGridViewTextBoxColumn col15;
704
        private System.Windows.Forms.DataGridViewTextBoxColumn col16;
705
        private System.Windows.Forms.DataGridViewTextBoxColumn col17;
706
        private System.Windows.Forms.DataGridViewTextBoxColumn col18;
707
        private System.Windows.Forms.DataGridViewTextBoxColumn col19;
708
        private System.Windows.Forms.DataGridViewTextBoxColumn col20;
709
        private System.Windows.Forms.DataGridViewTextBoxColumn col21;
710
        private System.Windows.Forms.DataGridViewTextBoxColumn col22;
711
        private System.Windows.Forms.DataGridViewTextBoxColumn col23;
712
        private System.Windows.Forms.DataGridViewTextBoxColumn col098;
713
        private System.Windows.Forms.DataGridViewTextBoxColumn col99;
714
        private System.Windows.Forms.Panel pnlNormal;
715
        private System.Windows.Forms.Panel pnlApproval;
716
        private System.Windows.Forms.Button btnAgree;
717
        private System.Windows.Forms.Button btnDeny;
718
        private System.Windows.Forms.Button btnPend;
719
    }
720
}
721

  
tags/src_20170418/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInput.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>
17
    <resheader name="version">2.0</resheader>
18
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23
        <value>[base64 mime encoded serialized .NET Framework object]</value>
24
    </data>
25
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27
        <comment>This is a comment</comment>
28
    </data>
29
                
30
    There are any number of "resheader" rows that contain simple 
31
    name/value pairs.
32
    
33
    Each data row contains a name, and value. The row also contains a 
34
    type or mimetype. Type corresponds to a .NET class that support 
35
    text/value conversion through the TypeConverter architecture. 
36
    Classes that don't support this are serialized and stored with the 
37
    mimetype set.
38
    
39
    The mimetype is used for serialized objects, and tells the 
40
    ResXResourceReader how to depersist the object. This is currently not 
41
    extensible. For a given mimetype the value must be set accordingly:
42
    
43
    Note - application/x-microsoft.net.object.binary.base64 is the format 
44
    that the ResXResourceWriter will generate, however the reader can 
45
    read any of the formats listed below.
46
    
47
    mimetype: application/x-microsoft.net.object.binary.base64
48
    value   : The object must be serialized with 
49
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50
            : and then encoded with base64 encoding.
51
    
52
    mimetype: application/x-microsoft.net.object.soap.base64
53
    value   : The object must be serialized with 
54
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55
            : and then encoded with base64 encoding.
56

  
57
    mimetype: application/x-microsoft.net.object.bytearray.base64
58
    value   : The object must be serialized into a byte array 
59
            : using a System.ComponentModel.TypeConverter
60
            : and then encoded with base64 encoding.
61
    -->
62
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64
    <xsd:element name="root" msdata:IsDataSet="true">
65
      <xsd:complexType>
66
        <xsd:choice maxOccurs="unbounded">
67
          <xsd:element name="metadata">
68
            <xsd:complexType>
69
              <xsd:sequence>
70
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
71
              </xsd:sequence>
72
              <xsd:attribute name="name" use="required" type="xsd:string" />
73
              <xsd:attribute name="type" type="xsd:string" />
74
              <xsd:attribute name="mimetype" type="xsd:string" />
75
              <xsd:attribute ref="xml:space" />
76
            </xsd:complexType>
77
          </xsd:element>
78
          <xsd:element name="assembly">
79
            <xsd:complexType>
80
              <xsd:attribute name="alias" type="xsd:string" />
81
              <xsd:attribute name="name" type="xsd:string" />
82
            </xsd:complexType>
83
          </xsd:element>
84
          <xsd:element name="data">
85
            <xsd:complexType>
86
              <xsd:sequence>
87
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89
              </xsd:sequence>
90
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93
              <xsd:attribute ref="xml:space" />
94
            </xsd:complexType>
95
          </xsd:element>
96
          <xsd:element name="resheader">
97
            <xsd:complexType>
98
              <xsd:sequence>
99
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100
              </xsd:sequence>
101
              <xsd:attribute name="name" type="xsd:string" use="required" />
102
            </xsd:complexType>
103
          </xsd:element>
104
        </xsd:choice>
105
      </xsd:complexType>
106
    </xsd:element>
107
  </xsd:schema>
108
  <resheader name="resmimetype">
109
    <value>text/microsoft-resx</value>
110
  </resheader>
111
  <resheader name="version">
112
    <value>2.0</value>
113
  </resheader>
114
  <resheader name="reader">
115
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116
  </resheader>
117
  <resheader name="writer">
118
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119
  </resheader>
120
  <metadata name="col001.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
121
    <value>True</value>
122
  </metadata>
123
  <metadata name="col002.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
124
    <value>True</value>
125
  </metadata>
126
  <metadata name="col003.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
127
    <value>True</value>
128
  </metadata>
129
  <metadata name="col004.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
130
    <value>True</value>
131
  </metadata>
132
  <metadata name="col005.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
133
    <value>True</value>
134
  </metadata>
135
  <metadata name="col006.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
136
    <value>True</value>
137
  </metadata>
138
  <metadata name="col007.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
139
    <value>True</value>
140
  </metadata>
141
  <metadata name="col008.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
142
    <value>True</value>
143
  </metadata>
144
  <metadata name="col009.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
145
    <value>True</value>
146
  </metadata>
147
  <metadata name="col010.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
148
    <value>True</value>
149
  </metadata>
150
  <metadata name="col011.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
151
    <value>True</value>
152
  </metadata>
153
  <metadata name="col12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
154
    <value>True</value>
155
  </metadata>
156
  <metadata name="col13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
157
    <value>True</value>
158
  </metadata>
159
  <metadata name="col14.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
160
    <value>True</value>
161
  </metadata>
162
  <metadata name="col15.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
163
    <value>True</value>
164
  </metadata>
165
  <metadata name="col16.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
166
    <value>True</value>
167
  </metadata>
168
  <metadata name="col17.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
169
    <value>True</value>
170
  </metadata>
171
  <metadata name="col18.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
172
    <value>True</value>
173
  </metadata>
174
  <metadata name="col19.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
175
    <value>True</value>
176
  </metadata>
177
  <metadata name="col20.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
178
    <value>True</value>
179
  </metadata>
180
  <metadata name="col21.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
181
    <value>True</value>
182
  </metadata>
183
  <metadata name="col22.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
184
    <value>True</value>
185
  </metadata>
186
  <metadata name="col23.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
187
    <value>True</value>
188
  </metadata>
189
  <metadata name="col098.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
190
    <value>True</value>
191
  </metadata>
192
  <metadata name="col99.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
193
    <value>True</value>
194
  </metadata>
195
  <metadata name="col001.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
196
    <value>True</value>
197
  </metadata>
198
  <metadata name="col002.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
199
    <value>True</value>
200
  </metadata>
201
  <metadata name="col003.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
202
    <value>True</value>
203
  </metadata>
204
  <metadata name="col004.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
205
    <value>True</value>
206
  </metadata>
207
  <metadata name="col005.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
208
    <value>True</value>
209
  </metadata>
210
  <metadata name="col006.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
211
    <value>True</value>
212
  </metadata>
213
  <metadata name="col007.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
214
    <value>True</value>
215
  </metadata>
216
  <metadata name="col008.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
217
    <value>True</value>
218
  </metadata>
219
  <metadata name="col009.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
220
    <value>True</value>
221
  </metadata>
222
  <metadata name="col010.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
223
    <value>True</value>
224
  </metadata>
225
  <metadata name="col011.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
226
    <value>True</value>
227
  </metadata>
228
  <metadata name="col12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
229
    <value>True</value>
230
  </metadata>
231
  <metadata name="col13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
232
    <value>True</value>
233
  </metadata>
234
  <metadata name="col14.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
235
    <value>True</value>
236
  </metadata>
237
  <metadata name="col15.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
238
    <value>True</value>
239
  </metadata>
240
  <metadata name="col16.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
241
    <value>True</value>
242
  </metadata>
243
  <metadata name="col17.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
244
    <value>True</value>
245
  </metadata>
246
  <metadata name="col18.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
247
    <value>True</value>
248
  </metadata>
249
  <metadata name="col19.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
250
    <value>True</value>
251
  </metadata>
252
  <metadata name="col20.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
253
    <value>True</value>
254
  </metadata>
255
  <metadata name="col21.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
256
    <value>True</value>
257
  </metadata>
258
  <metadata name="col22.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
259
    <value>True</value>
260
  </metadata>
261
  <metadata name="col23.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
262
    <value>True</value>
263
  </metadata>
264
  <metadata name="col098.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
265
    <value>True</value>
266
  </metadata>
267
  <metadata name="col99.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
268
    <value>True</value>
269
  </metadata>
270
</root>
tags/src_20170418/ProcessManagement/Forms/DataEntry/Request/RequestInput/FrmRequestInputAuxiliary.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5
using System.Threading.Tasks;
6
using System.Windows.Forms;
7
using System.Collections;
8
using System.Drawing;
9
using System.Diagnostics;
10

  
11
using ProcessManagement.Common;
12
using ProcessManagement.DataModel;
13
using ProcessManagement.DB.IOAccess;
14
using ProcessManagement.Forms.SubForms;
15
using ProcessManagement.Forms.ControlsAction;
16
using ProcessManagement.Forms.DataEntry;
17

  
18
namespace ProcessManagement.Forms.DataEntry
19
{
20
    public partial class FrmRequestInput : Form
21
    {
22
        #region 定数
23
        /// <summary>
24
        /// DataGridView区分
25
        /// </summary>
26
        private enum dgvKind
27
        {
28
            Header = 0,                     // ヘッダ
29
            BodyMainConstruction = 1,       // ボディ(本工事)
30
            BodySubConstruction = 2,        // ボディ(増減工事)
31
            Body = 3,                       // ボディ
32
            Footer = 4,                     // フッタ
33
        }
34

  
35
        private enum ApprovalState
36
        {
37
            Entry = 0,              // 入力中
38
            Apply = 1,              // 申請中
39
            Approval = 2,           // 承認中
40
            Pending = 3,            // 保留
41
            Dismissal = 4,          // 却下
42
            End = 5,                // 承認済
43
        }
44

  
45
        private enum DepositState
46
        {
47
            None = 0,               // なし
48
            Done = 1,               // 確認済
49
        }
50

  
51
        private enum EditType
52
        {
53
            NotEdit = 0,            // 編集対象外
54
            Name = 1,               // 名前(文字列)
55
            Amount = 2,             // 金額(カンマ区切り)
56
        }
57

  
58
        private enum CheckResult
59
        {
60
            NoError = 0,            // エラーなし
61
            WarningUnmatch = 1,     // 金額不一致
62
            WarningOver = 2,        // 請求超過(残りがマイナス)
63
            ErrorStatus = 3,        // 施工完了ではない
64
            UnknownError = 99,
65
        }
66

  
67
    #endregion
68

  
69
        #region 変数
70
        /// <summary>
71
        /// 消費税率
72
        /// </summary>
73
        private double m_TaxRate = (CommonMotions.SystemMasterData.ConsumptionTax / 100);
74

  
75
        /// <summary>
76
        /// 以下、追加分
77
        /// </summary>
78

  
79
        /// <summary>
80
        /// 請求工事の工事基本情報明細リスト
81
        /// </summary>
82
//        private List<ConstructionBaseInfoDetail> m_BaseConstructionBaseInfoDetail = new List<ConstructionBaseInfoDetail>();
83

  
84
        //private Dictionary<int, ConstructionBaseInfoDetail> m_ConstructionBaseInfoDetail = new Dictionary<int, ConstructionBaseInfoDetail>();
85

  
86
        /// <summary>
87
        /// 請求ヘッダリスト
88
        /// </summary>
89
        private List<RequestHead> m_lstRequestHead = new List<RequestHead>();
90

  
91
        /// <summary>
92
        /// 請求データリスト
93
        /// </summary>
94
        private List<Dictionary<int, RequestData>> m_lstRequestData = new List<Dictionary<int, RequestData>>();
95

  
96
        /// <summary>
97
        /// 請求データ明細リスト
98
        /// </summary>
99
        private List<Dictionary<int, List<RequestDataDetail>>> m_lstRequestDataDetail = new List<Dictionary<int, List<RequestDataDetail>>>();
100

  
101
        /// <summary>
102
        /// 入金データ明細用リスト
103
        /// </summary>
104
        private List<DepositDataDetail> m_lstDepDataDetail = new List<DepositDataDetail>();
105
        private List<DateTime> m_lstDepositDate = new List<DateTime>();
106
        private List<int> m_lstDepositState = new List<int>();
107
 
108
        /// <summary>
109
        /// 請求工事の工事基本情報
110
        /// </summary>
111
        private ConstructionBaseInfo m_BaseConstructionBaseInfo = new ConstructionBaseInfo();
112

  
113
        /// <summary>
114
        /// 請求工事の工事基本情報明細文字列リスト
115
        /// </summary>
116
        private Dictionary<int, string> m_dicBaseConstructionString = new Dictionary<int, string>();
117

  
118
        /// <summary>
119
        /// 工事基本情報リスト
120
        /// </summary>
121
        private Dictionary<int, ConstructionBaseInfo> m_dicConstructionBaseInfo = new Dictionary<int, ConstructionBaseInfo>();
122

  
123
        /// <summary>
124
        /// 工事基本情報明細文字列リスト
125
        /// </summary>
126
        private Dictionary<int, string> m_dicConstructionName = new Dictionary<int, string>();
127

  
128
        /// <summary>
129
        /// 承認経路マスタ
130
        /// </summary>
131
        private Dictionary<int, ApprovalMaster> m_dicApprovalMaster = new Dictionary<int, ApprovalMaster>();
132

  
133
        /// <summary>
134
        /// 承認データ
135
        /// </summary>
136
        private Dictionary<int, List<ProcessApproval>> m_dicProcessApproval = new Dictionary<int, List<ProcessApproval>>();
137

  
138
        /// <summary>
139
        /// 工事詳細台帳
140
        /// </summary>
141
        private ConstructionLedger m_ConstructionLedger = new ConstructionLedger();
142

  
143
        /// <summary>
144
        /// 承認状態リスト
145
        /// </summary>
146
        private List<int> m_lstOrderState = new List<int>();
147

  
148

  
149
        private int m_nLeaderConstructionCode = 0;              // 詳細台帳用工事番号
150
        private int m_nRequestNo = 0;                           // 請求No
151
        private int m_nMaxOrderNo = 0;                          // 最大受付番号
152
        private int m_nMaxRowNo = 0;                            // 最大行数
153

  
154
        private int m_nOldRequestMonth = 0;                     // 起動時請求年月
155
        private int m_nOldRequestAmount = 0;                    // 起動時請求金額
156

  
157

  
158
        public RequestData m_RequestData = new RequestData();
159

  
160
        #endregion
161

  
162
        #region データグリッドビュ関連メソッド
163

  
164
        #region DataGridViewの初期表示設定
165
        /// <summary>
166
        /// DataGridViewの初期表示設定
167
        /// </summary>
168
        private void SetGridDisplay()
169
        {
170
            try
171
            {
172
                // DataGrid全体のプロパティ設定
173
                dgv1.EnableHeadersVisualStyles = false;
174
                dgv1.AutoGenerateColumns = false;
175
                dgv1.ColumnHeadersHeight = dgv1.ColumnHeadersHeight + 5;
176
                dgv1.ColumnHeadersDefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
177
                dgv1.ColumnHeadersDefaultCellStyle.BackColor = Color.Aquamarine;
178
                dgv1.AllowUserToAddRows = false;
179
                dgv1.RowTemplate.Height = 22;
180
                dgv1.Font = new System.Drawing.Font("MS 明朝", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
181

  
182

  
183
                for (int i = 9; i < dgv1.ColumnCount - 2; i++)
184
                {
185
                    dgv1.Columns[i].Visible = false;
186
                }
187

  
188
                // 列タイトル設定
189
                string[] title = new string[] { "", "", "", "", " 工事名", " 工事金額", "", " 合計", " 1回目", " 2回目", " 3回目", " 4回目", " 5回目", " 6回目", " 7回目", " 8回目", " 9回目", " 10回目", " 11回目", " 12回目", " 13回目", " 14回目", " 15回目", " 残り", " コメント" };
190

  
191
                for (int i = 0; i < dgv1.ColumnCount; i++)
192
                {
193
                    dgv1.Columns[i].HeaderText = title[i];
194
                }
195

  
196
                // ヘッダ部構築
197
                int cnt = Createheader(dgv1);
198

  
199
                // ボディ部構築
200
                cnt = CreateBody(dgv1, cnt);
201

  
202
                // フッタ部構築
203
                cnt = CreateFooter(dgv1, cnt);
204

  
205
            }
206
            catch (Exception ex)
207
            {
208
                logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message);
209
            }
210
        }
211
        #endregion
212

  
213
        #region  ヘッダ部の構築
214
        /// <summary>
215
        /// ヘッダ部の構築
216
        /// </summary>
217
        private int Createheader(DataGridView dgv)
218
        {
219
            string[] title = new string[]{ "請求月", "承認状態", "請求合計", "請求金額", "消費税", "未入金分" };
220

  
221
            dgv.Rows.Add(6);
222

  
223
            for (int i = 0; i < 6; i++)
224
            {
225
                dgv.Rows[i].DefaultCellStyle.BackColor = Color.Yellow;
226
                dgv.Rows[i].Frozen = true;
227

  
228
                dgv[0, i].Value = i.ToString();
229
                dgv[1, i].Value = ((int)dgvKind.Header).ToString();
230
                dgv[6, i].Value = title[i];
231
            }
232

  
233
            dgv[3, 0].Value = "請求工事";
234

  
235
            dgv.ClearSelection();
236

  
237
            return 6;
238
        }
239
        #endregion
240

  
241
        #region ボディ部の構築
242
        /// <summary>
243
        /// ボディ部の構築
244
        /// </summary>
245
        private int CreateBody(DataGridView dgv, int cnt)
246
        {
247
            dgv.Rows.Add(24);
248

  
249
            for (int i = 0; i < 12; i++)
250
            {
251
                for (int j = 0; j < 2; j++)
252
                {
253
                    if (i % 2 != 0)
254
                    {
255
                        dgv.Rows[cnt].DefaultCellStyle.BackColor = Color.LightBlue;
256
                    }
257
                    dgv[0, cnt].Value = cnt.ToString();
258

  
259
                    dgv[6, cnt].Style.ForeColor = Color.DarkGray;
260
                    if (j == 0)
261
                    {
262
                        dgv[6, cnt].Value = "請求金額";
263

  
264
                    }
265
                    else
266
                    {
267
                        dgv[6, cnt].Value = "消費税";
268
                    }
269

  
270
                    if (cnt > 13)
271
                    {
272
                        dgv.Rows[cnt].Visible = false;
273
                    }
274

  
275
                    cnt++;
276
                }
277
            }
278

  
279
            return cnt;
280
        }
281
        #endregion
282

  
283
        #region フッタ部の構築
284
        /// <summary>
285
        /// フッタ部の構築
286
        /// </summary>
287
        private int CreateFooter(DataGridView dgv, int cnt)
288
        {
289
            dgv.Rows.Add(4);
290

  
291
            string[] title = { "入金日", "入金金額", "差額", "入金確認" };
292

  
293
            for (int i = 0; i < 4; i++)
294
            {
295
                dgv.Rows[cnt].DefaultCellStyle.BackColor = Color.Yellow;
296

  
297
                dgv[0, cnt].Value = cnt.ToString();
298
                dgv[1, cnt].Value = ((int)dgvKind.Footer).ToString();
299
                dgv[6, cnt].Value = title[i];
300

  
301
                cnt++;
302
            }
303

  
304
            return cnt;
305
        }
306
        #endregion
307

  
308
        #region 全ての回の合計を反映
309
        /// <summary>
310
        /// 全ての回の合計を反映
311
        /// </summary>
312
        private void setAllOrderTotal()
313
        {
314
            for (int i = 1; i <= m_nMaxOrderNo; i++)
315
            {
316
                setOrderTotal(i);
317
            }
318

  
319
            return;
320
        }
321
        #endregion
322

  
323
        #region 指定回の合計を反映
324
        /// <summary>
325
        /// 指定回の合計を反映
326
        /// </summary>
327
        private void setOrderTotal(int nOrderNo)
328
        {
329
            int i;
330
            int tcol = nOrderNo + 7;
331
            int nPrice = 0;
332
            int nTax = 0;
333
            int val;
334

  
335
            for (i = 6; i <= m_nMaxRowNo; i += 2)
336
            {
337
                if (dgv1[2, i].Value == null)
338
                {
339
                    break;
340
                }
341

  
342
                // 請求金額
343
                if (dgv1[tcol, i].Value != null)
344
                {
345
                    val = CommonMotions.cnvInt(dgv1[tcol, i].Value.ToString());
346
                    nPrice += val;
347
                }
348

  
349
                // 消費税
350
                if (dgv1[tcol, i + 1].Value != null)
351
                {
352
                    val = CommonMotions.cnvInt(dgv1[tcol, i + 1].Value.ToString());
353
                    nTax += val;
354
                }
355
            }
356

  
357
            setAmount(tcol, 2, nPrice + nTax);
358
            setAmount(tcol, 3, nPrice);
359
            setAmount(tcol, 4, nTax);
360

  
361
            return;
362
        }
363
        #endregion
364

  
365
        #region 残りの設定
366
        /// <summary>
367
        /// 残りの設定
368
        /// </summary>
369
        private void setBalance()
370
        {
371
            int i;
372

  
373
            // 請求合計、請求金額、消費税、未入金分の残りを設定
374
            for (i = 2; i < 6; i++)
375
            {
376
                calcBalance(i);
377
            }
378

  
379
            // 工事一覧の残りを設定
380
            for (i = 6; i < 29; i += 2)
381
            {
382
                if (dgv1[2, i].Value == null)
383
                {
384
                    break;
385
                }
386

  
387
                calcBalance(i);
388

  
389
                calcBalance(i + 1);
390
            }
391
        }
392
        #endregion
393

  
394
        #region 残りの算出
395
        /// <summary>
396
        /// 残りの算出
397
        /// </summary>
398
        private void calcBalance(int trow)
399
        {
400
            int nPrice = 0;
401
            int nPayment = 0;
402
            int tcol = dgv1.Columns.Count - 2;
403

  
404
            nPrice = CommonMotions.cnvInt(dgv1[5, trow].Value);
405
            nPayment = CommonMotions.cnvInt(dgv1[7, trow].Value);
406

  
407
            setAmount(tcol, trow, nPrice - nPayment);
408
        }
409
        #endregion
410

  
411
        #region 合計の設定
412
        /// <summary>
413
        /// 合計の設定
414
        /// </summary>
415
        private void setTotal()
416
        {
417
            int i;
418

  
419
            // 請求合計、請求金額、消費税、未入金分の合計を設定
420
            for (i = 2; i < 6; i++)
421
            {
422
                calcTotal(i);
423
            }
424

  
425
            // 工事一覧の合計を設定
426
            for (i = 6; i < 29; i += 2)
427
            {
428
                if (dgv1[2, i].Value == null)
429
                {
430
                    break;
431
                }
432

  
433
                calcTotal(i);
434
                calcTotal(i + 1);
435

  
436
            }
437
        }
438
        #endregion
439

  
440
        #region 合計の算出
441
        /// <summary>
442
        /// 合計の算出
443
        /// </summary>
444
        private void calcTotal(int trow)
445
        {
446
            int tcol = 7;
447
            int nPrice = 0;
448

  
449
            nPrice = GetTotalPrice(trow);
450
            setAmount(tcol, trow, nPrice);
451
        }
452
        #endregion
453

  
454
        #region 合計金額の取得
455
        /// <summary>
456
        /// 合計金額の取得
457
        /// </summary>
458
        private int GetTotalPrice(int trow)
459
        {
460
            int val = 0;
461
            int total = 0;
462

  
463
            for (int i = 8; i < dgv1.Columns.Count - 2; i++)
464
            {
465
                if (dgv1[i, trow].Value != null)
466
                {
467
                    val = CommonMotions.cnvInt(dgv1[i, trow].Value.ToString());
468
                }
469
                else
470
                {
471
                    val = 0;
472
                }
473
                total += val;
474
            }
475

  
476
            return total;
477
        }
478
        #endregion
479

  
480
        #region 金額の設定
481
        /// <summary>
482
        /// 金額の設定
483
        /// </summary>
484
        private void setAmount(int tcol, int trow, int amount)
485
        {
486
            dgv1[tcol, trow].Value = amount.ToString("#,0");
487

  
488
            if (amount >= 0)
489
            {
490
                dgv1[tcol, trow].Style.ForeColor = Color.Black;
491
            }
492
            else
493
            {
494
                dgv1[tcol, trow].Style.ForeColor = Color.Red;
... 差分の行数が表示可能な上限を超えました。超過分は表示しません。

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