Esempio n. 1
0
        //查找
        private void ButtonSearch_Click(object sender, RoutedEventArgs e)
        {
            List <string> searchParams = mySearchFilter.GetSearchParams();

            if (searchParams != null)
            {
                TimingUtil.StartTiming();
                WindowView.notify.SetStatusMessage("正在查询,请稍后。。。");
                WindowView.notify.SetProcessBarVisible(true);
                searchResults.NodeListView.ItemsSource = MyTrees.FindBySql(searchParams);
                WindowView.notify.SetStatusMessage("查询完成!");
                WindowView.notify.SetProcessBarVisible(false);
                WindowView.notify.SetStatusMessage(TimingUtil.EndTiming());
            }
        }