public void Load(string filename) { FileInfo = new FileInfo(filename); if (FileInfo.Exists) { _cgrp = new CGRP(FileInfo.OpenRead()); } }
public LoadResult Load(string filename) { LoadResult result = LoadResult.Success; _fileInfo = new FileInfo(filename); if (_fileInfo.Exists) { _cgrp = new CGRP(_fileInfo.FullName); } else { result = LoadResult.FileNotFound; } return(result); }