Exemple #1
0
        public void DisplayResultsOfSecondOption(string UserFileName, string UserRootDirectory) // file name + directory
        {
            DisplaySearchStartMsg();
            FileSearcher fs = new FileSearcher();

            fs.FoundOneFile += DisplayFile;
            fs.Search(UserRootDirectory, UserFileName);
            DisplaySearchEndMsg();
        }
Exemple #2
0
        public void DisplayResultsOfFirstOption(string UserFileName) // file name only
        {
            DisplaySearchStartMsg();
            FileSearcher fs = new FileSearcher();

            fs.FoundOneFile += DisplayFile;
            fs.SearchEntirePC(UserFileName);
            DisplaySearchEndMsg();
        }