2
0

PrintController.cs 672 B

12345678910111213141516171819202122232425262728
  1. //
  2. // System.Drawing.PrintController.cs
  3. //
  4. // Author:
  5. // Dennis Hayes ([email protected])
  6. //
  7. // (C) 2002 Ximian, Inc
  8. //
  9. using System;
  10. namespace System.Drawing.Printing
  11. {
  12. /// <summary>
  13. /// Summary description for PrintController.
  14. /// </summary>
  15. public abstract class PrintController
  16. {
  17. public virtual void OnEndPage(PrintDocument document, PrintPageEventArgs e){
  18. }
  19. public virtual void OnStartPrint(PrintDocument document, PrintEventArgs e){
  20. }
  21. public virtual void OnEndPrint(PrintDocument document, PrintEventArgs e){
  22. }
  23. public virtual Graphics OnStartPage(PrintDocument document, PrintPageEventArgs e){
  24. throw new NotImplementedException();
  25. }
  26. }
  27. }