MaterialCompatibleMap 수정
- datagridview cell을 계속 그리는 문제 해결 - 5가지 상태창 표시 - layout 수정 RadarGraph 수정 - 팝업창 두번씩 뜨지 않도록 수정 - layout 수정
This commit is contained in:
@@ -101,8 +101,8 @@ namespace friction
|
||||
public void UpdateGraph()
|
||||
{
|
||||
string strSpring = m_DataHandler.GetCurSpring();
|
||||
//if (m_CurSpring == strSpring)
|
||||
// return;
|
||||
if (m_CurSpring == strSpring)
|
||||
return;
|
||||
|
||||
lbSpring.Text = "Material Spring: " + strSpring;
|
||||
lbSpring.BackColor = Color.Gray;
|
||||
@@ -168,7 +168,14 @@ namespace friction
|
||||
|
||||
private void rbAll_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if(rbAll.Checked == true)
|
||||
if(sender.GetType() == typeof(RadioButton))
|
||||
{
|
||||
RadioButton btn = sender as RadioButton;
|
||||
if (btn.Checked == false)
|
||||
return;
|
||||
}
|
||||
|
||||
if (rbAll.Checked == true)
|
||||
{
|
||||
m_TempRange = Config.TEMP_ALL;
|
||||
m_HumidRange = Config.HUMID_ALL;
|
||||
@@ -199,6 +206,7 @@ namespace friction
|
||||
m_HumidRange = Config.HUMID_ALL;
|
||||
}
|
||||
|
||||
m_CurSpring = "";
|
||||
UpdateGraph();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user