public PascalABCCompiler.IFileInfo AddSourceFile(string file_name) { PascalABCCompiler.SourceCodeFileInfo fi = new PascalABCCompiler.SourceCodeFileInfo(file_name,Path.Combine(Path.GetDirectoryName(currentProject.Path),file_name)); currentProject.source_files.Add(fi); Dirty = true; return fi; }