Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. NotifyIcon / Remove from Taskbar

NotifyIcon / Remove from Taskbar

Scheduled Pinned Locked Moved C#
csharpwindows-admintutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Adrian Hall
    wrote on last edited by
    #1

    I have an existing C# program which displays a form and then runs a worker thread that does some work. I have arranged for the form data to be stored within the Registry and restored when it gets run again. What I would like to do is convert this fairly generic program to have the following features: 1. Check box that enables a NotifyIcon (Remove from Taskbar). 2. NotifyIcon that has a contextMenu that can show the form again. (context menu has "Show Me" and "Exit" options) I've read the tutorials on this site on creating NotifyIcon elements. However, I am not sure how to implement the above. Can someone provide some information? -Adrian

    A 1 Reply Last reply
    0
    • A Adrian Hall

      I have an existing C# program which displays a form and then runs a worker thread that does some work. I have arranged for the form data to be stored within the Registry and restored when it gets run again. What I would like to do is convert this fairly generic program to have the following features: 1. Check box that enables a NotifyIcon (Remove from Taskbar). 2. NotifyIcon that has a contextMenu that can show the form again. (context menu has "Show Me" and "Exit" options) I've read the tutorials on this site on creating NotifyIcon elements. However, I am not sure how to implement the above. Can someone provide some information? -Adrian

      A Offline
      A Offline
      Alexander Kojevnikov
      wrote on last edited by
      #2

      You need to add a NotifyIcon to your form and to attach a ContextMenu to it.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups