private void Setup()
 {
     //select folder
     _objFolder = _shell.NameSpace(_folder);
     //select item
     int i = 0;
     foreach (Shell32.FolderItem2 folderItem2 in _objFolder.Items())
     {
         if (i == _objectnumber)
             _item2 = folderItem2;
         i++;
     }
 }
 private void findItem()
 {
     foreach (Shell32.FolderItem2 folderItem2 in _objFolder.Items())
     {
         string tempItemName = folderItem2.Name + Path.GetExtension(_objFolder.GetDetailsOf(folderItem2, 180)); //_objFolder.GetDetailsOf(folderItem2, 180); 180: file with path and extension
         if (tempItemName == _musikNumber)
             _item2 = folderItem2;
     }
 }
Example #3
0
 internal string GetDetailsOf(FolderItem2 item, int v)
 {
     throw new NotImplementedException();
 }