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. The Lounge
  3. Middle-aged programming goofup of the week!

Middle-aged programming goofup of the week!

Scheduled Pinned Locked Moved The Lounge
csharpphpwinformscomquestion
21 Posts 11 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.
  • N Nish Nishant

    I had a modal form in a Winforms project that I changed to modeless last week. I changed the ShowDialog to a Show and ran the application. I was stunned to find that the form flashed for a brief moment and then disappeared. After an intellectually unimpressive minute I realized that I forgot to remove the using-block around the code! Old age is fun! :-D

    Regards, Nish


    Are you addicted to CP? If so, check this out: The Code Project Forum Analyzer : Find out how much of a life you don't have! My technology blog: voidnish.wordpress.com

    R Offline
    R Offline
    Roger Wright
    wrote on last edited by
    #21

    My youthful friend, I must correct you on two points. 1. This is not a symptom of middle age, but rather old age. Middle-aged people are in their prime, and this tale is one of decline. If Smitha wants more kids, she'd better get busy now, as the memory is the second thing old age takes away. 2. You have no frame of reference based on experience to say that old age is fun; neither have I. But from what I've read about it, and been told by my ancestors (while still warm enough to pay taxes), old age is decidedly not fun. On the contrary, according to reports, it sucks.

    Will Rogers never met me.

    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