ShowInTaskbar屬性設成False
Form的WindowState設成Minimized
彈出表單寫在NotifyIcon1_DoubleClick
Me.ShowInTaskbar = True
Me.Show()
Me.WindowState = FormWindowState.Normal
縮到工作匣寫在Form1_Resize
If Me.WindowState = FormWindowState.Minimized Then Me.Hide()
按右鍵彈出選單
在NotifyIcon1的contextmenustrip加入ContextMenustrip1所做的表單
沒有留言:
張貼留言