some UI staff

This commit is contained in:
qianlifeng
2013-12-22 00:44:56 +08:00
parent 2d339ba00a
commit dcf52085ae
26 changed files with 846 additions and 68 deletions

View File

@@ -20,10 +20,12 @@ namespace WinAlfred.Plugin
if (string.IsNullOrEmpty(RawQuery)) return;
string[] strings = RawQuery.Split(' ');
if (strings.Length == 1) return; //we consider a valid query must contain a space
ActionName = strings[0];
if (strings.Length > 1)
for (int i = 1; i < strings.Length; i++)
{
for (int i = 1; i < strings.Length; i++)
if (!string.IsNullOrEmpty(strings[i]))
{
ActionParameters.Add(strings[i]);
}