Results 1 to 40 of 45

Thread: Nice fading in and out form effect

Threaded View

  1. #39
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Re: Nice fading in and out form effect

    Quote Originally Posted by .NetNinja View Post
    Add Application.Exit or Environment.Exit will force the application to close.
    He really should expose a CloseParent() method on the main form that all the child windows can use to close the whole app. By using the MainForm's Close method it allows the FormClosing events to still fire, which is where any of his clean up code should be. If he uses Application.Exit or Environment.Exit that's a hard exit, app's terminated on that line, no FormClosing, FormClosed, ApplicationClosing, ApplicationClosed events fire.
    Last edited by JuggaloBrotha; Aug 20th, 2009 at 02:20 PM. Reason: Typo's
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All ThreadsColors ComboBoxFading & Gradient FormMoveItemListBox/MoveItemListViewMultilineListBoxMenuButtonToolStripCheckBoxStart with Windows

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width