GME.CSharp.TaskInfo.SetIconPath C# (CSharp) Méthode

SetIconPath() public méthode

public SetIconPath ( string iconName ) : void
iconName string
Résultat void
        public void SetIconPath(string iconName)
        {
            this._IconName = iconName;
        }
    }

Usage Example

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;
         }
     }
 }
All Usage Examples Of GME.CSharp.TaskInfo::SetIconPath