0
Reply

On transparent images in Chand's book

culligoola

culligoola

Oct 22 2004 5:05 AM
2k
Hello, In studying section 7.9 in the book 'Graphics programming with GDI+', I got a little bit confused. Listing 7.26 offers code to implement on the form-load event. However, the method there is a paint method and it cannot be implemented as such on a form-load event, which raises a method whose parameters are (object sender, System.EventArgs e), as opposed to the PaintEventArgs which come with a painting method. Moreover, the code as it is given in Listing 7.26, causes an infinite loop where the two images keep on getting drawn. Mr. Chand -- can you please respond on this? Regards, Yossi Lonke