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. c# windows application......

c# windows application......

Scheduled Pinned Locked Moved C#
csharp
4 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.
  • S Offline
    S Offline
    singhdurgesh
    wrote on last edited by
    #1

    hii.. m creating a c# windows application...... in this i need to complete all my task at the init event of form......and after completeion of work.....i need to completely stop the application

    G E P 3 Replies Last reply
    0
    • S singhdurgesh

      hii.. m creating a c# windows application...... in this i need to complete all my task at the init event of form......and after completeion of work.....i need to completely stop the application

      G Offline
      G Offline
      Gary Stafford
      wrote on last edited by
      #2

      I would use Application.Exit(); after completing the work, to exit the Form and the application. MSDN: http://msdn.microsoft.com/en-us/library/ms157894.aspx[^]

      Regards, Gary

      1 Reply Last reply
      0
      • S singhdurgesh

        hii.. m creating a c# windows application...... in this i need to complete all my task at the init event of form......and after completeion of work.....i need to completely stop the application

        E Offline
        E Offline
        Ennis Ray Lynch Jr
        wrote on last edited by
        #3

        A console application is ideally suited to performing a task and then exiting. Even the console box can be hidden.

        Need custom software developed? I do C# development and consulting all over the United States. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane

        1 Reply Last reply
        0
        • S singhdurgesh

          hii.. m creating a c# windows application...... in this i need to complete all my task at the init event of form......and after completeion of work.....i need to completely stop the application

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          Well whoopdy-doo.

          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