Allow searches in context menu

This commit is contained in:
qianlifeng
2015-02-07 16:53:33 +08:00
parent 998eecb94d
commit 82d30c6e74
24 changed files with 2103 additions and 221 deletions

View File

@@ -57,8 +57,11 @@ namespace Wox {
public void Show(string title, string subTitle, string icopath) {
tbTitle.Text = title;
tbSubTitle.Text = subTitle;
if (string.IsNullOrEmpty(subTitle))
{
tbSubTitle.Visibility = Visibility.Collapsed;
}
if (!File.Exists(icopath)) {
//icopath = System.IO.Path.Combine(System.IO.Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath), "Images\\app.png");
imgIco.Source = new BitmapImage(new Uri("Images\\app.png", UriKind.Relative));
}
else {