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. open new winform with one icon in taskbar

open new winform with one icon in taskbar

Scheduled Pinned Locked Moved C#
helptutorial
3 Posts 3 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.
  • M Offline
    M Offline
    Milind Panchal
    wrote on last edited by
    #1

    I am developing window application, in which I am opening another winform on the click event of button. As we know that if we open a form in windows, we can see its icon in the task bar. But I am making An application in which I am not using MDI concept,and I dont want to see the icons of other forms, as it happens normally. How to solve this problem. I just wanna see only main icon in taskbar.

    L M 2 Replies Last reply
    0
    • M Milind Panchal

      I am developing window application, in which I am opening another winform on the click event of button. As we know that if we open a form in windows, we can see its icon in the task bar. But I am making An application in which I am not using MDI concept,and I dont want to see the icons of other forms, as it happens normally. How to solve this problem. I just wanna see only main icon in taskbar.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Just set the property ShowInTaskbar to false.

      1 Reply Last reply
      0
      • M Milind Panchal

        I am developing window application, in which I am opening another winform on the click event of button. As we know that if we open a form in windows, we can see its icon in the task bar. But I am making An application in which I am not using MDI concept,and I dont want to see the icons of other forms, as it happens normally. How to solve this problem. I just wanna see only main icon in taskbar.

        M Offline
        M Offline
        Manas Bhardwaj
        wrote on last edited by
        #3

        Form2 lobjNewForm = new Form2();
        lobjNewForm.ShowInTaskbar = false;
        lobjNewForm.Show();

        Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

        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