Skip to content

Moving graphics

Gordon

Asked Nov 29, 2008, 7:48 AM EST1 answer
Share
LinkedInX
What is the code for moving graphics created at run time.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Bechir Bejaoui
    +1
    you can simply wrapp your graphics is a class that implement the IDisposable interface

    then you implement the Dispose method of the IDisposable interface as follow

    public void Dispose()
     {
                GC.ReRegisterForFinalize(this);
     }
    +1