public void AddModule(string name, ModuleType type, VbaFolder source) { var path = _so.PathCombine(FolderPath, name + ModuleProcessing.ExtensionFromType(type)); _so.FileCopy(source.FindModulePath(name, type), path); if (type == ModuleType.Form) { var frxPath = path.Substring(0, path.Length - 4) + ".frx"; _so.FileCopy(source.FindFrxPath(name), frxPath); } ModuleFilePaths.Add(path); }
public void ReplaceFormControls(string name, VbaFolder source) { _so.FileCopy(source.FindFrxPath(name), FindFrxPath(name), true); }
public string GetFrxPath(string name) => _parent.FindFrxPath(name);