Esempio n. 1
0
        virtual public void AddModule(String path, String prefix, String extension, bool same_name = false, bool event_use = true)
        {
            NewFile new_file = new NewFile();

            new_file.SetEnvironment(path, prefix, extension, same_name, event_use);
            new_file.InitializeFiles();
            file_new_checker_.Add(new_file);

            FileSize file_size = new FileSize(event_use);

            file_size.FileSizeCheckCompleted += new EventHandler(SizeCheckCompleted);
            file_size_checker_.Add(file_size);
            file_size.Start();
        }