タスクトレイ
using System; using System.Windows.Forms; namespace 名前空間 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void 隠す_Click(object sender, EventArgs e) { notifyIcon1.Visible = true; Visible = false; } private void notifyIcon1_Click(object sender, EventArgs e) { Visible = true; Activate(); notifyIcon1.Visible = false; } } }
以下参照
http://www.atmarkit.co.jp/fdotnet/dotnettips/392notifyicon/notifyicon.html