/// <summary>
 /// 打开新的查询界面
 /// </summary>
 /// <param name="item"></param>
 public void OpenQuery(GroupedNavigationItemViewModel item)
 {
     if (item != null && !_openQueries.Contains(item))
     {
         OpenQueries.Add(item);
     }
 }
        /// <summary>
        /// 关闭当前查询界面
        /// </summary>
        /// <param name="item"></param>
        public void CloseQuery(GroupedNavigationItemViewModel item)
        {
            int index = OpenQueries.IndexOf(item);

            if (index > 0)
            {
                SelectedQuery = OpenQueries[index - 1];
                OpenQueries.Remove(item);
            }
            else
            {
                OpenQueries.Remove(item);
                SelectedQuery = OpenQueries.FirstOrDefault();
            }
            item.OnClose();
        }