예제 #1
0
        private static FindStatus fileneededTest(RvFile tFile)
        {
            // first check to see if we already have it in the file table
            bool inFileDB = FindInFiles.Execute(tFile); // returns true if found in File table

            return(inFileDB ? FindStatus.FoundFileInArchive : FindStatus.FileNeededInArchive);
        }
예제 #2
0
        private static FindStatus fileneededTest(RvFile tFile)
        {
            // first check to see if we already have it in the file table
            bool inFileDB = FindInFiles.Execute(tFile); // returns true if found in File table

            if (inFileDB)
            {
                return(FindStatus.FoundFileInArchive);
            }

            // now check if needed in any ROMs
            return(FindInROMs.Execute(tFile) ? FindStatus.FileNeededInArchive : FindStatus.FileUnknown);
        }
            public override object Clone()
            {
                var obj = new FindInFiles(
                    m_szFindWhat,
                    m_lookIn,
                    m_lookInFolders,
                    m_bIncludeSubFolders,
                    m_fileExts,
                    m_bMatchCase,
                    m_bMatchWholeWord,
                    m_searchType,
                    m_bUseResults1Window);

                return(obj);
            }
예제 #4
0
    private bool DoFindInFilesDialog(string text, string filter)
    {
        findInFiles.Close(true);
        string errors = new FindInFiles(mainForm).Execute(
            text,
            tempSettings.FindParams,
            mainForm.Settings.findInFilesDir.Value,
            filter,
            mainForm.Settings.findInFilesIgnoreDir.Value);

        if (errors != null)
        {
            ShowInfo("FindInFiles", errors);
        }
        return(true);
    }
예제 #5
0
            public override object Clone()
            {
                var obj = new FindInFiles(
                    m_szFindWhat,
                    m_lookIn,
                    m_lookInFolders,
                    m_bIncludeSubFolders,
                    m_fileExts,
                    m_bMatchCase,
                    m_bMatchWholeWord,
                    m_searchType,
                    m_bUseResults1Window);

                return obj;
            }