public override void SetValue(object component, object value) { FilePathList fl = (FilePathList)component; fl[_index] = value as string; if (string.IsNullOrEmpty(fl[_index])) { fl.DeleteFile(_index); } }
public override object GetValue(object component) { FilePathList fl = (FilePathList)component; return(fl[_index]); }
public override void SetValue(object component, object value) { FilePathList fl = (FilePathList)component; fl.AddFile(value as string); }