- 글자 크기와 툴바 아이콘 크기 조정
- Material compatibility table 리포트에 추가 - Material compatibility table 정렬되지 않도록 - 탭 패널 아이콘 적용 Radar Graph - 항목의 폰트 크기 조정 - 영역에 색 지정 데이터는 라인으로 - 이 창을 띄울 땐 무조건 All이 선택되도록 - 데이터가 3개보다 적을 때 팝업 Trend Graph - 재질 쌍 표시 - 영역 색을 조정 Analysis Table - 재질 더블클릭 시 Material Table이 선택
This commit is contained in:
14
MainForm.cs
14
MainForm.cs
@@ -42,6 +42,8 @@ namespace friction
|
||||
Theme.Apply(toolStripMain);
|
||||
Theme.Apply(statusStrip);
|
||||
|
||||
dockPanel.Font = new Font(dockPanel.Font.FontFamily, 12.0f);
|
||||
|
||||
Config.Init();
|
||||
UpdateRecentFile();
|
||||
if(Config.OPTION.WindowBound.Width > 0)
|
||||
@@ -101,6 +103,8 @@ namespace friction
|
||||
m_AnalysisPanel.UpdateData(m_DataHandler);
|
||||
OpenPanel(m_AnalysisPanel);
|
||||
|
||||
m_CompatibilityPanel.UpdateData(m_DataHandler);
|
||||
|
||||
toolStripStatusLabel.Text = m_DBFileName;
|
||||
|
||||
Config.OPTION.AddRecentFile(m_DBFileName);
|
||||
@@ -116,7 +120,9 @@ namespace friction
|
||||
if (panel.IsHidden == true)
|
||||
panel.IsHidden = false;
|
||||
|
||||
if(panel.DockState == DockState.DockTopAutoHide ||
|
||||
panel.ShowIcon = true;
|
||||
|
||||
if (panel.DockState == DockState.DockTopAutoHide ||
|
||||
panel.DockState == DockState.DockBottomAutoHide ||
|
||||
panel.DockState == DockState.DockLeftAutoHide ||
|
||||
panel.DockState == DockState.DockRightAutoHide)
|
||||
@@ -183,6 +189,7 @@ namespace friction
|
||||
m_Report.MaterialSpring = m_DataHandler.GetCurSpring();
|
||||
m_Report.MaterialTable = m_DataHandler.GetCurTable();
|
||||
m_Report.AnalysisData = m_AnalysisPanel.GetData();
|
||||
m_Report.CompatibilityData = m_CompatibilityPanel.GetData();
|
||||
|
||||
m_Report.RadarChart = m_RadarGraphPanel.CopyChart();
|
||||
|
||||
@@ -277,7 +284,7 @@ namespace friction
|
||||
#endregion
|
||||
|
||||
#region Events from panels
|
||||
public void OnApplyData(string strSpring, string strTable)
|
||||
public void OnApplyData(object sender, string strSpring, string strTable)
|
||||
{
|
||||
Console.WriteLine("[MainForm::OnApply] start");
|
||||
|
||||
@@ -302,6 +309,9 @@ namespace friction
|
||||
m_TrendGraphPanel.UpdateGraph();
|
||||
}
|
||||
|
||||
if (sender != m_MaterialPanel)
|
||||
m_MaterialPanel.SelectTable(strTable);
|
||||
|
||||
m_AnalysisPanel.UpdateData(m_DataHandler);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user