예제 #1
0
        public SmartSearchResult(SearchResult result)
        {
            this.InitializeComponent();

            this.Result         = result;
            this.valueText.Text = result.Title;

            if (result.Icon != null)
                this.image.Source = Windows.Interop.ConvertImage(result.Icon);
        }
예제 #2
0
 public void AddResult(SearchResult result)
 {
     this.itemsStack.Children.Add(new SmartSearchResult(result));
 }
예제 #3
0
 private void OnFileItemClicked(SearchResult result)
 {
     this.UI.OpenSourceView(((FileSearchResult)result).Filepath);
 }