SetIconPath() public méthode

public SetIconPath ( string iconName ) : void
iconName string
Résultat void
Exemple #1
0
 protected void SetTaskIconPath(TaskInfo task, string iconName)
 {
     foreach (var basePath in this.iconPaths)
     {
         var fullPath = Path.Combine(basePath, iconName);
         if (File.Exists(fullPath))
         {
             task.SetIconPath(fullPath);
             break;
         }
     }
 }
 protected void SetTaskIconPath(TaskInfo task, string iconName)
 {
     foreach (var basePath in this.iconPaths)
     {
         var fullPath = Path.Combine(basePath, iconName);
         if (File.Exists(fullPath))
         {
             task.SetIconPath(fullPath);
             break;
         }
     }
 }