Exemplo n.º 1
0
        private void RaiseRefreshView(bool refreshCollectionView)
        {
            DeleteJobCommand.RaiseCanExecuteChanged();
            MergeJobsCommand.RaiseCanExecuteChanged();
            MergeAllJobsCommand.RaiseCanExecuteChanged();

            if (refreshCollectionView)
            {
                JobInfos.Refresh();
            }
        }
Exemplo n.º 2
0
 private void ListSelectionChanged(object obj)
 {
     DeleteJobCommand.RaiseCanExecuteChanged();
     MergeJobsCommand.RaiseCanExecuteChanged();
 }