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. Starting the form hidden

Starting the form hidden

Scheduled Pinned Locked Moved C#
helpquestion
3 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.
  • W Offline
    W Offline
    Wamuti
    wrote on last edited by
    #1

    Hi. I have included the code

    this.hide();

    in the shown, and load event just to make sure that the form is not seen immediately after starting but resides on the task bar, till someone gets it from there but this does not work since the form is still shown on starting. What could be the problem?

    Wamuti: Any man can be an island, but islands to need water around them! Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.

    W 1 Reply Last reply
    0
    • W Wamuti

      Hi. I have included the code

      this.hide();

      in the shown, and load event just to make sure that the form is not seen immediately after starting but resides on the task bar, till someone gets it from there but this does not work since the form is still shown on starting. What could be the problem?

      Wamuti: Any man can be an island, but islands to need water around them! Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.

      W Offline
      W Offline
      Wamuti
      wrote on last edited by
      #2

      :doh: Okay. I solved it in a hack kind of way. I set the Windows Start property to minimized, then, i set it ShowAtTaskbar false. In the tray i reversed all this and now im happy. :)

      Wamuti: Any man can be an island, but islands to need water around them! Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.

      S 1 Reply Last reply
      0
      • W Wamuti

        :doh: Okay. I solved it in a hack kind of way. I set the Windows Start property to minimized, then, i set it ShowAtTaskbar false. In the tray i reversed all this and now im happy. :)

        Wamuti: Any man can be an island, but islands to need water around them! Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.

        S Offline
        S Offline
        Som Shekhar
        wrote on last edited by
        #3

        set this.Hide() in form_Shown event. it will work.

        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