リビジョン 126
請求まとめ(支払日検索での無限ループ修正、備考欄入力時のIMEオン)
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.cs | ||
---|---|---|
356 | 356 |
} |
357 | 357 |
#endregion |
358 | 358 |
|
359 |
#region ?Z???????O???? |
|
360 |
/// <summary> |
|
361 |
/// ?Z???????O???? |
|
362 |
/// </summary> |
|
363 |
/// <param name="sender"></param> |
|
364 |
/// <param name="e"></param> |
|
365 |
private void DataGridView_CellEnter(object sender, DataGridViewCellEventArgs e) |
|
366 |
{ |
|
367 |
try |
|
368 |
{ |
|
369 |
// ?f?[?^?O???b?h??Active??????????????? |
|
370 |
if (ActiveControl == null) return; |
|
371 |
if (!ActiveControl.GetType().Equals(typeof(DataGridViewEX))) return; |
|
372 |
|
|
373 |
DataGridView dgv = (DataGridView)sender; |
|
374 |
|
|
375 |
// ?????p?Z???????????? |
|
376 |
if (dgv.CurrentCell.ReadOnly) return; |
|
377 |
|
|
378 |
//IME????[?h???X???? |
|
379 |
switch (e.ColumnIndex) |
|
380 |
{ |
|
381 |
case (int)DispColumn.Bikou: // ?R?????g |
|
382 |
dgv.ImeMode = ImeMode.On; |
|
383 |
break; |
|
384 |
default: |
|
385 |
dgv.ImeMode = ImeMode.Disable; |
|
386 |
break; |
|
387 |
} |
|
388 |
// ?Z?????e?I?? |
|
389 |
dgv.BeginEdit(true); |
|
390 |
} |
|
391 |
catch (System.Exception ex) |
|
392 |
{ |
|
393 |
logger.ErrorFormat("?V?X?e???G???[?F{0}?F{1}", CommonMotions.GetMethodName(), ex.Message); |
|
394 |
} |
|
395 |
} |
|
396 |
#endregion |
|
397 |
|
|
359 | 398 |
#region ?~?{?^?? |
360 | 399 |
/// <summary> |
361 | 400 |
/// ?~?{?^?????????? |
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryList.designer.cs | ||
---|---|---|
738 | 738 |
this.dgvCompany.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; |
739 | 739 |
this.dgvCompany.Size = new System.Drawing.Size(1522, 655); |
740 | 740 |
this.dgvCompany.TabIndex = 4; |
741 |
this.dgvCompany.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellEnter); |
|
741 | 742 |
this.dgvCompany.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.DataGridView_CellBeginEdit); |
742 | 743 |
this.dgvCompany.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellDoubleClick); |
743 | 744 |
this.dgvCompany.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.DataGridView_CellFormatting); |
... | ... | |
1561 | 1562 |
this.dgvProject.Size = new System.Drawing.Size(1522, 655); |
1562 | 1563 |
this.dgvProject.TabIndex = 3; |
1563 | 1564 |
this.dgvProject.Visible = false; |
1565 |
this.dgvProject.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellEnter); |
|
1564 | 1566 |
this.dgvProject.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.DataGridView_CellBeginEdit); |
1565 | 1567 |
this.dgvProject.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView_CellDoubleClick); |
1566 | 1568 |
this.dgvProject.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.DataGridView_CellFormatting); |
branches/src/ProcessManagement/ProcessManagement/Forms/DataEntry/Request/RequestSummaryList/FrmRequestSummaryListAuxiliary.cs | ||
---|---|---|
80 | 80 |
int payDay = payDate.Day; |
81 | 81 |
string sqlWhere = IoBbdm.CreatePrimarykeyString(CommonMotions.cnvInt(payDate.ToString("yyyyMM")), payDay); |
82 | 82 |
|
83 |
while (true)
|
|
83 |
for (int i = 0; i < 30; i++) // 30????????????????
|
|
84 | 84 |
{ |
85 | 85 |
IoBbdm.SelectAction(sqlWhere, ref LstBbdm); |
86 | 86 |
if (LstBbdm.Count == 1) |
他の形式にエクスポート: Unified diff