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. What is the code for exit inVC#?

What is the code for exit inVC#?

Scheduled Pinned Locked Moved C#
questioncsharp
5 Posts 4 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    :)

    S M 2 Replies Last reply
    0
    • L Lost User

      :)

      S Offline
      S Offline
      singk
      wrote on last edited by
      #2

      I want to know too! :-D Thanks http://www.svstar.com

      M 1 Reply Last reply
      0
      • S singk

        I want to know too! :-D Thanks http://www.svstar.com

        M Offline
        M Offline
        Mazdak
        wrote on last edited by
        #3

        this.Close(); Mazy "So,so you think you can tell, Heaven from Hell, Blue skies from pain,... How I wish,how I wish you were here."
        Wish You Were Here-Pink Floyd-1975

        1 Reply Last reply
        0
        • L Lost User

          :)

          M Offline
          M Offline
          Mazdak
          wrote on last edited by
          #4

          this.Close(); Mazy "So,so you think you can tell, Heaven from Hell, Blue skies from pain,... How I wish,how I wish you were here."
          Wish You Were Here-Pink Floyd-1975

          J 1 Reply Last reply
          0
          • M Mazdak

            this.Close(); Mazy "So,so you think you can tell, Heaven from Hell, Blue skies from pain,... How I wish,how I wish you were here."
            Wish You Were Here-Pink Floyd-1975

            J Offline
            J Offline
            James T Johnson
            wrote on last edited by
            #5

            That is assuming you wish to close a windows form and it is the top-level form object. If you wish to exit out completely from a windows form application, System.Windows.Forms.Application.Exit();. I'm not sure how you would exit out of a console application. James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971

            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