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. The mistake of the Day

The mistake of the Day

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studioworkspace
21 Posts 14 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.
  • H Offline
    H Offline
    HobbyProggy
    wrote on last edited by
    #1

    Well i was working on a User Input Dialogue and nearly finished it after 2 hours of trying and designing it in visual Studio when suddenly the doubleclick on this form happend and i intuitively clicked on undo... Yep i didn't save anything in that time and undoing designerchanges is permanently :~ 2 hours of work done to it again X|

    if(this.signature != "") { MessageBox.Show("This is my signature: " + Environment.NewLine + signature); } else { MessageBox.Show("404-Signature not found"); }

    D G J Mike HankeyM C 8 Replies Last reply
    0
    • H HobbyProggy

      Well i was working on a User Input Dialogue and nearly finished it after 2 hours of trying and designing it in visual Studio when suddenly the doubleclick on this form happend and i intuitively clicked on undo... Yep i didn't save anything in that time and undoing designerchanges is permanently :~ 2 hours of work done to it again X|

      if(this.signature != "") { MessageBox.Show("This is my signature: " + Environment.NewLine + signature); } else { MessageBox.Show("404-Signature not found"); }

      D Offline
      D Offline
      DanielSheets
      wrote on last edited by
      #2

      Ahhh yes... I've been bitten by that before too.

      1 Reply Last reply
      0
      • H HobbyProggy

        Well i was working on a User Input Dialogue and nearly finished it after 2 hours of trying and designing it in visual Studio when suddenly the doubleclick on this form happend and i intuitively clicked on undo... Yep i didn't save anything in that time and undoing designerchanges is permanently :~ 2 hours of work done to it again X|

        if(this.signature != "") { MessageBox.Show("This is my signature: " + Environment.NewLine + signature); } else { MessageBox.Show("404-Signature not found"); }

        G Offline
        G Offline
        GuyThiebaut
        wrote on last edited by
        #3

        CTRL S obsessive compulsive disorder is your friend...

        “That which can be asserted without evidence, can be dismissed without evidence.”

        ― Christopher Hitchens

        OriginalGriffO H R 3 Replies Last reply
        0
        • G GuyThiebaut

          CTRL S obsessive compulsive disorder is your friend...

          “That which can be asserted without evidence, can be dismissed without evidence.”

          ― Christopher Hitchens

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #4

          GuyThiebaut wrote:

          CTRL SHIFT S obsessive compulsive disorder is your friend...

          Trust me...FTFY!

          Never underestimate the power of stupid things in large numbers --- Serious Sam

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          G 1 Reply Last reply
          0
          • G GuyThiebaut

            CTRL S obsessive compulsive disorder is your friend...

            “That which can be asserted without evidence, can be dismissed without evidence.”

            ― Christopher Hitchens

            H Offline
            H Offline
            HobbyProggy
            wrote on last edited by
            #5

            Now i understand why everyone is saving every single line of code

            if(this.signature != "") { MessageBox.Show("This is my signature: " + Environment.NewLine + signature); } else { MessageBox.Show("404-Signature not found"); }

            1 Reply Last reply
            0
            • H HobbyProggy

              Well i was working on a User Input Dialogue and nearly finished it after 2 hours of trying and designing it in visual Studio when suddenly the doubleclick on this form happend and i intuitively clicked on undo... Yep i didn't save anything in that time and undoing designerchanges is permanently :~ 2 hours of work done to it again X|

              if(this.signature != "") { MessageBox.Show("This is my signature: " + Environment.NewLine + signature); } else { MessageBox.Show("404-Signature not found"); }

              J Offline
              J Offline
              JMK89
              wrote on last edited by
              #6

              This happened to me once, I pulled the power on the machine and when I restarted Visual Studio was able to recover the design!

              1 Reply Last reply
              0
              • H HobbyProggy

                Well i was working on a User Input Dialogue and nearly finished it after 2 hours of trying and designing it in visual Studio when suddenly the doubleclick on this form happend and i intuitively clicked on undo... Yep i didn't save anything in that time and undoing designerchanges is permanently :~ 2 hours of work done to it again X|

                if(this.signature != "") { MessageBox.Show("This is my signature: " + Environment.NewLine + signature); } else { MessageBox.Show("404-Signature not found"); }

                Mike HankeyM Offline
                Mike HankeyM Offline
                Mike Hankey
                wrote on last edited by
                #7

                It's probably happened to a lot of us at one time and while I don't save every line of code I do commit frequently or recommended to be committed frequently can't remember which? :)

                VS2010/Atmel Studio 6.1 ToDo Manager Extension Relax...We're all crazy it's not a competition!

                J 1 Reply Last reply
                0
                • H HobbyProggy

                  Well i was working on a User Input Dialogue and nearly finished it after 2 hours of trying and designing it in visual Studio when suddenly the doubleclick on this form happend and i intuitively clicked on undo... Yep i didn't save anything in that time and undoing designerchanges is permanently :~ 2 hours of work done to it again X|

                  if(this.signature != "") { MessageBox.Show("This is my signature: " + Environment.NewLine + signature); } else { MessageBox.Show("404-Signature not found"); }

                  C Offline
                  C Offline
                  Clodetta del Mar
                  wrote on last edited by
                  #8

                  For me that is always the Moment when Pressing the powerbutton is an ultimate Option... Turn machine off and go home. or, in german: Wenn´s ned geht, geh ich... :-\ ;)

                  G 1 Reply Last reply
                  0
                  • G GuyThiebaut

                    CTRL S obsessive compulsive disorder is your friend...

                    “That which can be asserted without evidence, can be dismissed without evidence.”

                    ― Christopher Hitchens

                    R Offline
                    R Offline
                    Ron Beyer
                    wrote on last edited by
                    #9

                    I think ALT-F-L is my fastest keystroke, I'm actually wearing the paint off those keys :)

                    1 Reply Last reply
                    0
                    • C Clodetta del Mar

                      For me that is always the Moment when Pressing the powerbutton is an ultimate Option... Turn machine off and go home. or, in german: Wenn´s ned geht, geh ich... :-\ ;)

                      G Offline
                      G Offline
                      glennPattonWork3
                      wrote on last edited by
                      #10

                      Mine is the realisation that the files you though were the latest save version committed everywhere are not when you check out the code the following day... the 'should not got out of bed moment' :rolleyes:

                      C 1 Reply Last reply
                      0
                      • H HobbyProggy

                        Well i was working on a User Input Dialogue and nearly finished it after 2 hours of trying and designing it in visual Studio when suddenly the doubleclick on this form happend and i intuitively clicked on undo... Yep i didn't save anything in that time and undoing designerchanges is permanently :~ 2 hours of work done to it again X|

                        if(this.signature != "") { MessageBox.Show("This is my signature: " + Environment.NewLine + signature); } else { MessageBox.Show("404-Signature not found"); }

                        D Offline
                        D Offline
                        Dennis E White
                        wrote on last edited by
                        #11

                        One of the features that I love about XCode is that your changes are automatically saved for you. Though I have to admit that muscle memory still clicks in at times to do a save. :)

                        you want something inspirational??

                        1 Reply Last reply
                        0
                        • H HobbyProggy

                          Well i was working on a User Input Dialogue and nearly finished it after 2 hours of trying and designing it in visual Studio when suddenly the doubleclick on this form happend and i intuitively clicked on undo... Yep i didn't save anything in that time and undoing designerchanges is permanently :~ 2 hours of work done to it again X|

                          if(this.signature != "") { MessageBox.Show("This is my signature: " + Environment.NewLine + signature); } else { MessageBox.Show("404-Signature not found"); }

                          B Offline
                          B Offline
                          BillWoodruff
                          wrote on last edited by
                          #12

                          I'm curious: do you use the Tools/Options/Environment/Auto-Recover options ? Ever look in \…\My Documents\Visual Studio 20##\Backup Files\

                          “But I don't want to go among mad people,” Alice remarked. “Oh, you can't help that,” said the Cat: “we're all mad here. I'm mad. You're mad.” “How do you know I'm mad?” said Alice. “You must be," said the Cat, or you wouldn't have come here.” Lewis Carroll

                          1 Reply Last reply
                          0
                          • OriginalGriffO OriginalGriff

                            GuyThiebaut wrote:

                            CTRL SHIFT S obsessive compulsive disorder is your friend...

                            Trust me...FTFY!

                            Never underestimate the power of stupid things in large numbers --- Serious Sam

                            G Offline
                            G Offline
                            Gary Wheeler
                            wrote on last edited by
                            #13

                            My thoughts exactly. I have a direct connection between my optic nerve and the fingers on my left hand. When the optic nerve detects an asterisk in a tab, it tells the fingers Ctrl+Shift+S.

                            Software Zen: delete this;

                            1 Reply Last reply
                            0
                            • Mike HankeyM Mike Hankey

                              It's probably happened to a lot of us at one time and while I don't save every line of code I do commit frequently or recommended to be committed frequently can't remember which? :)

                              VS2010/Atmel Studio 6.1 ToDo Manager Extension Relax...We're all crazy it's not a competition!

                              J Offline
                              J Offline
                              JimmyRopes
                              wrote on last edited by
                              #14

                              Mike Hankey wrote:

                              do commit frequently or recommended to be committed frequently can't remember which

                              My favorite ex-wife wanted to have me committed but I fled and never looked back. :-D

                              The report of my death was an exaggeration - Mark Twain
                              Simply Elegant Designs JimmyRopes Designs
                              Think inside the box! ProActive Secure Systems
                              I'm on-line therefore I am. JimmyRopes

                              Mike HankeyM 1 Reply Last reply
                              0
                              • J JimmyRopes

                                Mike Hankey wrote:

                                do commit frequently or recommended to be committed frequently can't remember which

                                My favorite ex-wife wanted to have me committed but I fled and never looked back. :-D

                                The report of my death was an exaggeration - Mark Twain
                                Simply Elegant Designs JimmyRopes Designs
                                Think inside the box! ProActive Secure Systems
                                I'm on-line therefore I am. JimmyRopes

                                Mike HankeyM Offline
                                Mike HankeyM Offline
                                Mike Hankey
                                wrote on last edited by
                                #15

                                My ex needs to be committed! :) She goes through boy friends quite frequently and can't understand why?

                                VS2010/Atmel Studio 6.1 ToDo Manager Extension Relax...We're all crazy it's not a competition!

                                J 1 Reply Last reply
                                0
                                • Mike HankeyM Mike Hankey

                                  My ex needs to be committed! :) She goes through boy friends quite frequently and can't understand why?

                                  VS2010/Atmel Studio 6.1 ToDo Manager Extension Relax...We're all crazy it's not a competition!

                                  J Offline
                                  J Offline
                                  JimmyRopes
                                  wrote on last edited by
                                  #16

                                  Mike Hankey wrote:

                                  She goes through boy friends quite frequently and can't understand why?

                                  I can understand. I made a career out of going out with damaged women. Thank god for damaged women and alcohol, otherwise I would not have had sex in my lifetime. :-D

                                  The report of my death was an exaggeration - Mark Twain
                                  Simply Elegant Designs JimmyRopes Designs
                                  Think inside the box! ProActive Secure Systems
                                  I'm on-line therefore I am. JimmyRopes

                                  Mike HankeyM 1 Reply Last reply
                                  0
                                  • J JimmyRopes

                                    Mike Hankey wrote:

                                    She goes through boy friends quite frequently and can't understand why?

                                    I can understand. I made a career out of going out with damaged women. Thank god for damaged women and alcohol, otherwise I would not have had sex in my lifetime. :-D

                                    The report of my death was an exaggeration - Mark Twain
                                    Simply Elegant Designs JimmyRopes Designs
                                    Think inside the box! ProActive Secure Systems
                                    I'm on-line therefore I am. JimmyRopes

                                    Mike HankeyM Offline
                                    Mike HankeyM Offline
                                    Mike Hankey
                                    wrote on last edited by
                                    #17

                                    JimmyRopes wrote:

                                    Thank god for damaged women and alcohol, otherwise I would not have had sex in my lifetime.

                                    Amen brother!

                                    VS2010/Atmel Studio 6.1 ToDo Manager Extension Relax...We're all crazy it's not a competition!

                                    1 Reply Last reply
                                    0
                                    • H HobbyProggy

                                      Well i was working on a User Input Dialogue and nearly finished it after 2 hours of trying and designing it in visual Studio when suddenly the doubleclick on this form happend and i intuitively clicked on undo... Yep i didn't save anything in that time and undoing designerchanges is permanently :~ 2 hours of work done to it again X|

                                      if(this.signature != "") { MessageBox.Show("This is my signature: " + Environment.NewLine + signature); } else { MessageBox.Show("404-Signature not found"); }

                                      Sander RosselS Offline
                                      Sander RosselS Offline
                                      Sander Rossel
                                      wrote on last edited by
                                      #18

                                      Only two hours? Now you know what to do you'll have it re-made a lot faster. I once reverted code I had been working on for over a day. Of course I saved my work every few minutes, but source control can do that sort of stuff. Needless to say I wasn't to happy about it. A few hours later and I was back where I left off.

                                      It's an OO world.

                                      public class Sander : Lazy<Person>{
                                      public void DoWork(){ throw new NotImplementedException(); }
                                      }

                                      1 Reply Last reply
                                      0
                                      • G glennPattonWork3

                                        Mine is the realisation that the files you though were the latest save version committed everywhere are not when you check out the code the following day... the 'should not got out of bed moment' :rolleyes:

                                        C Offline
                                        C Offline
                                        Clodetta del Mar
                                        wrote on last edited by
                                        #19

                                        there´s only one Thing that could beat that one: things that worked on friday, won´t "pass" monday... :wtf: :wtf: :~:~:~ X| X| :mad: :doh: :doh: :doh: :doh: :doh: :doh: :doh: ;) when things go mad.... :suss: [edit] ok, after a short period/time of thinking of negative "Impacts", i must confess, the check in/check out experience is much worse.. (sry for my bad english, i had son glasses of gin beer...) [/edit] :thumbsup: ;) :cool:

                                        G 1 Reply Last reply
                                        0
                                        • C Clodetta del Mar

                                          there´s only one Thing that could beat that one: things that worked on friday, won´t "pass" monday... :wtf: :wtf: :~:~:~ X| X| :mad: :doh: :doh: :doh: :doh: :doh: :doh: :doh: ;) when things go mad.... :suss: [edit] ok, after a short period/time of thinking of negative "Impacts", i must confess, the check in/check out experience is much worse.. (sry for my bad english, i had son glasses of gin beer...) [/edit] :thumbsup: ;) :cool:

                                          G Offline
                                          G Offline
                                          glennPattonWork3
                                          wrote on last edited by
                                          #20

                                          Quote:

                                          of negative "Impacts", i must confess, the check in/check out experience is much worse..

                                          Too blooming right!, (btw: Your English seems better than the guy who sits opposite me, he is a native of this Isle who can trace his linage back many generations) ;P

                                          C 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