private static Icon GetApplicationIcon()
{
var randomIcon = -1;
if (Settings.IconColor.Equals("random"))
randomIcon = new Random(DateTime.Now.Millisecond).Next(6);
if (Settings.IconColor.Equals("default") || randomIcon == 0)
return Resources.cow_head;
if (Settings.IconColor.Equals("blue") || randomIcon == 1)
return Resources.cow_head_blue;
if (Settings.IconColor.Equals("purple") || randomIcon == 2)
return Resources.cow_head_purple;
if (Settings.IconColor.Equals("green") || randomIcon == 3)
return Resources.cow_head_green;
if (Settings.IconColor.Equals("red") || randomIcon == 4)
return Resources.cow_head_red;
if (Settings.IconColor.Equals("yellow") || randomIcon == 5)
return Resources.cow_head_yellow;
return Resources.cow_head;
}