示例#1
0
        private void Search()
        {
            Replacer.TaskFinished += Replacer_TaskFinished;
            CancelByUser          += MainWindowViewModel_CancelByUser;
            InitMediator();

            bool isDirSelected = Replacer.GetPathToDir();

            if (isDirSelected)
            {
                SetState(State.Search);
                Replacer.GetFilesAsync();
            }
        }