ResultPanel -> ResultListBox, part 2

part of refactoring for PR #494
This commit is contained in:
bao-qian
2016-02-21 14:22:34 +00:00
parent 0aeba7c5af
commit 0e6cd0f72a
6 changed files with 38 additions and 45 deletions

View File

@@ -37,7 +37,7 @@ namespace Wox
{
this._api = api;
InitializeComponent();
this.resultPanelPreview.DataContext = new ResultPanelViewModel();
this.ResultListBoxPreview.DataContext = new ResultPanelViewModel();
Loaded += Setting_Loaded;
}
@@ -387,7 +387,7 @@ namespace Wox
));
}
resultPanelPreview.AddResults(new List<Result>
ResultListBoxPreview.AddResults(new List<Result>
{
new Result
{