making something Undo-able was how i found Rocky's CSLA
stuff..
http://www.lhotka.net/ArticleIndex.aspx?area=CSLA%20.NET
you can download his code to see how he implements undoable
objects that
internally maintain a full multi-level undo history...look
at the
"UndoableBase" class.
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM]On Behalf Of
Alejandro A. Costantino
Sent: Friday, April 28, 2006 9:26 AM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] IUndoable
Thank you very much
On 4/28/06, Vince P <vincep1974 comcast.net> wrote:
>
> You might want to search for the design pattern
"Command".. Undo is part
> of
> the pattern.
>
> --------------------
> "The final goal of the revolution is to create
global Islamic rule and a
> regime of law to be led by the Imam Mahdi". -
commandant of Iran's elite
> Islamic Revolutionary Guards Corps, Major General Yahya
Rahim Safavi
>
>
> > -----Original Message-----
> > From: Discussion forum for developers using
Windows Forms to
> > build apps and controls
> > [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM] On Behalf Of
> > Alejandro A. Costantino
> > Sent: Friday, April 28, 2006 7:26 AM
> > To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
> > Subject: [DOTNET-WINFORMS] IUndoable
> >
> > Hello,
> > I'm looking for some advice.
> > I did a winfom which implements IUndoable which
defines the
> > Undo method.
> >
> > I'd like to know some good practice to do it,
because the
> > solution I found does not like me.
> > If someone has some interesting link or some good
practice
> > about this it'll be appreciated.
> >
> > Thanks,
> >
> > *Alejandro Costantino*
>
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/326 - Release
Date: 4/27/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/326 - Release
Date: 4/27/2006
|