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. timer control in C#

timer control in C#

Scheduled Pinned Locked Moved C#
csharpquestion
5 Posts 2 Posters 1 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
    wasifmuneer
    wrote on last edited by
    #1

    i have multiple forms in C# desktop application,one of the forms contain timer control,if i close that form and open another form then would the timer control will dispose itself or should have to be disposed manually? Regards

    M 1 Reply Last reply
    0
    • W wasifmuneer

      i have multiple forms in C# desktop application,one of the forms contain timer control,if i close that form and open another form then would the timer control will dispose itself or should have to be disposed manually? Regards

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

      wasifmuneer wrote:

      would the timer control will dispose itself

      Yes!

      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.

      W 1 Reply Last reply
      0
      • M Manas Bhardwaj

        wasifmuneer wrote:

        would the timer control will dispose itself

        Yes!

        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.

        W Offline
        W Offline
        wasifmuneer
        wrote on last edited by
        #3

        sorry i couldn't get answer..properly.. what is meant by "yes"..

        M 1 Reply Last reply
        0
        • W wasifmuneer

          sorry i couldn't get answer..properly.. what is meant by "yes"..

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

          I qouted the part of question and thn said yes. In between, once you close the form the timer control created inside that will dispose itself. You do not need to explicitly do this.

          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.

          W 1 Reply Last reply
          0
          • M Manas Bhardwaj

            I qouted the part of question and thn said yes. In between, once you close the form the timer control created inside that will dispose itself. You do not need to explicitly do this.

            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.

            W Offline
            W Offline
            wasifmuneer
            wrote on last edited by
            #5

            thanks a lot.. Have a nice time.. Regards :)

            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