/// <summary> /// Gets a PrintDocument to work with the standard Windows print dialogs</summary> /// <returns>PrintDocument to work with the standard Windows print dialogs</returns> public PrintDocument GetPrintDocument() { // static allocation, to remember print settings if (s_printDocument == null) { s_printDocument = new TimelinePrintDocument(); } s_printDocument.SetControl(TimelineControl); return(s_printDocument); }
/// <summary> /// Gets a PrintDocument to work with the standard Windows print dialogs</summary> /// <returns>PrintDocument to work with the standard Windows print dialogs</returns> public PrintDocument GetPrintDocument() { // static allocation, to remember print settings if (s_printDocument == null) s_printDocument = new TimelinePrintDocument(); s_printDocument.SetControl(TimelineControl); return s_printDocument; }