示例#1
0
        private void RaiseRefreshView(bool refreshCollectionView)
        {
            DeleteJobCommand.RaiseCanExecuteChanged();
            MergeJobsCommand.RaiseCanExecuteChanged();
            MergeAllJobsCommand.RaiseCanExecuteChanged();

            if (refreshCollectionView)
            {
                JobInfos.Refresh();
            }
        }
示例#2
0
 private void ListSelectionChanged(object obj)
 {
     DeleteJobCommand.RaiseCanExecuteChanged();
     MergeJobsCommand.RaiseCanExecuteChanged();
 }