public SetIconPath ( string iconName ) : void | ||
iconName | string | |
Результат | void |
public void SetIconPath(string iconName)
{
this._IconName = iconName;
}
}
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; } } }