Graphics in C#
-
Hi! I want to do the following: All seconds I want to delete an existing picture and do Graphics.DrawImage with a new picture. So my problem is: I can't delet the old picture from Graphics and so no changes are shown on my screen. Does anybody know help? thanks Josi
-
Hi! I want to do the following: All seconds I want to delete an existing picture and do Graphics.DrawImage with a new picture. So my problem is: I can't delet the old picture from Graphics and so no changes are shown on my screen. Does anybody know help? thanks Josi
I have no idea what you mean by 'delete the old picture from Graphics'. Calling Invalidate() forces a paint event, which will redraw the form. How are you drawing/storing the image ?
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Hi! I want to do the following: All seconds I want to delete an existing picture and do Graphics.DrawImage with a new picture. So my problem is: I can't delet the old picture from Graphics and so no changes are shown on my screen. Does anybody know help? thanks Josi