This commit is contained in:
qianlifeng
2013-12-23 00:10:46 +08:00
parent 121db63778
commit 57b381311c
12 changed files with 80 additions and 16 deletions

View File

@@ -21,10 +21,16 @@ namespace WinAlfred
set
{
selected = value;
Background = selected ? Brushes.Gray : Brushes.White;
BrushConverter bc = new BrushConverter();
Background = selected ? (Brush)(bc.ConvertFrom("#d1d1d1")) : (Brush)(bc.ConvertFrom("#ebebeb"));
}
}
public void SetIndex(int index)
{
tbIndex.Text = index.ToString();
}
public ResultItem(Result result)
{