G
Guest
Every article or piece of information about printing a Windows Form in .NET suggests that I have to
draw each control myself
But when a Windows Form is refreshed the Form::OnPaint(e) method is called, where e is of type PaintEventArgs
The OnPaint() base method ***DRAWS*** the controls and their contents into the graphics context (e.Graphics
So it seems to be very silly and a downright waste of time that I have to basically reverse engineer th
OnPaint() method to draw a form into the print handler's graphic context
Is there no way to just print what is already drawn by the OnPaint() method
Or is the necessary API purposely withheld by Microsoft
Thanks for any help here
draw each control myself
But when a Windows Form is refreshed the Form::OnPaint(e) method is called, where e is of type PaintEventArgs
The OnPaint() base method ***DRAWS*** the controls and their contents into the graphics context (e.Graphics
So it seems to be very silly and a downright waste of time that I have to basically reverse engineer th
OnPaint() method to draw a form into the print handler's graphic context
Is there no way to just print what is already drawn by the OnPaint() method
Or is the necessary API purposely withheld by Microsoft
Thanks for any help here