- 글자 크기와 툴바 아이콘 크기 조정

- Material compatibility table 리포트에 추가
- Material compatibility table 정렬되지 않도록
- 탭 패널 아이콘 적용

Radar Graph
- 항목의 폰트 크기 조정
- 영역에 색 지정 데이터는 라인으로
- 이 창을 띄울 땐 무조건 All이 선택되도록
- 데이터가 3개보다 적을 때 팝업

Trend Graph
- 재질 쌍 표시
- 영역 색을 조정

Analysis Table
- 재질 더블클릭 시 Material Table이 선택
This commit is contained in:
2017-06-28 01:26:07 +09:00
parent fae1f8b7c9
commit 879b3abda4
22 changed files with 37375 additions and 129 deletions

View File

@@ -44,6 +44,7 @@ namespace friction
{
int iCol = dgvMap.Columns.Add(table, table);
dgvMap.Columns[iCol].Width = 29;
dgvMap.Columns[iCol].SortMode = DataGridViewColumnSortMode.NotSortable;
}
foreach (var spring in Springs)
@@ -76,6 +77,28 @@ namespace friction
}
}
public DataTable GetData()
{
var dt = new DataTable();
dt.Columns.Add(" ");
foreach (DataGridViewColumn column in dgvMap.Columns)
{
if (column.Visible)
dt.Columns.Add(column.HeaderText);
}
object[] cellValues = new object[dgvMap.Columns.Count+1];
foreach (DataGridViewRow row in dgvMap.Rows)
{
cellValues[0] = row.HeaderCell.Value;
for (int i = 0; i < row.Cells.Count; i++)
cellValues[i+1] = row.Cells[i].Value;
dt.Rows.Add(cellValues);
}
return dt;
}
private void DgvMap_CellPainting(object sender, DataGridViewCellPaintingEventArgs e)
{
DataGridView view = sender as DataGridView;