Como uso um ícone que é um recurso no WPF?
Tenho um arquivo .ico incorporado como recurso (ação de compilação definida como recurso). Estou tentando criar um NotifyIcon. Como posso fazer referência ao meu ícone?
notifyIcon = new NotifyIcon();
notifyIcon.Icon = ?? // my icon file is called MyIcon.ico and is embedded