private void DoSelect(int folderI, int fileI, int row)
{
this.pv.selectedFile = fileI;
this.pv.selectedFolder = folderI;
this.pv.lv.row = row;
this.pv.lv.selectionChanged = true;
if (fileI == -1)
{
if (folderI != -1)
{
this.selectedGUID = this.pv.folders[folderI].guid;
this.isDirSelected = true;
}
else
{
this.selectedGUID = string.Empty;
this.isDirSelected = false;
}
}
else
{
this.selectedGUID = this.pv.folders[folderI].files[fileI].guid;
this.isDirSelected = false;
}
}