- 눈에 안 띄는 글자들 처리(listview group, trend chart legend)
- listview column width 꽉차도록 처리
This commit is contained in:
@@ -59,8 +59,6 @@ namespace friction
|
||||
CacheChecked.Add(key, bChecked);
|
||||
}
|
||||
|
||||
lvColumn.Groups[0].Items.Clear();
|
||||
lvColumn.Groups[1].Items.Clear();
|
||||
lvColumn.Items.Clear();
|
||||
|
||||
List<List<string>> Columns = new List<List<string>>() { data.GetActiveColumns(), data.GetNonactiveColumns() };
|
||||
@@ -76,8 +74,10 @@ namespace friction
|
||||
item.Checked = true;
|
||||
else
|
||||
item.Checked = false;
|
||||
|
||||
item.ForeColor = (iGroup == 0) ? Theme.Forecolor : Theme.Gray;
|
||||
|
||||
lvColumn.Items.Add(item);
|
||||
lvColumn.Groups[iGroup].Items.Add(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -90,6 +90,11 @@ namespace friction
|
||||
dgvData.Columns[strColName].Visible = bShow;
|
||||
}
|
||||
|
||||
private void lvColumn_SizeChanged(object sender, EventArgs e)
|
||||
{
|
||||
Theme.ResizeFullColumn(lvColumn);
|
||||
}
|
||||
|
||||
public void SelectRowByHumidity(string strSpring, string strTable, float fHumidity, float fRPN)
|
||||
{
|
||||
dgvData.ClearSelection();
|
||||
|
||||
Reference in New Issue
Block a user