Can any one shine some light on this problem that I Have. Am currently doing an assignment and I have to create a program that prints an ellipse on the page in 5 second intervals using the following signature: 'private void MyHandler(object sender, ElapsedEventArgs args)' This does not make sense to me as I thought you have to use the (object sender, Printpageevent args) signature to do the actual printing. However, the above signature is what ive got to use. Maybe am missing something and any advice would be of grat help!!!!!!!!
Can you explain the problem in a bit better way as to what you want. It looks like you have a function name and want the body of it without specifying what is the input each is to be used for. I guess if its a Home work you can ask the teacher or whoever has given the function signature as to what is sender and args behave actually or expected to behave.
From what ive learn't I know that I can write a message on the screen at 5 second intervals by using 'private void MyHandler(object sender, ElapsedEventArgs args)' as the signature. Now I have to do a program that prints an ellipse to the page also at 5 second intervals and I have to use the same signature as above. Am not sure how to use this signature with the print arguments. I hope this is clearer.