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. Create Undo functionnality.

Create Undo functionnality.

Scheduled Pinned Locked Moved C#
csharpc++comjsonquestion
2 Posts 2 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
    HAHAHA_NEXT
    wrote on last edited by
    #1

    Hello. I have red Code project articles on implementing Undo and have come to the conlusion that the best and easiest way for doing it is Undo and Redo the "Easy" Way and have found it very interesting. The question is. Can i do it in C# and if yes, does naybody have some premade code. Only Absolute Power and Absolutely No power matters. The rest is slavery.

    R 1 Reply Last reply
    0
    • H HAHAHA_NEXT

      Hello. I have red Code project articles on implementing Undo and have come to the conlusion that the best and easiest way for doing it is Undo and Redo the "Easy" Way and have found it very interesting. The question is. Can i do it in C# and if yes, does naybody have some premade code. Only Absolute Power and Absolutely No power matters. The rest is slavery.

      R Offline
      R Offline
      Roman Rodov
      wrote on last edited by
      #2

      It is an interesting concept, but probably not so very well suited for the .NET world with its own memory manager and a garbage collector, also the word "easy" in the article name is in quotes for a purpose. You will be much more better of with an implementation of a "Command" OO design pattern, which will allow your app to support the same functionality but much more elegantly.

      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