System.Drawing.Icon[] icons = { new System.Drawing.Icon(@"icon\Transparent.ico"), new System.Drawing.Icon(@"icon\finder7.ico") }; this.(notifyIcon控件或者节点控件).Icon = icons[(0或1用Timer控制)];