protected PrinterForm OnPreviewEvent(PrintType printType, string title = "") { var pf = new PrinterForm("Preview", PrinterForm.PrintMode.Preview, printType) { Title = title }; OpenDocument.Show(pf); return(pf); }
protected PrinterForm OnPreviewEvent(PrintType printType, string title = "") { var pf = new PrinterForm(Name, PrinterForm.PrintMode.Preview, printType) { Title = string.Concat(Properties.Resources.Preview, " ", title) }; OpenDocument.Show(pf); return(pf); }
protected PrinterForm OnPrintEvent(PrintType printType) { var pf = new PrinterForm("Print", PrinterForm.PrintMode.Print, printType); return(pf); }
protected virtual bool OnPrintDocument(string sender, PrinterForm pf) { return(true); }
protected PrinterForm OnPrintEvent(PrintType printType) { PrinterForm pf = new PrinterForm(Name, PrinterForm.PrintMode.Print, printType); return(pf); }