Ejemplo n.º 1
0
 internal void reName(string oldFullPath, string fullPath)
 {
     this.Dispatcher.Invoke((Action)(() =>
     {
         DIconPositionManager.renamePosition(oldFullPath, fullPath);
         foreach (DIcon it in gridMain.Children)
         {
             if (it.filename == oldFullPath)
             {
                 it.setFileName(fullPath);
                 break;
             }
         }
         DIconPositionManager.savePositions();
     }));
 }